| /TwlSDK-5.4/build/libraries/mb/common/src/ |
| D | mb_common.c | 39 void MBi_BlockHeaderBegin(u8 type, u32 *sendbuf) in MBi_BlockHeaderBegin() argument 42 p[0] = type; /* type is common to the parent and child. */ in MBi_BlockHeaderBegin() 127 void MBi_comm_type_output(u16 type) in MBi_comm_type_output() argument 147 if (type >= MB_TYPE_STRING_NUM) in MBi_comm_type_output() 152 MB_OUTPUT("TYPE: %s\n", mb_type_string[type]); in MBi_comm_type_output() 155 void MBi_comm_wmevent_output(u16 type, void *arg) in MBi_comm_wmevent_output() argument 207 if (type == MB_CALLBACK_API_ERROR) in MBi_comm_wmevent_output() 208 type = MB_CB_STRING_NUM; in MBi_comm_wmevent_output() 209 else if (type == MB_CALLBACK_ERROR) in MBi_comm_wmevent_output() 210 type = MB_CB_STRING_NUM + 1; in MBi_comm_wmevent_output() [all …]
|
| D | mb_block.c | 130 *ptr++ = hdr->type; in MBi_MakeParentSendBuffer() 132 switch (hdr->type) in MBi_MakeParentSendBuffer() 175 hdr->type = *ptr++; in MBi_SetRecvBufferFromChild() 177 switch (hdr->type) in MBi_SetRecvBufferFromChild() 305 *pbuf++ = hdr->type; in MBi_MakeChildSendBuffer() 306 switch (hdr->type) in MBi_MakeChildSendBuffer() 382 hdr->type = *recvbuf++; in MBi_SetRecvBufferFromParent() 384 switch (hdr->type) in MBi_SetRecvBufferFromParent()
|
| D | mb_fake_child.c | 92 static void MBFi_WMCallback(u16 type, void *arg); 98 static void MBFi_PrintMBCallbackType(u16 type); 99 static void MBFi_PrintMBCommCallbacyType(u16 type); 889 static void MBFi_WMCallback(u16 type, void *arg) in MBFi_WMCallback() argument 893 switch (type) in MBFi_WMCallback() 1004 switch (hd.type) // State transition depending on receive block type in MBFi_CommChildRecvData() 1099 hd.type = MB_COMM_TYPE_CHILD_FILEREQ; in MBFi_CommChildSendData() 1112 hd.type = MB_COMM_TYPE_CHILD_ACCEPT_FILEINFO; in MBFi_CommChildSendData() 1122 hd.type = MB_COMM_TYPE_CHILD_STOPREQ; in MBFi_CommChildSendData() 1128 hd.type = MB_COMM_TYPE_CHILD_BOOTREQ_ACCEPTED; in MBFi_CommChildSendData() [all …]
|
| D | mb_child.c | 119 hd.type = MB_COMM_TYPE_CHILD_FILEREQ; in MBi_CommRequestFile() 282 void MBi_CommChildCallback(u16 type, void *arg) in MBi_CommChildCallback() argument 284 MB_COMM_WMEVENT_OUTPUT(type, arg); in MBi_CommChildCallback() 286 switch (type) in MBi_CommChildCallback() 442 (*pCwork->child_callback) ((u32)(MB_COMM_CSTATE_WM_EVENT | type), arg); in MBi_CommChildCallback() 446 if (type == MB_CALLBACK_END_COMPLETE) in MBi_CommChildCallback() 479 MB_COMM_TYPE_OUTPUT(hd.type); in MBi_CommChildRecvData() 481 switch (hd.type) // State transition depending on receive block type in MBi_CommChildRecvData() 653 hd.type = MB_COMM_TYPE_DUMMY; in MBi_CommChildSendData() 671 hd.type = MB_COMM_TYPE_CHILD_ACCEPT_FILEINFO; in MBi_CommChildSendData() [all …]
|
| /TwlSDK-5.4/build/libraries/ctrdg/ARM9/src/ |
| D | ctrdg_backup.c | 66 u16 CTRDG_IdentifyAgbBackup(CTRDGBackupType type) in CTRDG_IdentifyAgbBackup() argument 77 if (type == CTRDG_BACKUP_TYPE_FLASH_512K || type == CTRDG_BACKUP_TYPE_FLASH_1M) in CTRDG_IdentifyAgbBackup() 91 if (type == CTRDG_BACKUP_TYPE_FLASH_512K) in CTRDG_IdentifyAgbBackup() 93 if (type == CTRDG_BACKUP_TYPE_FLASH_1M) in CTRDG_IdentifyAgbBackup() 102 while ((*flp)->type.makerID != 0x00) in CTRDG_IdentifyAgbBackup() 104 if ((flashID & 0xff) == *(u16 *)&((*flp)->type.makerID)) in CTRDG_IdentifyAgbBackup() 119 AgbFlash = &(*flp)->type; in CTRDG_IdentifyAgbBackup() 121 else if (type == CTRDG_BACKUP_TYPE_SRAM) in CTRDG_IdentifyAgbBackup()
|
| /TwlSDK-5.4/build/libraries/os/common/src/ |
| D | os_spinLock.c | 82 void OSi_SyncWithOtherProc( int type, void* syncBuf ) in OSi_SyncWithOtherProc() argument 89 if ( type == OSi_SYNCTYPE_SENDER ) in OSi_SyncWithOtherProc() 210 u32 type = OS_GetConsoleType(); in OS_InitLock() local 211 if ( type & OS_CONSOLE_TWLDEBUGGER ) in OS_InitLock() 215 else if ( type & (OS_CONSOLE_ISDEBUGGER | OS_CONSOLE_NITRO) ) in OS_InitLock() 243 u32 type = OSi_DetectDebugger(); in OS_InitLock() local 244 if ( type & OS_CONSOLE_TWLDEBUGGER ) in OS_InitLock() 248 else if ( type & OS_CONSOLE_ISDEBUGGER ) in OS_InitLock() 286 u32 type = OSi_DetectDebugger(); in OS_InitLock() local 287 if ( type & OS_CONSOLE_TWLDEBUGGER ) in OS_InitLock() [all …]
|
| /TwlSDK-5.4/build/demos.TWL/dsp/snd-mic/src/ |
| D | main.c | 63 static void NormalizeRingBuffer(void *dst, MICSamplingType type, const void *buffer, int position) in NormalizeRingBuffer() argument 68 switch (type) in NormalizeRingBuffer() 106 static void DrawWaveGraph(MICSamplingType type, GXRgb color, const void *buffer) in DrawWaveGraph() argument 111 switch (type) in DrawWaveGraph() 204 gMicAutoParam.type = MIC_SAMPLING_TYPE_12BIT; in TwlMain() 326 MICSamplingType type = MIC_SAMPLING_TYPE_SIGNED_12BIT; in TwlMain() local 327 NormalizeRingBuffer(tmp, type, src, dsp - src); in TwlMain() 328 DrawWaveGraph(type, GX_RGB(31, 31, 31), tmp); in TwlMain() 335 MICSamplingType type = gMicAutoParam.type; in TwlMain() local 336 NormalizeRingBuffer(tmp, type, src, mic - src); in TwlMain() [all …]
|
| /TwlSDK-5.4/include/nitro/os/common/ |
| D | mutex.h | 72 u32 type = (u32)(mutex->count & OSi_MUTEX_TYPE_MASK); in OS_IncreaseMutexCount() local 74 mutex->count = (s32)( type | (mutex->count & OSi_MUTEX_COUNT_MASK) ); in OS_IncreaseMutexCount() 78 u32 type = (u32)(mutex->count & OSi_MUTEX_TYPE_MASK); in OS_DecreaseMutexCount() local 80 mutex->count = (s32)( type | (mutex->count & OSi_MUTEX_COUNT_MASK) ); in OS_DecreaseMutexCount() 82 static inline void OS_SetMutexType( OSMutex* mutex, u32 type ) in OS_SetMutexType() argument 84 mutex->count = (s32)( type | (mutex->count & OSi_MUTEX_COUNT_MASK) ); in OS_SetMutexType()
|
| /TwlSDK-5.4/build/tools/loadrun/ |
| D | isd_api.c | 58 #define _declDllFunc(type,name) (NITROTOOLAPI_##type)GetProcAddress(ISNTD_DllInstance, NITRO_FUNC_#… argument 167 deviceList[n].type = ISNTD_DEVICE_NONE; in ISNTD_GetDeviceList() 178 p->type = ISNTD_DEVICE_CGB_EMULATOR_USB; in ISNTD_GetDeviceList() 183 p->type = ISNTD_DEVICE_CGB_EMULATOR_SCSI; in ISNTD_GetDeviceList() 189 p->type = ISNTD_DEVICE_IS_NITRO_EMULATOR; in ISNTD_GetDeviceList() 194 p->type = ISNTD_DEVICE_IS_NITRO_UIC; in ISNTD_GetDeviceList() 199 p->type = ISNTD_DEVICE_UNKNOWN; in ISNTD_GetDeviceList()
|
| /TwlSDK-5.4/build/tools/makelcf/ |
| D | spec.y | 106 %type <string> gFILENAME 107 %type <object> gOBJECTNAME 177 if ( !StaticAddObject( $2.string, $2.type ) ) YYABORT; 196 if ( !StaticAddLibrary( $2.string, $2.type ) ) YYABORT; 297 if ( !OverlayAddObject( $2.string, $2.type ) ) YYABORT; 315 if ( !OverlayAddLibrary( $2.string, $2.type ) ) YYABORT; 432 $$.type = OBJTYPE_FILE; 437 $$.type = OBJTYPE_STAR; 442 $$.type = OBJTYPE_GROUP; 447 $$.type = OBJTYPE_OBJECT;
|
| /TwlSDK-5.4/build/tools/loadrun.TWL/ |
| D | isd_api.c | 85 #define _declDllFunc(type,name) (ISD_##type)GetProcAddress(ISTD_DllInstance, ISD_FUNC_##name) argument 192 deviceList[n].type = ISTD_DEVICE_NONE; in ISTD_GetDeviceList() 203 p->type = ISTD_DEVICE_IS_TWL_EMULATOR; in ISTD_GetDeviceList() 207 p->type = ISTD_DEVICE_IS_TWL_DEBUGGER; in ISTD_GetDeviceList() 211 p->type = ISTD_DEVICE_UNKNOWN; in ISTD_GetDeviceList()
|
| /TwlSDK-5.4/build/tools/makelcf.TWL/ |
| D | spec.y | 66 %type <string> gFILENAME 67 %type <object> gOBJECTNAME 139 if ( !StaticAddObject( $2.string, $2.type ) ) YYABORT; 158 if ( !StaticAddLibrary( $2.string, $2.type ) ) YYABORT; 259 if ( !OverlayAddObject( $2.string, $2.type ) ) YYABORT; 277 if ( !OverlayAddLibrary( $2.string, $2.type ) ) YYABORT; 481 $$.type = OBJTYPE_FILE; 486 $$.type = OBJTYPE_STAR; 491 $$.type = OBJTYPE_GROUP; 496 $$.type = OBJTYPE_OBJECT;
|
| /TwlSDK-5.4/build/demos/spi/mic-2/src/ |
| D | main.c | 80 static void SetDrawData(void *address, MICSamplingType type); 101 static void OutputSampleWave(void *dat, MICSamplingType type); 137 static void OutputSampleWave(void *dat, MICSamplingType type) in OutputSampleWave() argument 147 switch (type) in OutputSampleWave() 274 gMicAutoParam.type = MIC_SAMPLING_TYPE_12BIT; in NitroMain() 364 if (gMicAutoParam.type == MIC_SAMPLING_TYPE_8BIT) in NitroMain() 366 gMicAutoParam.type = MIC_SAMPLING_TYPE_12BIT; in NitroMain() 370 gMicAutoParam.type = MIC_SAMPLING_TYPE_8BIT; in NitroMain() 430 OutputSampleWave(MIC_GetLastSamplingAddress(), gMicAutoParam.type); in NitroMain() 435 SetDrawData(MIC_GetLastSamplingAddress(), gMicAutoParam.type); in NitroMain() [all …]
|
| /TwlSDK-5.4/build/demos/spi/mic-1/src/ |
| D | main.c | 70 static void SetDrawData(void *address, MICSamplingType type); 142 gMicAutoParam.type = MIC_SAMPLING_TYPE_8BIT; in NitroMain() 189 gMicAutoParam.type = (MICSamplingType)((gMicAutoParam.type + in NitroMain() 233 SetDrawData(MIC_GetLastSamplingAddress(), gMicAutoParam.type); in NitroMain() 308 if ((gMicAutoParam.type == MIC_SAMPLING_TYPE_SIGNED_8BIT) || in Draw3D() 309 (gMicAutoParam.type == MIC_SAMPLING_TYPE_SIGNED_12BIT) || in Draw3D() 310 (gMicAutoParam.type == MIC_SAMPLING_TYPE_SIGNED_12BIT_FILTER_OFF)) in Draw3D() 442 static void SetDrawData(void *address, MICSamplingType type) in SetDrawData() argument 454 switch (type) in SetDrawData() 527 switch (gMicAutoParam.type) in PrintfVariableData()
|
| /TwlSDK-5.4/build/demos.TWL/spi/mic-4/src/ |
| D | main.c | 64 static void OutputSampleWave(void* dat, MICSamplingType type); 68 static void SetDrawData(void *address, MICSamplingType type); 130 gMicAutoParam.type = MIC_SAMPLING_TYPE_12BIT; in TwlMain() 216 if (gMicAutoParam.type == MIC_SAMPLING_TYPE_8BIT) in TwlMain() 218 gMicAutoParam.type = MIC_SAMPLING_TYPE_12BIT; in TwlMain() 222 gMicAutoParam.type = MIC_SAMPLING_TYPE_8BIT; in TwlMain() 240 OutputSampleWave(MIC_GetLastSamplingAddress(), gMicAutoParam.type); in TwlMain() 245 SetDrawData(MIC_GetLastSamplingAddress(), gMicAutoParam.type); in TwlMain() 644 OutputSampleWave(void* dat, MICSamplingType type) in OutputSampleWave() argument 661 switch (type) in OutputSampleWave() [all …]
|
| /TwlSDK-5.4/build/demos/spi/spiMonkey2/src/ |
| D | main.c | 64 static void SetDrawData(void *address, MICSamplingType type); 132 gMicAutoParam.type = MIC_SAMPLING_TYPE_8BIT; in NitroMain() 215 gMicAutoParam.type = in NitroMain() 216 (MICSamplingType)((gMicAutoParam.type + 1) % MIC_SAMPLING_TYPE_MAX); in NitroMain() 252 SetDrawData(MIC_GetLastSamplingAddress(), gMicAutoParam.type); in NitroMain() 345 if ((gMicAutoParam.type == MIC_SAMPLING_TYPE_SIGNED_8BIT) || in Draw3D() 346 (gMicAutoParam.type == MIC_SAMPLING_TYPE_SIGNED_12BIT) || in Draw3D() 347 (gMicAutoParam.type == MIC_SAMPLING_TYPE_SIGNED_12BIT_FILTER_OFF)) in Draw3D() 503 static void SetDrawData(void *address, MICSamplingType type) in SetDrawData() argument 515 switch (type) in SetDrawData() [all …]
|
| /TwlSDK-5.4/build/demos.TWL/spi/mic-3/src/ |
| D | main.c | 55 static void SetDrawData(void *address, MICSamplingType type); 116 gMicAutoParam.type = MIC_SAMPLING_TYPE_8BIT; in TwlMain() 167 gMicAutoParam.type in TwlMain() 168 … = (MICSamplingType)((gMicAutoParam.type + MIC_SAMPLING_TYPE_MAX - 1) % MIC_SAMPLING_TYPE_MAX); in TwlMain() 175 gMicAutoParam.type in TwlMain() 176 = (MICSamplingType)((gMicAutoParam.type + 1) % MIC_SAMPLING_TYPE_MAX); in TwlMain() 203 SetDrawData(MIC_GetLastSamplingAddress(), gMicAutoParam.type); in TwlMain() 629 static void SetDrawData(void *address, MICSamplingType type) in SetDrawData() argument 640 switch (type) in SetDrawData() 741 bitRangeString[gMicAutoParam.type % MIC_SAMPLING_TYPE_MAX]); in PrintfVariableData() [all …]
|
| /TwlSDK-5.4/build/demos.TWL/snd/IIRFilterdemo-mic/src/ |
| D | main.c | 65 static void OutputSampleWave(void* dat, MICSamplingType type); 69 static void SetDrawData(void *address, MICSamplingType type); 148 gMicAutoParam.type = MIC_SAMPLING_TYPE_12BIT; in TwlMain() 257 if (gMicAutoParam.type == MIC_SAMPLING_TYPE_8BIT) in TwlMain() 259 gMicAutoParam.type = MIC_SAMPLING_TYPE_12BIT; in TwlMain() 263 gMicAutoParam.type = MIC_SAMPLING_TYPE_8BIT; in TwlMain() 281 OutputSampleWave(MIC_GetLastSamplingAddress(), gMicAutoParam.type); in TwlMain() 286 SetDrawData(MIC_GetLastSamplingAddress(), gMicAutoParam.type); in TwlMain() 685 OutputSampleWave(void* dat, MICSamplingType type) in OutputSampleWave() argument 702 switch (type) in OutputSampleWave() [all …]
|
| /TwlSDK-5.4/build/libraries/mb/common/include/ |
| D | mb_common.h | 124 void MBi_BlockHeaderBegin(u8 type, u32 *sendbuf); 140 void MBi_comm_type_output(u16 type); 141 void MBi_comm_wmevent_output(u16 type, void *arg);
|
| /TwlSDK-5.4/include/nitro/prc/ |
| D | algo_common.h | 36 #define PRCi_ARRAY_SIZE(type, size, dummy) \ argument 37 sizeof(type) * (size) 40 #define PRCi_ALLOC_ARRAY(dst, type, size, base, offset) \ argument 41 (dst) = (type*)((u8*)(base) + (offset)); \ 42 (offset) += sizeof(type) * (size)
|
| /TwlSDK-5.4/build/demos/spi/pmAmpGain/src/ |
| D | main.c | 53 static void SetDrawData(void *address, MICSamplingType type); 113 gMicAutoParam.type = MIC_SAMPLING_TYPE_8BIT; in TwlMain() 161 SetDrawData(MIC_GetLastSamplingAddress(), gMicAutoParam.type); in TwlMain() 380 static void SetDrawData(void *address, MICSamplingType type) in SetDrawData() argument 391 switch (type) in SetDrawData() 510 if ((gMicAutoParam.type == MIC_SAMPLING_TYPE_SIGNED_8BIT) || in Draw3D() 511 (gMicAutoParam.type == MIC_SAMPLING_TYPE_SIGNED_12BIT) || in Draw3D() 512 (gMicAutoParam.type == MIC_SAMPLING_TYPE_SIGNED_12BIT_FILTER_OFF)) in Draw3D()
|
| /TwlSDK-5.4/include/nitro/wfs/ |
| D | format.h | 144 u32 type:4; member 148 u32 type:4; 239 int type, u32 arg1, u32 arg2) in WFS_SendMessage() argument 243 message.type = (u8)type; in WFS_SendMessage()
|
| /TwlSDK-5.4/include/twl/dsp/ARM9/ |
| D | dsp_if.h | 320 void DSP_EnableFifoInterruptCore(DSPFifoIntr type); 321 SDK_INLINE void DSP_EnableFifoInterrupt(DSPFifoIntr type) in DSP_EnableFifoInterrupt() argument 325 DSP_EnableFifoInterruptCore(type); in DSP_EnableFifoInterrupt() 338 void DSP_DisableFifoInterruptCore(DSPFifoIntr type); 339 SDK_INLINE void DSP_DisableFifoInterrupt(DSPFifoIntr type) in DSP_DisableFifoInterrupt() argument 343 DSP_DisableFifoInterruptCore(type); in DSP_DisableFifoInterrupt()
|
| /TwlSDK-5.4/include/nitro/spi/ARM9/ |
| D | mic.h | 82 MICSamplingType type; // Sampling type member 121 MICResult MIC_DoSamplingAsync(MICSamplingType type, void *buf, MICCallback callback, void *arg); 184 MICResult MIC_DoSampling(MICSamplingType type, void *buf);
|
| /TwlSDK-5.4/build/demos.TWL/spi/pmAmpGainLevel/src/ |
| D | main.c | 52 static void SetDrawData(void *address, MICSamplingType type); 111 gMicAutoParam.type = MIC_SAMPLING_TYPE_8BIT; in TwlMain() 169 SetDrawData(MIC_GetLastSamplingAddress(), gMicAutoParam.type); in TwlMain() 488 static void SetDrawData(void *address, MICSamplingType type) in SetDrawData() argument 499 switch (type) in SetDrawData() 618 if ((gMicAutoParam.type == MIC_SAMPLING_TYPE_SIGNED_8BIT) || in Draw3D() 619 (gMicAutoParam.type == MIC_SAMPLING_TYPE_SIGNED_12BIT) || in Draw3D() 620 (gMicAutoParam.type == MIC_SAMPLING_TYPE_SIGNED_12BIT_FILTER_OFF)) in Draw3D()
|