Lines Matching defs:pBusDrv
109 TBusDrvObj *pBusDrv;
115 pBusDrv = (TBusDrvObj *)hBusDrv;
119 pBusDrv->hOs = hOs;
123 pBusDrv->hWspi= WSPI_Open(hOs);
125 return pBusDrv;
142 TBusDrvObj *pBusDrv = (TBusDrvObj*)hBusDrv;
144 if (pBusDrv)
147 WSPI_Close(pBusDrv->hWspi);
148 os_memoryFree (pBusDrv->hOs, pBusDrv, sizeof(TBusDrvObj));
171 TBusDrvObj *pBusDrv = (TBusDrvObj*) hBusDrv;
175 pBusDrv->hReport = hReport;
210 TBusDrvObj *pBusDrv = (TBusDrvObj*)hBusDrv;
216 pBusDrv->fTxnDoneCb = fCbFunc;
217 pBusDrv->hCbHandle = hCbArg;
218 pBusDrv->fTxnConnectDoneCb = fConnectCbFunc;
230 iStatus = WSPI_Configure(pBusDrv->hWspi, pBusDrv->hReport, &wspi_config, &cb);
235 TRACE1 (pBusDrv->hReport, REPORT_SEVERITY_INIT, "busDrv_ConnectBus: called Status %d\n",iStatus);
238 TRACE2 (pBusDrv->hReport, REPORT_SEVERITY_INFORMATION, "busDrv_ConnectBus: Successful Status %d\n",iStatus);
243 TRACE2(pBusDrv->hReport, REPORT_SEVERITY_ERROR, "busDrv_ConnectBus: Status = %d,\n", iStatus);
279 TBusDrvObj *pBusDrv = (TBusDrvObj*)hBusDrv;
283 pBusDrv->pCurrTxn = pTxn;
284 pBusDrv->eCurrTxnStatus = TXN_STATUS_COMPLETE; /* The Txn is Sync as long as it continues in this context */
292 //WLAN_REPORT_INIT(pBusDrv->hReport, TNETW_DRV_MODULE_LOG,
296 /*WLAN_REPORT_ERROR(pBusDrv->hReport, BUS_DRV_MODULE_LOG,
304 pBusDrv->eCurrTxnStatus = WSPI_WriteAsync(pBusDrv->hWspi, pTxn->uHwAddr,tempWriteBuff,pTxn->aLen[0], &cb, TI_TRUE, TI_TRUE,TXN_PARAM_GET_FIXED_ADDR(pTxn));
311 //WLAN_REPORT_INIT(pBusDrv->hReport, TNETW_DRV_MODULE_LOG,
319 pBusDrv->eCurrTxnStatus = WSPI_ReadAsync(pBusDrv->hWspi, pTxn->uHwAddr,tempReadBuff,pTxn->aLen[0], &cb, TI_TRUE, TI_TRUE,TXN_PARAM_GET_FIXED_ADDR(pTxn));
325 return (pBusDrv->eCurrTxnStatus == WSPI_TXN_COMPLETE ? TXN_STATUS_COMPLETE :
326 (pBusDrv->eCurrTxnStatus == WSPI_TXN_PENDING ? TXN_STATUS_PENDING : TXN_STATUS_ERROR));
347 TBusDrvObj *pBusDrv = (TBusDrvObj*)hBusDrv;
351 TRACE2(pBusDrv->hReport, REPORT_SEVERITY_ERROR, "asyncEnded_CB : Status = %d, fTxnDoneCb = 0x%x\n", status,pBusDrv->fTxnDoneCb);
353 TXN_PARAM_SET_STATUS(pBusDrv->pCurrTxn, TXN_PARAM_STATUS_ERROR);
357 TRACE2(pBusDrv->hReport, REPORT_SEVERITY_INFORMATION,"asyncEnded_CB: Successful async cb done pBusDrv->pCurrTxn %x\n", pBusDrv->pCurrTxn);
362 pBusDrv->fTxnDoneCb(pBusDrv->hCbHandle,pBusDrv->pCurrTxn);
381 TBusDrvObj *pBusDrv = (TBusDrvObj*)hBusDrv;
385 TRACE2(pBusDrv->hReport, REPORT_SEVERITY_ERROR, "ConnectDone_CB : Status = %d, fTxnConnectDoneCb = 0x%x\n", status,pBusDrv->fTxnConnectDoneCb);
387 TXN_PARAM_SET_STATUS(pBusDrv->pCurrTxn, TXN_PARAM_STATUS_ERROR);
391 TRACE1 (pBusDrv->hReport, REPORT_SEVERITY_INIT, "ConnectDone_CB: Successful Connect Async cb done \n");
396 pBusDrv->fTxnConnectDoneCb(pBusDrv->hCbHandle,pBusDrv->pCurrTxn);