Home
last modified time | relevance | path

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

1234

/TwlSDK-5.5/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.c130 *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()
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.5/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.5/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.5/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()
204 gMicAutoParam.type = MIC_SAMPLING_TYPE_12BIT; in TwlMain()
330 MICSamplingType type = MIC_SAMPLING_TYPE_SIGNED_12BIT; in TwlMain() local
331 NormalizeRingBuffer(tmp, type, src, dsp - src); in TwlMain()
332 DrawWaveGraph(type, GX_RGB(31, 31, 31), tmp); in TwlMain()
339 MICSamplingType type = gMicAutoParam.type; in TwlMain() local
340 NormalizeRingBuffer(tmp, type, src, mic - src); in TwlMain()
[all …]
/TwlSDK-5.5/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.5/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.5/build/tools/makelcf/
Dspec.y106 %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.5/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.5/build/tools/makelcf.TWL/
Dspec.y66 %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.5/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.5/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.5/build/demos.TWL/spi/mic-4/src/
Dmain.c64 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.5/build/demos/spi/spiMonkey2/src/
Dmain.c64 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.5/build/demos.TWL/spi/mic-3/src/
Dmain.c55 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.5/build/demos.TWL/snd/IIRFilterdemo-mic/src/
Dmain.c65 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.5/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.5/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.5/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.5/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.5/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.5/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.5/build/demos.TWL/spi/pmAmpGainLevel/src/
Dmain.c52 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()

1234