Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 24 of 24) sorted by relevance

/TwlSDK-5.1.0/build/libraries/wm/ARM9/inc/
Dwm_arm9_private.h63 #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/
Dos_message.c55 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/
Dmessage.h78 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/
Dwfs_server.c92 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 …]
Dwfs_client.c203 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/
Dsnd_alarm.c178 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/
Dsndex.c213 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/
Dmonkey.c123 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/
Dmicex.c44 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/
Dmain.c277 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/
Dmain.c284 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/
Dmain.c290 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/
Dmain.c357 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/
Dmain.c348 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/
Dfx_append_vec.c135 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/
Dmain.c466 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/
Dmain.c684 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/
Dmb_gameinfo.h107 typedef void (*MBBeaconMsgCallback) (MbBeaconMsg msg, MBGameInfoRecvList * gInfop, int index);
/TwlSDK-5.1.0/build/libraries/mb/common/src/
Dmb_child.c32 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()
Dmb_fake_child.c80 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/
Dmain.c806 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/
Ddsp_pipe.c78 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/
Dg3b.h37 #define SDK_ASSERTMSG(exp, msg) ((void) 0) argument
/TwlSDK-5.1.0/build/libraries/camera/ARM9.TWL/src/
Dcamera_api.c607 OSMessage msg; in CAMERA_MonitorThread() local
609 if ( !OS_ReceiveMessage(cameraWork.CAMERAiMonitorMessageQueue, &msg, OS_MESSAGE_NOBLOCK) ) in CAMERA_MonitorThread()