Home
last modified time | relevance | path

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

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