Home | History | Annotate | Download | only in src

Lines Matching refs:gpphLibContext

88     if((NULL == gpphLibContext)|| 
89 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown))
93 else if (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateRelease)
103 else if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown)
107 else if((TRUE == gpphLibContext->status.GenCb_pending_status)
108 ||(NULL!=gpphLibContext->sNfcIp_Context.pClientNfcIpRxCb)
115 else if(gpphLibContext->sNfcIp_Context.Rem_Initiator_Handle != hRemoteDevice)
120 else if ((LLCP_STATE_RESET_INIT != gpphLibContext->llcp_cntx.sLlcpContext.state)
121 && (LLCP_STATE_CHECKED != gpphLibContext->llcp_cntx.sLlcpContext.state))
129 gpphLibContext->LibNfcState.next_state)
131 gpphLibContext->sNfcIp_Context.pClientNfcIpRxCb = NULL;
139 gpphLibContext->psHwReference,
140 (phHal4Nfc_TransactInfo_t*)gpphLibContext->psTransInfo,
143 (void *)gpphLibContext
149 gpphLibContext->sNfcIp_Context.pClientNfcIpRxCb= pReceiveRspCb;
150 gpphLibContext->sNfcIp_Context.pClientNfcIpRxCntx = pContext;
151 gpphLibContext->status.GenCb_pending_status=TRUE;
152 gpphLibContext->LibNfcState.next_state = eLibNfcHalStateTransaction;
176 if(pLibNfc_Ctxt != gpphLibContext)
182 pClientCb = gpphLibContext->sNfcIp_Context.pClientNfcIpRxCb;
183 pUpperLayerContext = gpphLibContext->sNfcIp_Context.pClientNfcIpRxCntx;
185 gpphLibContext->sNfcIp_Context.pClientNfcIpRxCb = NULL;
186 gpphLibContext->sNfcIp_Context.pClientNfcIpRxCntx = NULL;
187 gpphLibContext->status.GenCb_pending_status = FALSE;
188 if(eLibNfcHalStateShutdown == gpphLibContext->LibNfcState.next_state)
194 else if(eLibNfcHalStateRelease == gpphLibContext->LibNfcState.next_state)
213 phLibNfc_UpdateCurState(status,gpphLibContext);
238 if((NULL == gpphLibContext)||
239 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown))
243 else if (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateRelease)
257 else if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown)
261 else if((TRUE == gpphLibContext->status.GenCb_pending_status)
262 ||(NULL!=gpphLibContext->sNfcIp_Context.pClientNfcIpRxCb)
270 else if(gpphLibContext->sNfcIp_Context.Rem_Initiator_Handle != hRemoteDevice)
274 else if((NULL!=gpphLibContext->sNfcIp_Context.pClientNfcIpTxCb))
279 else if ((LLCP_STATE_RESET_INIT != gpphLibContext->llcp_cntx.sLlcpContext.state)
280 && (LLCP_STATE_CHECKED != gpphLibContext->llcp_cntx.sLlcpContext.state))
288 gpphLibContext->LibNfcState.next_state)
290 gpphLibContext->sNfcIp_Context.pClientNfcIpTxCb = NULL;
295 if(gpphLibContext->psTransInfo!=NULL)
297 (void)memset(gpphLibContext->psTransInfo,
301 gpphLibContext->psTransInfo->addr =UNKNOWN_BLOCK_ADDRESS;
303 gpphLibContext->psTransInfo->sSendData.buffer =
306 gpphLibContext->psTransInfo->sSendData.length =
310 gpphLibContext->sNfcIp_Context.TransactInfoRole.remotePCDType =
315 gpphLibContext->psHwReference,
316 &(gpphLibContext->sNfcIp_Context.TransactInfoRole),
317 gpphLibContext->psTransInfo->sSendData,
320 (void *)gpphLibContext
327 gpphLibContext->sNfcIp_Context.pClientNfcIpTxCb= pSendRspCb;
328 gpphLibContext->sNfcIp_Context.pClientNfcIpTxCntx = pContext;
329 gpphLibContext->status.GenCb_pending_status=TRUE;
330 gpphLibContext->LibNfcState.next_state = eLibNfcHalStateTransaction;
353 if(pLibNfc_Ctxt != gpphLibContext)
359 if(eLibNfcHalStateShutdown == gpphLibContext->LibNfcState.next_state)
365 else if(eLibNfcHalStateRelease == gpphLibContext->LibNfcState.next_state)
371 gpphLibContext->status.GenCb_pending_status = FALSE;
385 phLibNfc_UpdateCurState(status,gpphLibContext);
387 pClientCb = gpphLibContext->sNfcIp_Context.pClientNfcIpTxCb;
388 pUpperLayerContext = gpphLibContext->sNfcIp_Context.pClientNfcIpTxCntx;
390 gpphLibContext->sNfcIp_Context.pClientNfcIpTxCb = NULL;
391 gpphLibContext->sNfcIp_Context.pClientNfcIpTxCntx = NULL;