Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 90) sorted by relevance

1234

/TwlSDK-5.1.0/build/libraries/mb/common/src/
Dmb_common.c39 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 …]
Dmb_block.c127 *ptr++ = hdr->type; in MBi_MakeParentSendBuffer()
129 switch (hdr->type) in MBi_MakeParentSendBuffer()
170 hdr->type = *ptr++; in MBi_SetRecvBufferFromChild()
172 switch (hdr->type) in MBi_SetRecvBufferFromChild()
296 *pbuf++ = hdr->type; in MBi_MakeChildSendBuffer()
297 switch (hdr->type) in MBi_MakeChildSendBuffer()
373 hdr->type = *recvbuf++; in MBi_SetRecvBufferFromParent()
375 switch (hdr->type) in MBi_SetRecvBufferFromParent()
Dmb_fake_child.c92 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 …]
Dmb_child.c119 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.1.0/build/libraries/ctrdg/ARM9/src/
Dctrdg_backup.c66 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.1.0/build/libraries/os/common/src/
Dos_spinLock.c82 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.1.0/build/demos.TWL/dsp/snd-mic/src/
Dmain.c63 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()
200 gMicAutoParam.type = MIC_SAMPLING_TYPE_12BIT; in TwlMain()
322 MICSamplingType type = MIC_SAMPLING_TYPE_SIGNED_12BIT; in TwlMain() local
323 NormalizeRingBuffer(tmp, type, src, dsp - src); in TwlMain()
324 DrawWaveGraph(type, GX_RGB(31, 31, 31), tmp); in TwlMain()
331 MICSamplingType type = gMicAutoParam.type; in TwlMain() local
332 NormalizeRingBuffer(tmp, type, src, mic - src); in TwlMain()
[all …]
/TwlSDK-5.1.0/include/nitro/os/common/
Dmutex.h72 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.1.0/build/tools/loadrun/
Disd_api.c58 #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.1.0/build/tools/makelcf/
Dspec.y103 %type <string> gFILENAME
104 %type <object> gOBJECTNAME
173 if ( !StaticAddObject( $2.string, $2.type ) ) YYABORT;
192 if ( !StaticAddLibrary( $2.string, $2.type ) ) YYABORT;
281 if ( !OverlayAddObject( $2.string, $2.type ) ) YYABORT;
299 if ( !OverlayAddLibrary( $2.string, $2.type ) ) YYABORT;
399 $$.type = OBJTYPE_FILE;
404 $$.type = OBJTYPE_STAR;
409 $$.type = OBJTYPE_GROUP;
414 $$.type = OBJTYPE_OBJECT;
/TwlSDK-5.1.0/build/tools/loadrun.TWL/
Disd_api.c85 #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.1.0/build/tools/makelcf.TWL/
Dspec.y63 %type <string> gFILENAME
64 %type <object> gOBJECTNAME
135 if ( !StaticAddObject( $2.string, $2.type ) ) YYABORT;
154 if ( !StaticAddLibrary( $2.string, $2.type ) ) YYABORT;
243 if ( !OverlayAddObject( $2.string, $2.type ) ) YYABORT;
261 if ( !OverlayAddLibrary( $2.string, $2.type ) ) YYABORT;
445 $$.type = OBJTYPE_FILE;
450 $$.type = OBJTYPE_STAR;
455 $$.type = OBJTYPE_GROUP;
460 $$.type = OBJTYPE_OBJECT;
/TwlSDK-5.1.0/build/demos/spi/mic-2/src/
Dmain.c80 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.1.0/build/demos/spi/mic-1/src/
Dmain.c70 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.1.0/build/demos.TWL/spi/mic-4/src/
Dmain.c63 static void OutputSampleWave(void* dat, MICSamplingType type);
67 static void SetDrawData(void *address, MICSamplingType type);
126 gMicAutoParam.type = MIC_SAMPLING_TYPE_12BIT; in TwlMain()
212 if (gMicAutoParam.type == MIC_SAMPLING_TYPE_8BIT) in TwlMain()
214 gMicAutoParam.type = MIC_SAMPLING_TYPE_12BIT; in TwlMain()
218 gMicAutoParam.type = MIC_SAMPLING_TYPE_8BIT; in TwlMain()
236 OutputSampleWave(MIC_GetLastSamplingAddress(), gMicAutoParam.type); in TwlMain()
241 SetDrawData(MIC_GetLastSamplingAddress(), gMicAutoParam.type); in TwlMain()
640 OutputSampleWave(void* dat, MICSamplingType type) in OutputSampleWave() argument
657 switch (type) in OutputSampleWave()
[all …]
/TwlSDK-5.1.0/build/demos/spi/spiMonkey2/src/
Dmain.c64 static void SetDrawData(void *address, MICSamplingType type);
132 gMicAutoParam.type = MIC_SAMPLING_TYPE_8BIT; in NitroMain()
216 gMicAutoParam.type = in NitroMain()
217 (MICSamplingType)((gMicAutoParam.type + 1) % MIC_SAMPLING_TYPE_MAX); in NitroMain()
253 SetDrawData(MIC_GetLastSamplingAddress(), gMicAutoParam.type); in NitroMain()
346 if ((gMicAutoParam.type == MIC_SAMPLING_TYPE_SIGNED_8BIT) || in Draw3D()
347 (gMicAutoParam.type == MIC_SAMPLING_TYPE_SIGNED_12BIT) || in Draw3D()
348 (gMicAutoParam.type == MIC_SAMPLING_TYPE_SIGNED_12BIT_FILTER_OFF)) in Draw3D()
504 static void SetDrawData(void *address, MICSamplingType type) in SetDrawData() argument
516 switch (type) in SetDrawData()
[all …]
/TwlSDK-5.1.0/build/demos.TWL/spi/mic-3/src/
Dmain.c54 static void SetDrawData(void *address, MICSamplingType type);
112 gMicAutoParam.type = MIC_SAMPLING_TYPE_8BIT; in TwlMain()
163 gMicAutoParam.type in TwlMain()
164 … = (MICSamplingType)((gMicAutoParam.type + MIC_SAMPLING_TYPE_MAX - 1) % MIC_SAMPLING_TYPE_MAX); in TwlMain()
171 gMicAutoParam.type in TwlMain()
172 = (MICSamplingType)((gMicAutoParam.type + 1) % MIC_SAMPLING_TYPE_MAX); in TwlMain()
199 SetDrawData(MIC_GetLastSamplingAddress(), gMicAutoParam.type); in TwlMain()
625 static void SetDrawData(void *address, MICSamplingType type) in SetDrawData() argument
636 switch (type) in SetDrawData()
737 bitRangeString[gMicAutoParam.type % MIC_SAMPLING_TYPE_MAX]); in PrintfVariableData()
[all …]
/TwlSDK-5.1.0/build/demos.TWL/snd/IIRFilterdemo-mic/src/
Dmain.c64 static void OutputSampleWave(void* dat, MICSamplingType type);
68 static void SetDrawData(void *address, MICSamplingType type);
137 gMicAutoParam.type = MIC_SAMPLING_TYPE_12BIT; in TwlMain()
243 if (gMicAutoParam.type == MIC_SAMPLING_TYPE_8BIT) in TwlMain()
245 gMicAutoParam.type = MIC_SAMPLING_TYPE_12BIT; in TwlMain()
249 gMicAutoParam.type = MIC_SAMPLING_TYPE_8BIT; in TwlMain()
267 OutputSampleWave(MIC_GetLastSamplingAddress(), gMicAutoParam.type); in TwlMain()
272 SetDrawData(MIC_GetLastSamplingAddress(), gMicAutoParam.type); in TwlMain()
671 OutputSampleWave(void* dat, MICSamplingType type) in OutputSampleWave() argument
688 switch (type) in OutputSampleWave()
[all …]
/TwlSDK-5.1.0/build/libraries/mb/common/include/
Dmb_common.h124 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.1.0/include/nitro/prc/
Dalgo_common.h36 #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.1.0/build/demos/spi/pmAmpGain/src/
Dmain.c53 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.1.0/include/nitro/wfs/
Dformat.h144 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.1.0/include/twl/dsp/ARM9/
Ddsp_if.h320 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.1.0/include/nitro/spi/ARM9/
Dmic.h82 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.1.0/build/demos.TWL/spi/pmAmpGainLevel/src/
Dmain.c51 static void SetDrawData(void *address, MICSamplingType type);
107 gMicAutoParam.type = MIC_SAMPLING_TYPE_8BIT; in TwlMain()
165 SetDrawData(MIC_GetLastSamplingAddress(), gMicAutoParam.type); in TwlMain()
484 static void SetDrawData(void *address, MICSamplingType type) in SetDrawData() argument
495 switch (type) in SetDrawData()
614 if ((gMicAutoParam.type == MIC_SAMPLING_TYPE_SIGNED_8BIT) || in Draw3D()
615 (gMicAutoParam.type == MIC_SAMPLING_TYPE_SIGNED_12BIT) || in Draw3D()
616 (gMicAutoParam.type == MIC_SAMPLING_TYPE_SIGNED_12BIT_FILTER_OFF)) in Draw3D()

1234