Searched refs:pBuf (Results 1 - 22 of 22) sorted by relevance

/system/wlan/ti/wilink_6_1/platforms/os/common/inc/
H A DRxBuf.h67 #define RX_BUF_DATA(pBuf) ((void*)((TI_UINT8 *)pBuf + sizeof(RxIfDescriptor_t)))
72 #define RX_BUF_LEN(pBuf) ( (((RxIfDescriptor_t *)(pBuf))->length << 2) - \
73 ((RxIfDescriptor_t *)(pBuf))->extraBytes - \
80 #define RX_ETH_PKT_DATA(pBuf) *((void **)(((TI_UINT32)pBuf + sizeof(RxIfDescriptor_t) + 2) & ~3))
85 #define RX_ETH_PKT_LEN(pBuf) *((TI_UINT32 *)(((TI_UINT32)pBuf + sizeof(RxIfDescriptor_t) + 6) & ~3))
114 void RxBufFree (TI_HANDLE hOs, void* pBuf);
[all...]
H A DosApi.h98 #define INSERT_BYTE(pBuf, dataByte) (*((TI_UINT8 *)pBuf) = (TI_UINT8 )dataByte ); pBuf++;
99 #define INSERT_2_BYTES(pBuf, dataBytes) (*((TI_UINT16 *)pBuf) = (TI_UINT16)dataBytes); pBuf+=2;
100 #define INSERT_4_BYTES(pBuf, dataBytes) (*((TI_UINT32 *)pBuf) = (TI_UINT32)dataBytes); pBuf+=4;
/system/wlan/ti/sta_dk_4_0_4_32/common/src/BusAccess/Shm_Common/
H A DshmUtils.c63 void busUtils_PrintBuf(TI_HANDLE hReport, UINT8 *StrHead, UINT8 *pBuf, int Len) argument
69 for (i=0; i<Len; i+=8, pBuf+=8)
72 i, pBuf[0], pBuf[1], pBuf[2], pBuf[3], pBuf[4], pBuf[5], pBuf[6], pBuf[
[all...]
H A DshmUtils.h50 void busUtils_PrintBuf (TI_HANDLE hReport, UINT8 *StrHead, UINT8 *pBuf, int Len);
H A DshmDebug.c474 UINT8 *pBuf; local
482 for (i=0, pBuf=HostBuf; i<256; i+=16, pBuf+=16)
487 pBuf[0], pBuf[1], pBuf[2], pBuf[3], pBuf[4], pBuf[5], pBuf[
[all...]
/system/wlan/ti/wilink_6_1/utils/
H A Dstack.c63 * \param pBuf - pointer to the stack buffer; if NULL a memory for the stack buffer will be dynamically allocated\n
73 void *pBuf,
82 if (pBuf)
84 pStack->pBuf = pBuf;
90 pStack->pBuf = _os_memoryAlloc (hOs, pStack->uDep);
114 _os_memoryFree (pStack->hOs, pStack->pBuf, pStack->uDep);
133 pStack->fCpy (pStack->hOs, (unsigned char*)pStack->pBuf + pStack->uPtr, pVal, pStack->uElemSize);
157 pStack->fCpy (pStack->hOs, pVal, (unsigned char*)pStack->pBuf + pStack->uPtr, pStack->uElemSize);
67 stackInit( Stack_t *pStack, TI_HANDLE hOs, unsigned uElemSize, unsigned uDep, void *pBuf, void (*fCpy) (TI_HANDLE, void*, void*, unsigned) ) argument
H A Dstack.h55 void *pBuf; member in struct:_Stack_t
67 unsigned stackInit (Stack_t *pStack, TI_HANDLE hOs, unsigned uElemSize, unsigned uDep, void *pBuf, void (*fCpy) (TI_HANDLE, void*, void*, unsigned));
/system/wlan/ti/wilink_6_1/platforms/os/linux/src/
H A DRxBuf.c71 inline void RxBufFree(TI_HANDLE hOs, void *pBuf) argument
73 unsigned char *pdata = (unsigned char *)((TI_UINT32)pBuf & ~(TI_UINT32)0x3);
78 if ((TI_UINT32)pBuf & 0x3)
80 if ((TI_UINT32)pBuf - (TI_UINT32)skb->data != 2)
82 printk("RxBufFree() address error skb=0x%x skb->data=0x%x pPacket=0x%x !!!\n",(int)skb, (int)skb->data, (int)pBuf);
87 if ((TI_UINT32)skb->data != (TI_UINT32)pBuf)
89 printk("RxBufFree() address error skb=0x%x skb->data=0x%x pPacket=0x%x !!!\n",(int)skb, (int)skb->data, (int)pBuf);
/system/wlan/ti/sta_dk_4_0_4_32/common/src/utils/
H A Dstack.h56 void *pBuf; member in struct:_Stack_t
68 unsigned stackInit (Stack_t *pStack, TI_HANDLE hOs, unsigned uElemSize, unsigned uDep, void *pBuf, void (*fCpy) (TI_HANDLE, void*, void*, unsigned));
/system/wlan/ti/wilink_6_1/stad/src/Sta_Management/
H A Dtemplates.c228 char *pBuf; local
263 pBuf = (char *)&(pBuffer->infoElements);
269 ((dot11_SSID_t *)(pBuf))->hdr[0] = DOT11_SSID_ELE_ID;
270 ((dot11_SSID_t *)(pBuf))->hdr[1] = pSsid->len;
271 os_memoryCopy(pSiteMgr->hOs, pBuf + sizeof(dot11_eleHdr_t), (void *)pSsid->str, pSsid->len);
273 pBuf += sizeof(dot11_eleHdr_t) + pSsid->len;
276 pDot11Rates = (dot11_RATES_t *) pBuf;
317 pBuf += pDot11Rates->hdr[1] + sizeof(dot11_eleHdr_t);
325 pDot11Rates = (dot11_RATES_t *) (pBuf + suppRatesLen);
331 pBuf
385 TI_UINT8 *pBuf; local
[all...]
/system/wlan/ti/sta_dk_4_0_4_32/common/src/hal/hl_ctrl/
H A DwhalDebug.c209 UINT8 *pBuf; local
234 for (i=0, pBuf=pWhalCtrl->printRegsBuf.value; i<256; i+=16, pBuf+=16)
239 pBuf[0], pBuf[1], pBuf[2], pBuf[3], pBuf[4], pBuf[5], pBuf[
[all...]
H A DwhalCtrl.c2505 int whalCtrl_SendGenCmd (TI_HANDLE hWhalCtrl, char* pBuf, UINT32 Length) argument
2510 if ((Length < CMD_DISABLE_RX) || (pBuf == NULL)){
2517 os_memoryCopy(pWhalCtrl, (void *)&CmdId, (void *)pBuf, sizeof(CmdId));
2518 return (whal_hwCtrl_GenCmd(pWhalCtrl->pHwCtrl, CmdId, pBuf+SIZE_OF_HEADER, (Length - SIZE_OF_HEADER)));
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/sme/siteMgr/
H A Dtemplates.c135 char *pBuf; local
168 pBuf = (char *)&(pBuffer->infoElements);
174 ((dot11_SSID_t *)(pBuf))->hdr.eleId = DOT11_SSID_ELE_ID;
175 ((dot11_SSID_t *)(pBuf))->hdr.eleLen = pSsid->len;
176 os_memoryCopy(pSiteMgr->hOs, pBuf + sizeof(dot11_eleHdr_t), (void *)pSsid->ssidString, pSsid->len);
178 pBuf += sizeof(dot11_eleHdr_t) + pSsid->len;
181 pDot11Rates = (dot11_RATES_t *) pBuf;
228 pBuf += pDot11Rates->hdr.eleLen + sizeof(dot11_eleHdr_t);
236 pDot11Rates = (dot11_RATES_t *) (pBuf + suppRatesLen);
242 pBuf
275 UINT8 *pBuf; local
[all...]
/system/wlan/ti/wilink_6_1/Test/
H A DTWD_Debug.c134 TI_UINT8 *pBuf; local
160 for (i=0, pBuf = pTWD->tPrintRegsBuf.value; i < 256; i += 16, pBuf += 16)
164 pBuf[0], pBuf[1], pBuf[2], pBuf[3], pBuf[4], pBuf[5], pBuf[
[all...]
/system/wlan/ti/wilink_6_1/Txn/
H A DBusDrv.h102 #define BUILD_TTxnStruct(pTxn, uAddr, pBuf, uLen, fCB, hCB) \
103 pTxn->aBuf[0] = (TI_UINT8*)(pBuf); \
/system/wlan/ti/sta_dk_4_0_4_32/common/src/hal/hw_ctrl/
H A DwhalHwMboxCmd.h81 extern int whal_hwMboxCmd_GenCmd (HwMboxCmd_T *pHwMboxCmd,short CmdId, char* pBuf, UINT32 Length);
H A DwhalHwMboxCmd.c674 int whal_hwMboxCmd_GenCmd(HwMboxCmd_T *pHwMboxCmd,short CmdId, char* pBuf, UINT32 Length) argument
679 return (CmdQueue_Command(pHwMboxCmd->hCmdMboxQueue, CmdId, pBuf, Length));
H A DwhalHwCtrl.h124 extern int whal_hwCtrl_GenCmd (HwCtrl_T *pHwCtrl, short CmdID, char* pBuf, UINT32 Length);
H A DwhalHwCtrl.c2143 int whal_hwCtrl_GenCmd(HwCtrl_T *pHwCtrl, short CmdID, char* pBuf, UINT32 Length) argument
2145 return (whal_hwMboxCmd_GenCmd(pHwCtrl->pHwMboxCmd, CmdID, pBuf, Length));
/system/wlan/ti/wilink_6_1/stad/src/Data_link/
H A Drx.c84 static ERxBufferStatus rxData_RequestForBuffer (TI_HANDLE hRxData, void **pBuf, TI_UINT16 aLength, TI_UINT32 uEncryptionFlag,PacketClassTag_e ePacketClassTag);
1768 void **pBuf,
1777 *pBuf = RxBufAlloc (pRxData->hOs, aLength, ePacketClassTag);
1779 if (*pBuf)
1767 rxData_RequestForBuffer(TI_HANDLE hRxData, void **pBuf, TI_UINT16 aLength, TI_UINT32 uEncryptionflag, PacketClassTag_e ePacketClassTag) argument
/system/wlan/ti/sta_dk_4_0_4_32/common/src/hal/Export_Inc/
H A DwhalCtrl_api.h850 int whalCtrl_SendGenCmd (TI_HANDLE hWhalCtrl, char* pBuf, UINT32 Length);
/system/wlan/ti/wilink_6_1/stad/src/Ctrl_Interface/
H A DDrvMain.c872 * \param pBuf - The ini-file data.
877 static TI_STATUS drvMain_SetDefaults (TI_HANDLE hDrvMain, TI_UINT8 *pBuf, TI_UINT32 uLength) argument
886 eStatus = osInitTable_IniFile (pDrvMain->tStadHandles.hOs, pInitTable, (char*)pBuf, (int)uLength);
1077 * \param pBuf - The file data (NVS for HW-init, FW-Image for FW-init).

Completed in 138 milliseconds