| /TwlSDK-5.1.0/build/libraries/wm/ARM9/inc/ |
| D | wm_arm9_private.h | 63 #define WMi_LOG(cat, msg) \ argument 64 …do { s32 _SDK_WM_vcount = GX_GetVCount(); (void)WMi_Printf( "%02x:%03d| " cat msg "\n", ((OS_GetVB… 66 #define WMi_LOGF(cat, msg, ...) \ argument 67 …do { s32 _SDK_WM_vcount = GX_GetVCount(); (void)WMi_Printf( "%02x:%03d| " cat msg "\n", ((OS_GetVB… 69 #define WM_LOG(msg) WMi_LOG("", msg) argument 70 #define WM_LOGF(msg, ...) WMi_LOGF("", msg, __VA_ARGS__) argument 80 #define WM_DLOG_DATASHARING(msg) WMi_LOG("[DS]", msg); argument 81 #define WM_DLOGF_DATASHARING(msg, ...) WMi_LOGF("[DS]", msg, __VA_ARGS__); argument 89 #define WM_DLOGF2_CALLBACK(from, msg, ...) \ argument 90 …do { s32 _SDK_WM_vcount = GX_GetVCount(); (void)WMi_Printf( "%02x:%03d-%03d| " msg "\n", ((OS_GetV… [all …]
|
| /TwlSDK-5.1.0/build/libraries/os/common/src/ |
| D | os_message.c | 55 BOOL OS_SendMessage(OSMessageQueue *mq, OSMessage msg, s32 flags) in OS_SendMessage() argument 78 mq->msgArray[lastIndex] = msg; in OS_SendMessage() 100 BOOL OS_ReceiveMessage(OSMessageQueue *mq, OSMessage *msg, s32 flags) in OS_ReceiveMessage() argument 121 if (msg != NULL) in OS_ReceiveMessage() 123 *msg = mq->msgArray[mq->firstIndex]; in OS_ReceiveMessage() 148 BOOL OS_JamMessage(OSMessageQueue *mq, OSMessage msg, s32 flags) in OS_JamMessage() argument 170 mq->msgArray[mq->firstIndex] = msg; in OS_JamMessage() 194 BOOL OS_ReadMessage(OSMessageQueue *mq, OSMessage *msg, s32 flags) in OS_ReadMessage() argument 215 if (msg != NULL) in OS_ReadMessage() 217 *msg = mq->msgArray[mq->firstIndex]; in OS_ReadMessage()
|
| /TwlSDK-5.1.0/include/nitro/os/common/ |
| D | message.h | 78 BOOL OS_SendMessage(OSMessageQueue *mq, OSMessage msg, s32 flags); 93 BOOL OS_ReceiveMessage(OSMessageQueue *mq, OSMessage *msg, s32 flags); 108 BOOL OS_JamMessage(OSMessageQueue *mq, OSMessage msg, s32 flags); 124 BOOL OS_ReadMessage(OSMessageQueue *mq, OSMessage *msg, s32 flags);
|
| /TwlSDK-5.1.0/build/libraries/wfs/common/src/ |
| D | wfs_server.c | 92 const WFSMessageFormat *const msg = (const WFSMessageFormat *)uc->user_data.data; in WFSi_WBTCallback() local 93 work->recv_msg[aid] = *msg; in WFSi_WBTCallback() 95 switch (msg->type) in WFSi_WBTCallback() 101 const u32 offset = MI_LEToH32(msg->arg1); in WFSi_WBTCallback() 102 const u32 length = MI_LEToH32_BITFIELD(24, msg->arg2); in WFSi_WBTCallback() 103 const int packet = (int)((msg->packet_hi << 8) | msg->packet_lo); in WFSi_WBTCallback() 177 u32 id = MI_LEToH32(msg->arg1); in WFSi_WBTCallback() 316 WFSMessageFormat *msg = NULL; in WFS_CallServerPacketSendHook() local 341 if (!msg) in WFS_CallServerPacketSendHook() 343 msg = &context->recv_msg[i]; in WFS_CallServerPacketSendHook() [all …]
|
| D | wfs_client.c | 203 const WFSMessageFormat *const msg = (const WFSMessageFormat *)callback->user_data.data; in WFSi_ReadRomSequence() local 206 (msg->type == WFS_MSG_LOCK_ACK)) in WFSi_ReadRomSequence() 208 BOOL accepted = (BOOL)MI_LEToH32(msg->arg2); in WFSi_ReadRomSequence() 219 u32 id = MI_LEToH32(msg->arg1); in WFSi_ReadRomSequence() 250 (msg->type == WFS_MSG_UNLOCK_ACK)) in WFSi_ReadRomSequence()
|
| /TwlSDK-5.1.0/build/libraries/snd/common/src/ |
| D | snd_alarm.c | 178 u32 msg = (u32)arg; in AlarmHandler() local 179 u32 alarmNo = msg & 0xff; in AlarmHandler() 180 u32 id = (msg >> 8) & 0xff; in AlarmHandler() 196 if (PXI_SendWordByFifo(PXI_FIFO_TAG_SOUND, msg, FALSE) < 0) { in AlarmHandler() 237 void SNDi_CallAlarmHandler(int msg) in SNDi_CallAlarmHandler() argument 240 int alarmNo = msg & 0xff; in SNDi_CallAlarmHandler() 241 int id = (msg >> 8) & 0xff; in SNDi_CallAlarmHandler()
|
| /TwlSDK-5.1.0/build/libraries/snd/ARM9.TWL/src/ |
| D | sndex.c | 213 OSMessage msg[1]; in SNDEXi_GetMute() local 223 OS_InitMessageQueue(&msgQ, msg, 1); in SNDEXi_GetMute() 290 OSMessage msg[1]; in SNDEXi_GetI2SFrequency() local 300 OS_InitMessageQueue(&msgQ, msg, 1); in SNDEXi_GetI2SFrequency() 369 OSMessage msg[1]; in SNDEXi_GetDSPMixRate() local 379 OS_InitMessageQueue(&msgQ, msg, 1); in SNDEXi_GetDSPMixRate() 451 OSMessage msg[1]; in SNDEXi_GetVolume() local 461 OS_InitMessageQueue(&msgQ, msg, 1); in SNDEXi_GetVolume() 612 OSMessage msg[1]; in SNDEXi_GetDevice() local 622 OS_InitMessageQueue(&msgQ, msg, 1); in SNDEXi_GetDevice() [all …]
|
| /TwlSDK-5.1.0/build/demos/spi/spiMonkey/src/ |
| D | monkey.c | 123 OSMessage msg; in MonkeyThread() local 165 (void)OS_ReceiveMessage(&(monkey.msg_q), &msg, OS_MESSAGE_BLOCK); in MonkeyThread() 168 if ((u32)msg == MONKEY_MESSAGE_TYPE_TP) in MonkeyThread() 173 else if ((u32)msg == MONKEY_MESSAGE_TYPE_MIC) in MonkeyThread()
|
| /TwlSDK-5.1.0/build/libraries/spi/ARM9.TWL/src/ |
| D | micex.c | 44 OSMessage msg[1]; in MICEXi_StartLimitedSampling() local 56 OS_InitMessageQueue(&msgQ, msg, 1); in MICEXi_StartLimitedSampling() 194 OSMessage msg[1]; in MICEXi_StopLimitedSampling() local 206 OS_InitMessageQueue(&msgQ, msg, 1); in MICEXi_StopLimitedSampling() 267 OSMessage msg[1]; in MICEXi_AdjustLimitedSampling() local 279 OS_InitMessageQueue(&msgQ, msg, 1); in MICEXi_AdjustLimitedSampling()
|
| /TwlSDK-5.1.0/build/demos.TWL/aes/encrypt/src/ |
| D | main.c | 277 OSMessage msg; in DEMO_WaitAes() local 278 (void)OS_ReceiveMessage(pQ, &msg, OS_MESSAGE_BLOCK); in DEMO_WaitAes() 279 return (AESResult)msg; in DEMO_WaitAes()
|
| /TwlSDK-5.1.0/build/demos.TWL/aes/encrypt-and-sign/src/ |
| D | main.c | 284 OSMessage msg; in DEMO_WaitAes() local 285 (void)OS_ReceiveMessage(pQ, &msg, OS_MESSAGE_BLOCK); in DEMO_WaitAes() 286 return (AESResult)msg; in DEMO_WaitAes()
|
| /TwlSDK-5.1.0/build/demos.TWL/aes/ctr/src/ |
| D | main.c | 290 OSMessage msg; in DEMO_WaitAes() local 291 (void)OS_ReceiveMessage(pQ, &msg, OS_MESSAGE_BLOCK); in DEMO_WaitAes() 292 return (AESResult)msg; in DEMO_WaitAes()
|
| /TwlSDK-5.1.0/build/demos.TWL/aes/ctr-partial/src/ |
| D | main.c | 357 OSMessage msg; in DEMO_WaitAes() local 358 (void)OS_ReceiveMessage(pQ, &msg, OS_MESSAGE_BLOCK); in DEMO_WaitAes() 359 return (AESResult)msg; in DEMO_WaitAes()
|
| /TwlSDK-5.1.0/build/demos.TWL/aes/ccm/src/ |
| D | main.c | 348 OSMessage msg; in DEMO_WaitAes() local 349 (void)OS_ReceiveMessage(pQ, &msg, OS_MESSAGE_BLOCK); in DEMO_WaitAes() 350 return (AESResult)msg; in DEMO_WaitAes()
|
| /TwlSDK-5.1.0/build/demos/fx/test/src/ |
| D | fx_append_vec.c | 135 static void printVecFx32Msg(const char *msg, const VecFx32 *v) in printVecFx32Msg() argument 137 SDK_NULL_ASSERT(msg); in printVecFx32Msg() 140 OutDetail(msg); in printVecFx32Msg() 147 static void printVecDMsg(const char *msg, const VecD * v) in printVecDMsg() argument 149 SDK_NULL_ASSERT(msg); in printVecDMsg() 152 OutDetail(msg); in printVecDMsg()
|
| /TwlSDK-5.1.0/build/demos.TWL/aes/ctr-compatible/src/ |
| D | main.c | 466 OSMessage msg; in DEMO_WaitAes() local 467 (void)OS_ReceiveMessage(pQ, &msg, OS_MESSAGE_BLOCK); in DEMO_WaitAes() 468 return (AESResult)msg; in DEMO_WaitAes()
|
| /TwlSDK-5.1.0/build/demos/prc/characterRecognition-1/src/ |
| D | main.c | 684 OSMessage msg; in RecognizePattern() local 688 (void)OS_ReceiveMessage(&gRecognitionRequestMessageQueue, &msg, OS_MESSAGE_BLOCK); in RecognizePattern() 689 if (msg == (OSMessage)NULL) in RecognizePattern() 694 obj = (RecognitionObject *) msg; in RecognizePattern()
|
| /TwlSDK-5.1.0/build/libraries/mb/common/include/ |
| D | mb_gameinfo.h | 107 typedef void (*MBBeaconMsgCallback) (MbBeaconMsg msg, MBGameInfoRecvList * gInfop, int index);
|
| /TwlSDK-5.1.0/build/libraries/mb/common/src/ |
| D | mb_child.c | 32 static void MBi_CommBeaconRecvCallback(MbBeaconMsg msg, MBGameInfoRecvList * gInfop, int index); 716 static void MBi_CommBeaconRecvCallback(MbBeaconMsg msg, MBGameInfoRecvList * gInfop, int index) in MBi_CommBeaconRecvCallback() argument 721 switch (msg) in MBi_CommBeaconRecvCallback()
|
| D | mb_fake_child.c | 80 static void MBFi_CommBeaconRecvCallback(MbBeaconMsg msg, MBGameInfoRecvList * gInfop, int index); 712 static void MBFi_CommBeaconRecvCallback(MbBeaconMsg msg, MBGameInfoRecvList * gInfop, int index) in MBFi_CommBeaconRecvCallback() argument 714 switch (msg) in MBFi_CommBeaconRecvCallback()
|
| /TwlSDK-5.1.0/build/demos.TWL/aes/ccm-compatible/src/ |
| D | main.c | 806 OSMessage msg; in DEMO_WaitAes() local 807 (void)OS_ReceiveMessage(pQ, &msg, OS_MESSAGE_BLOCK); in DEMO_WaitAes() 808 return (AESResult)msg; in DEMO_WaitAes()
|
| /TwlSDK-5.1.0/build/libraries/dsp/common/src/ |
| D | dsp_pipe.c | 78 OSMessage msg[1]; in DSPi_FileIOProc() local 79 (void)OS_ReceiveMessage(ctx->msgq, msg, OS_MESSAGE_BLOCK); in DSPi_FileIOProc()
|
| /TwlSDK-5.1.0/include/nitro/gx/ |
| D | g3b.h | 37 #define SDK_ASSERTMSG(exp, msg) ((void) 0) argument
|
| /TwlSDK-5.1.0/build/libraries/camera/ARM9.TWL/src/ |
| D | camera_api.c | 607 OSMessage msg; in CAMERA_MonitorThread() local 609 if ( !OS_ReceiveMessage(cameraWork.CAMERAiMonitorMessageQueue, &msg, OS_MESSAGE_NOBLOCK) ) in CAMERA_MonitorThread()
|