Lines Matching refs:tmpAddr
316 u32 *tmpAddr; in WmGetCommandBuffer4Arm7() local
318 if (FALSE == OS_ReceiveMessage(&bufMsgQ, (OSMessage *)&tmpAddr, OS_MESSAGE_NOBLOCK)) in WmGetCommandBuffer4Arm7()
324 DC_InvalidateRange(tmpAddr, 2); in WmGetCommandBuffer4Arm7()
325 if ((*((u16 *)tmpAddr) & WM_API_REQUEST_ACCEPTED) == 0) in WmGetCommandBuffer4Arm7()
328 (void)OS_JamMessage(&bufMsgQ, tmpAddr, OS_MESSAGE_BLOCK); in WmGetCommandBuffer4Arm7()
333 return tmpAddr; in WmGetCommandBuffer4Arm7()
354 u32 *tmpAddr; in WMi_SendCommand() local
359 tmpAddr = WmGetCommandBuffer4Arm7(); in WMi_SendCommand()
360 if (tmpAddr == NULL) in WMi_SendCommand()
366 *(u16 *)tmpAddr = (u16)id; in WMi_SendCommand()
372 tmpAddr[i + 1] = va_arg(vlist, u32); in WMi_SendCommand()
376 DC_StoreRange(tmpAddr, WM_FIFO_BUF_SIZE); in WMi_SendCommand()
379 result = PXI_SendWordByFifo(PXI_FIFO_TAG_WM, (u32)tmpAddr, FALSE); in WMi_SendCommand()
381 (void)OS_SendMessage(&bufMsgQ, tmpAddr, OS_MESSAGE_BLOCK); in WMi_SendCommand()
406 u32 *tmpAddr; in WMi_SendCommandDirect() local
412 tmpAddr = WmGetCommandBuffer4Arm7(); in WMi_SendCommandDirect()
413 if (tmpAddr == NULL) in WMi_SendCommandDirect()
419 MI_CpuCopy8(data, tmpAddr, length); in WMi_SendCommandDirect()
421 DC_StoreRange(tmpAddr, length); in WMi_SendCommandDirect()
424 result = PXI_SendWordByFifo(PXI_FIFO_TAG_WM, (u32)tmpAddr, FALSE); in WMi_SendCommandDirect()
426 (void)OS_SendMessage(&bufMsgQ, tmpAddr, OS_MESSAGE_BLOCK); in WMi_SendCommandDirect()