| /TwlSDK-5.1.0/build/libraries/snd/common/src/ |
| D | snd_command.c | 113 SNDCommand *command; in SND_CommandInit() local 150 command = SND_AllocCommand(SND_COMMAND_BLOCK); in SND_CommandInit() 151 if (command != NULL) in SND_CommandInit() 153 command->id = SND_COMMAND_SHARED_WORK; in SND_CommandInit() 154 command->arg[0] = (u32)SNDi_SharedWork; in SND_CommandInit() 156 SND_PushCommand(command); in SND_CommandInit() 247 SNDCommand *command; in SND_AllocCommand() local 252 command = AllocCommand(); in SND_AllocCommand() 253 if (command != NULL) in SND_AllocCommand() 254 return command; in SND_AllocCommand() [all …]
|
| /TwlSDK-5.1.0/build/libraries/dsp/common/src/ |
| D | dsp_util.c | 180 DSPAudioDriverCommand command; in DSPi_PlaySoundEx() local 181 command.ctrl = DSP_32BIT_TO_DSP(ctrl); in DSPi_PlaySoundEx() 182 command.buf = DSP_32BIT_TO_DSP(src); in DSPi_PlaySoundEx() 183 command.len = DSP_32BIT_TO_DSP(len); in DSPi_PlaySoundEx() 184 command.opt = DSP_32BIT_TO_DSP(0); in DSPi_PlaySoundEx() 185 DSP_WriteProcessPipe(context, DSP_PIPE_AUDIO, &command, sizeof(command)); in DSPi_PlaySoundEx() 397 DSPAudioDriverCommand command; in DSPi_StopSoundCore() local 398 command.ctrl = DSP_32BIT_TO_DSP(ctrl); in DSPi_StopSoundCore() 399 command.buf = DSP_32BIT_TO_DSP(0); in DSPi_StopSoundCore() 400 command.len = DSP_32BIT_TO_DSP(0); in DSPi_StopSoundCore() [all …]
|
| /TwlSDK-5.1.0/build/libraries/os/common/src/ |
| D | os_pxi.c | 88 u16 command; in OSi_CommonCallback() local 91 command = (u16)((data & OS_PXI_COMMAND_MASK) >> OS_PXI_COMMAND_SHIFT); in OSi_CommonCallback() 97 if (command == OS_PXI_COMMAND_RESET) in OSi_CommonCallback() 103 else if (command == OS_PXI_COMMAND_TERMINATE) in OSi_CommonCallback() 119 if (command == OS_PXI_COMMAND_RESET) in OSi_CommonCallback() 125 else if (command == OS_PXI_COMMAND_TERMINATE) in OSi_CommonCallback()
|
| /TwlSDK-5.1.0/build/libraries/dsp/ARM9.TWL/src/ |
| D | dsp_g711.c | 70 DSPAudioCodecCommand command; in DSPi_SendCodecG711() local 71 command.ctrl = DSP_32BIT_TO_DSP(flags); in DSPi_SendCodecG711() 72 command.src = DSP_32BIT_TO_DSP((DSPAddrInARM)src); in DSPi_SendCodecG711() 73 command.dst = DSP_32BIT_TO_DSP((DSPAddrInARM)dst); in DSPi_SendCodecG711() 74 command.len = DSP_32BIT_TO_DSP(len); in DSPi_SendCodecG711() 75 DSP_WriteProcessPipe(DSPiProcessG711, DSP_PIPE_BINARY, &command, sizeof(command)); in DSPi_SendCodecG711()
|
| D | dsp_graphics.c | 170 u16 command; in DSPi_ConvertYuvToRgbCore() local 198 command = DSP_G_FUNCID_YUV2RGB; in DSPi_ConvertYuvToRgbCore() 199 DSP_SendData(DSP_GRAPHICS_COM_REGISTER, command); in DSPi_ConvertYuvToRgbCore() 246 u16 command; in DSPi_ScalingCore() local 273 command = DSP_G_FUNCID_SCALING; in DSPi_ScalingCore() 274 DSP_SendData(DSP_GRAPHICS_COM_REGISTER, command); in DSPi_ScalingCore() 324 u16 command; in DSPi_ScalingFxCore() local 352 command = DSP_G_FUNCID_SCALING; in DSPi_ScalingFxCore() 353 DSP_SendData(DSP_GRAPHICS_COM_REGISTER, command); in DSPi_ScalingFxCore()
|
| /TwlSDK-5.1.0/build/libraries/wbt/common/src/ |
| D | wbt_context.c | 380 switch (current->command) in WBTi_SwitchNextCommand() 410 current->command = WBT_CMD_REQ_NONE; in WBTi_SwitchNextCommand() 414 retval = (current->command != WBT_CMD_REQ_NONE); in WBTi_SwitchNextCommand() 459 cmd->command = WBT_CMD_SYSTEM_CALLBACK; in WBTi_NotifySystemCallback() 483 MI_StoreLE8(&format->header.command, cmd); in WBTi_MakeCommandHeader() 504 int WBTi_TryCreateResponse(WBTContext * work, int aid, void *buf, int size, int command, in WBTi_TryCreateResponse() argument 511 if (command == WBT_CMD_REQ_SYNC) in WBTi_TryCreateResponse() 522 else if (command == WBT_CMD_REQ_GET_BLOCK_DONE) in WBTi_TryCreateResponse() 533 else if (command == WBT_CMD_REQ_USER_DATA) in WBTi_TryCreateResponse() 540 else if (command == WBT_CMD_REQ_GET_BLOCK) in WBTi_TryCreateResponse() [all …]
|
| D | wbt_api.c | 366 list->command.callback = callback; in WBT_RequestSync() 393 list->command.callback = callback; in WBT_GetBlockInfo() 422 list->command.callback = callback; in WBT_GetBlock() 447 list->command.callback = callback; in WBT_PutUserData()
|
| /TwlSDK-5.1.0/build/libraries/snd/ARM9.TWL/src/ |
| D | sndex.c | 43 u8 command; member 93 static BOOL SendCommand (u8 command, u8 param); 94 static BOOL SendCommandEx (u8 command, u16 param); 97 static void SetSndexWork (SNDEXCallback cb, void* cbarg, void* dst, u8 command); 191 if (FALSE == SendCommand(sndexWork.command, 0)) in SNDEXi_GetMuteAsync() 268 if (FALSE == SendCommand(sndexWork.command, 0)) in SNDEXi_GetI2SFrequencyAsync() 346 if (FALSE == SendCommand(sndexWork.command, 0)) in SNDEXi_GetDSPMixRateAsync() 426 if (FALSE == SendCommand(sndexWork.command, in SNDEXi_GetVolumeAsync() 590 if (FALSE == SendCommand(sndexWork.command, 0)) in SNDEXi_GetDeviceAsync() 670 if (FALSE == SendCommand(sndexWork.command, (u8)mute)) in SNDEXi_SetMuteAsync() [all …]
|
| /TwlSDK-5.1.0/include/nitro/wbt/ |
| D | context.h | 101 PLATFORM_LE8 command; member 154 WBTCommand command; member 194 WBTCommandList *command; member 430 return work->command; in WBT_GetCurrentCommandList() 445 WBTCommandList *list = work->command; in WBT_GetCurrentCommand() 446 return list ? &list->command : NULL; in WBT_GetCurrentCommand() 531 list->command.command = WBT_CMD_REQ_SYNC; in WBT_CreateCommandSYNC() 552 WBTGetBlockCallback *arg = &list->command.get; in WBT_CreateCommandINFO() 563 list->command.command = WBT_CMD_REQ_GET_BLOCKINFO; in WBT_CreateCommandINFO() 588 WBTGetBlockCallback *arg = &list->command.get; in WBT_CreateCommandGET() [all …]
|
| /TwlSDK-5.1.0/build/libraries/rtc/ARM9.TWL/src/ |
| D | internal_ex.c | 25 static BOOL RtcexSendPxiCommand(u32 command); 157 static BOOL RtcexSendPxiCommand(u32 command) in RtcexSendPxiCommand() argument 160 ((command << RTC_PXI_COMMAND_SHIFT) & RTC_PXI_COMMAND_MASK), 0)) in RtcexSendPxiCommand()
|
| /TwlSDK-5.1.0/build/libraries/wfs/common/src/ |
| D | wfs_archive.c | 81 static FSResult WFSi_RomArchiveProc(FSFile *file, FSCommandType command) in WFSi_RomArchiveProc() argument 84 switch (command) in WFSi_RomArchiveProc() 129 static FSResult WFSi_EmptyArchiveProc(FSFile *file, FSCommandType command) in WFSi_EmptyArchiveProc() argument 133 if ((command != FS_COMMAND_CLOSEFILE) && in WFSi_EmptyArchiveProc() 134 ((command < FS_COMMAND_STATUS_BEGIN) || (command >= FS_COMMAND_STATUS_END))) in WFSi_EmptyArchiveProc()
|
| /TwlSDK-5.1.0/build/libraries/fs/common/src/ |
| D | fs_archive.c | 75 static BOOL FSi_IsEventCommand(FSCommandType command) in FSi_IsEventCommand() argument 78 ((command == FS_COMMAND_ACTIVATE) || in FSi_IsEventCommand() 79 (command == FS_COMMAND_IDLE) || in FSi_IsEventCommand() 80 (command == FS_COMMAND_SUSPEND) || in FSi_IsEventCommand() 81 (command == FS_COMMAND_RESUME) || in FSi_IsEventCommand() 82 (command == FS_COMMAND_MOUNT) || in FSi_IsEventCommand() 83 (command == FS_COMMAND_UNMOUNT) || in FSi_IsEventCommand() 84 (command == FS_COMMAND_INVALID)); in FSi_IsEventCommand() 117 FSCommandType command = FSi_GetCurrentCommand(file); in FSi_EndCommand() local 118 if (!FSi_IsEventCommand(command)) in FSi_EndCommand() [all …]
|
| /TwlSDK-5.1.0/build/libraries/spi/ARM9/src/ |
| D | pm.c | 64 inline u32 PMi_MakeData1(u32 bit, u32 seq, u32 command, u32 data) in PMi_MakeData1() argument 66 return (bit) | ((seq) << SPI_PXI_INDEX_SHIFT) | ((command) << 8) | ((data) & 0xff); in PMi_MakeData1() 283 u16 command; in PMi_CommonCallback() local 287 command = (u16)((data & SPI_PXI_RESULT_COMMAND_MASK) >> SPI_PXI_RESULT_COMMAND_SHIFT); in PMi_CommonCallback() 293 switch ( command ) in PMi_CommonCallback() 308 switch( command ) in PMi_CommonCallback() 517 u32 command; in PMi_SetLEDAsync() local 522 command = PM_UTIL_LED_ON; in PMi_SetLEDAsync() 525 command = PM_UTIL_LED_BLINK_HIGH_SPEED; in PMi_SetLEDAsync() 528 command = PM_UTIL_LED_BLINK_LOW_SPEED; in PMi_SetLEDAsync() [all …]
|
| D | tp.c | 223 static inline void TPi_ErrorAtPxi(TPRequestCommand command) in TPi_ErrorAtPxi() argument 226 tpState.err_flg |= (1 << command); in TPi_ErrorAtPxi() 230 (tpState.callback) (command, TP_RESULT_PXI_BUSY, 0); in TPi_ErrorAtPxi() 259 u16 command; in TPi_TpCallback() local 262 command = (u16)((result & 0x7f00) >> 8); in TPi_TpCallback() 267 TPi_ErrorAtPxi((TPRequestCommand)command); in TPi_TpCallback() 271 if (command == SPI_PXI_COMMAND_TP_AUTO_SAMPLING) in TPi_TpCallback() 286 (tpState.callback) ((TPRequestCommand)command, TP_RESULT_SUCCESS, (u8)tpState.index); in TPi_TpCallback() 302 switch (command) in TPi_TpCallback() 320 tpState.command_flg &= ~(1 << command); in TPi_TpCallback() [all …]
|
| /TwlSDK-5.1.0/build/libraries/rtc/ARM9/src/ |
| D | internal.c | 25 static BOOL RtcSendPxiCommand(u32 command); 411 static BOOL RtcSendPxiCommand(u32 command) in RtcSendPxiCommand() argument 414 ((command << RTC_PXI_COMMAND_SHIFT) & RTC_PXI_COMMAND_MASK), 0)) in RtcSendPxiCommand()
|
| /TwlSDK-5.1.0/build/libraries/scfg/ARM9.TWL/src/ |
| D | scfg_proc.c | 35 static void SCFGi_SendPxiData(u32 command, u16 ordinal, u16 data); 142 u16 command = (u16)( (pxiData & SCFG_PXI_COMMAND_MASK) >> SCFG_PXI_COMMAND_SHIFT ); in SCFGi_CommonCallback() local 146 switch( command ) in SCFGi_CommonCallback() 192 static void SCFGi_SendPxiData(u32 command, u16 ordinal, u16 data) in SCFGi_SendPxiData() argument 195 (u32)(((command << SCFG_PXI_COMMAND_SHIFT) & SCFG_PXI_COMMAND_MASK) | in SCFGi_SendPxiData()
|
| /TwlSDK-5.1.0/build/libraries/card/ARM9/src/ |
| D | card_pullOut.c | 73 u32 command = data & CARD_PXI_COMMAND_MASK; in CARDi_PulledOutCallback() local 76 if (command == CARD_PXI_COMMAND_PULLED_OUT) in CARDi_PulledOutCallback() 98 else if (command == CARD_PXI_COMMAND_RESET_SLOT) in CARDi_PulledOutCallback()
|
| /TwlSDK-5.1.0/build/libraries/snd/ARM9/src/ |
| D | snd_interface.c | 36 static void PushCommand_impl(SNDCommandID command, u32 arg0, u32 arg1, u32 arg2, u32 arg3); 415 SNDCommand *command = SND_AllocCommand(SND_COMMAND_BLOCK); in PushCommand_impl() local 416 if (command == NULL) in PushCommand_impl() 419 command->id = id; in PushCommand_impl() 420 command->arg[0] = arg0; in PushCommand_impl() 421 command->arg[1] = arg1; in PushCommand_impl() 422 command->arg[2] = arg2; in PushCommand_impl() 423 command->arg[3] = arg3; in PushCommand_impl() 425 SND_PushCommand(command); in PushCommand_impl()
|
| /TwlSDK-5.1.0/build/libraries/camera/ARM9.TWL/src/ |
| D | camera_api.c | 128 CAMERAPxiCommand command; // Command type member 173 static BOOL CameraSendPxiCommand(CAMERAPxiCommand command, u8 size, u8 data); 878 const CAMERAPxiCommand command = CAMERA_PXI_COMMAND_INIT; in CAMERA_I2CInitAsyncCore() local 914 …return CameraSendPxiCommand(command, _size, (u8)camera) ? CAMERA_RESULT_SUCCESS : CAMERA_RESULT_SE… in CAMERA_I2CInitAsyncCore() 951 const CAMERAPxiCommand command = CAMERA_PXI_COMMAND_ACTIVATE; in CAMERA_I2CActivateAsyncCore() local 1003 …return CameraSendPxiCommand(command, _size, (u8)camera) ? CAMERA_RESULT_SUCCESS : CAMERA_RESULT_SE… in CAMERA_I2CActivateAsyncCore() 1041 const CAMERAPxiCommand command = CAMERA_PXI_COMMAND_CONTEXT_SWITCH; in CAMERA_I2CContextSwitchAsyncCore() local 1096 if (CameraSendPxiCommand(command, _size, data[0]) == FALSE) in CAMERA_I2CContextSwitchAsyncCore() 1143 const CAMERAPxiCommand command = CAMERA_PXI_COMMAND_SIZE; in CAMERA_I2CSizeExAsyncCore() local 1213 if (CameraSendPxiCommand(command, _size, data[0]) == FALSE) in CAMERA_I2CSizeExAsyncCore() [all …]
|
| /TwlSDK-5.1.0/build/demos/spi/spiMonkey/src/ |
| D | monkey.c | 30 static void MonkeyTpCallback(TPRequestCommand command, TPRequestResult result, u16 index); 259 static void MonkeyTpCallback(TPRequestCommand command, TPRequestResult result, u16 index) in MonkeyTpCallback() argument 261 #pragma unused( command , index ) in MonkeyTpCallback()
|
| /TwlSDK-5.1.0/build/demos/wm/wep-1/include/ |
| D | main.h | 45 …unsigned int command:3; // Instruction (used for switching the game states at once, etc… member
|
| /TwlSDK-5.1.0/build/libraries/card/common/include/ |
| D | card_rom.h | 40 u32 command; member
|
| /TwlSDK-5.1.0/build/demos/wm/dataShare-Model/include/ |
| D | main.h | 45 …unsigned int command:3; // Instruction (used for switching the game states at once, etc… member
|
| /TwlSDK-5.1.0/include/nitro/spi/ARM9/ |
| D | tp.h | 113 typedef void (*TPRecvCallback) (TPRequestCommand command, TPRequestResult result, u16 index); 133 u32 TP_CheckError(TPRequestCommandFlag command);
|
| /TwlSDK-5.1.0/include/nitro/snd/common/ |
| D | command.h | 99 void SND_PushCommand(struct SNDCommand *command);
|