Lines Matching refs:p
113 WMArm9Buf *p = WMi_GetSystemWork(); in WM_SetPortCallback() local
115 p->portCallbackTable[port] = callback; in WM_SetPortCallback()
116 p->portCallbackArgument[port] = arg; in WM_SetPortCallback()
144 WMArm9Buf *p = WMi_GetSystemWork(); in WM_ReadStatus() local
158 DC_InvalidateRange(p->status, sizeof(WMStatus)); in WM_ReadStatus()
159 MI_CpuCopyFast(p->status, statusBuf, sizeof(WMStatus)); in WM_ReadStatus()
178 WMArm9Buf *p = WMi_GetSystemWork(); in WM_GetMPSendBufferSize() local
188 DC_InvalidateRange(&(p->status->mp_flag), 4); // Invalidates the ARM7 status region cache in WM_GetMPSendBufferSize()
189 if (p->status->mp_flag == TRUE) in WM_GetMPSendBufferSize()
196 DC_InvalidateRange(&(p->status->mp_maxSendSize), 4); in WM_GetMPSendBufferSize()
197 maxSendSize = p->status->mp_maxSendSize; in WM_GetMPSendBufferSize()
218 WMArm9Buf *p = WMi_GetSystemWork(); in WM_GetMPReceiveBufferSize() local
228 DC_InvalidateRange(&(p->status->mp_flag), 4); in WM_GetMPReceiveBufferSize()
229 if (p->status->mp_flag == TRUE) in WM_GetMPReceiveBufferSize()
236 DC_InvalidateRange(&(p->status->aid), 2); in WM_GetMPReceiveBufferSize()
237 isParent = (p->status->aid == 0) ? TRUE : FALSE; in WM_GetMPReceiveBufferSize()
238 DC_InvalidateRange(&(p->status->mp_maxRecvSize), 2); in WM_GetMPReceiveBufferSize()
239 maxReceiveSize = p->status->mp_maxRecvSize; in WM_GetMPReceiveBufferSize()
242 DC_InvalidateRange(&(p->status->pparam.maxEntry), 2); in WM_GetMPReceiveBufferSize()
243 maxEntry = p->status->pparam.maxEntry; in WM_GetMPReceiveBufferSize()
270 WMArm9Buf *p = WMi_GetSystemWork(); in WM_ReadMPData() local
287 DC_InvalidateRange(&(p->status->child_bitmap), 2); in WM_ReadMPData()
288 if (0 == (p->status->child_bitmap & (0x0001 << aid))) in WM_ReadMPData()
358 WMArm9Buf *p = WMi_GetSystemWork(); in WM_GetAllowedChannel()
377 DC_InvalidateRange(&(p->status->allowedChannel), 2); in WM_GetAllowedChannel()
378 return p->status->allowedChannel; in WM_GetAllowedChannel()
420 WMArm9Buf *p = WMi_GetSystemWork(); in WM_GetLinkLevel() local
429 DC_InvalidateRange(&(p->status->state), 2); in WM_GetLinkLevel()
430 switch (p->status->state) in WM_GetLinkLevel()
434 DC_InvalidateRange(&(p->status->child_bitmap), 2); in WM_GetLinkLevel()
435 if (p->status->child_bitmap == 0) in WM_GetLinkLevel()
443 DC_InvalidateRange(&(p->status->linkLevel), 2); in WM_GetLinkLevel()
444 return (WMLinkLevel)(p->status->linkLevel); in WM_GetLinkLevel()