Lines Matching refs:gpphLibContext
50 if(gpphLibContext == NULL) in static_CheckState()
56 if(gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown) in static_CheckState()
62 if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown) in static_CheckState()
85 if(gpphLibContext->Connected_handle == 0) in static_CheckDevice()
91 if(hRemoteDevice != gpphLibContext->Connected_handle) in static_CheckDevice()
98 if ((gpphLibContext->status.GenCb_pending_status == TRUE) || in static_CheckDevice()
99 (gpphLibContext->llcp_cntx.bIsLlcp == FALSE)) in static_CheckDevice()
133 memcpy( &gpphLibContext->llcp_cntx.sLocalParams, in phLibNfc_Mgt_SetLlcp_ConfigParams()
161 result = phFriNfc_Llcp_Reset( &gpphLibContext->llcp_cntx.sLlcpContext, in phLibNfc_Mgt_SetLlcp_ConfigParams()
162 gpphLibContext->psOverHalCtxt, in phLibNfc_Mgt_SetLlcp_ConfigParams()
164 gpphLibContext->llcp_cntx.pRxBuffer, in phLibNfc_Mgt_SetLlcp_ConfigParams()
165 sizeof(gpphLibContext->llcp_cntx.pRxBuffer), in phLibNfc_Mgt_SetLlcp_ConfigParams()
166 gpphLibContext->llcp_cntx.pTxBuffer, in phLibNfc_Mgt_SetLlcp_ConfigParams()
167 sizeof(gpphLibContext->llcp_cntx.pTxBuffer), in phLibNfc_Mgt_SetLlcp_ConfigParams()
169 gpphLibContext); in phLibNfc_Mgt_SetLlcp_ConfigParams()
176 result = phFriNfc_LlcpTransport_Reset( &gpphLibContext->llcp_cntx.sLlcpTransportContext, in phLibNfc_Mgt_SetLlcp_ConfigParams()
177 &gpphLibContext->llcp_cntx.sLlcpContext ); in phLibNfc_Mgt_SetLlcp_ConfigParams()
216 if(gpphLibContext->Connected_handle == 0) in phLibNfc_Llcp_CheckLlcp()
222 if(hRemoteDevice != gpphLibContext->Connected_handle) in phLibNfc_Llcp_CheckLlcp()
229 gpphLibContext->CBInfo.pClientLlcpLinkCb = pLink_Cb; in phLibNfc_Llcp_CheckLlcp()
230 gpphLibContext->CBInfo.pClientLlcpLinkCntx = pContext; in phLibNfc_Llcp_CheckLlcp()
233 gpphLibContext->llcp_cntx.sLlcpContext.state = 0; in phLibNfc_Llcp_CheckLlcp()
236 gpphLibContext->CBInfo.pClientLlcpCheckRespCb = pCheckLlcp_RspCb; in phLibNfc_Llcp_CheckLlcp()
237 gpphLibContext->CBInfo.pClientLlcpCheckRespCntx = pContext; in phLibNfc_Llcp_CheckLlcp()
240 result = phLibNfc_UpdateNextState(gpphLibContext, eLibNfcHalStateTransaction); in phLibNfc_Llcp_CheckLlcp()
247 result = phFriNfc_Llcp_ChkLlcp( &gpphLibContext->llcp_cntx.sLlcpContext, in phLibNfc_Llcp_CheckLlcp()
250 gpphLibContext in phLibNfc_Llcp_CheckLlcp()
255 gpphLibContext->status.GenCb_pending_status = TRUE; in phLibNfc_Llcp_CheckLlcp()
277 if(pLibNfc_Ctxt != gpphLibContext) in phLibNfc_Llcp_Link_Cb()
285 phFriNfc_LlcpTransport_CloseAll(&gpphLibContext->llcp_cntx.sLlcpTransportContext); in phLibNfc_Llcp_Link_Cb()
288 pClientCb = gpphLibContext->CBInfo.pClientLlcpLinkCb; in phLibNfc_Llcp_Link_Cb()
289 pClientContext = gpphLibContext->CBInfo.pClientLlcpLinkCntx; in phLibNfc_Llcp_Link_Cb()
308 if(pLibNfc_Ctxt != gpphLibContext) in phLibNfc_Llcp_CheckLlcp_Cb()
315 if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown) in phLibNfc_Llcp_CheckLlcp_Cb()
321 else if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateRelease) in phLibNfc_Llcp_CheckLlcp_Cb()
330 gpphLibContext->llcp_cntx.bIsLlcp = TRUE; in phLibNfc_Llcp_CheckLlcp_Cb()
335 gpphLibContext->llcp_cntx.bIsLlcp = FALSE; in phLibNfc_Llcp_CheckLlcp_Cb()
344 gpphLibContext->status.GenCb_pending_status = FALSE; in phLibNfc_Llcp_CheckLlcp_Cb()
345 phLibNfc_UpdateCurState(RetStatus,gpphLibContext); in phLibNfc_Llcp_CheckLlcp_Cb()
348 pClientCb = gpphLibContext->CBInfo.pClientLlcpCheckRespCb; in phLibNfc_Llcp_CheckLlcp_Cb()
349 pClientContext = gpphLibContext->CBInfo.pClientLlcpCheckRespCntx; in phLibNfc_Llcp_CheckLlcp_Cb()
352 gpphLibContext->CBInfo.pClientCkNdefCb = NULL; in phLibNfc_Llcp_CheckLlcp_Cb()
353 gpphLibContext->CBInfo.pClientCkNdefCntx = NULL; in phLibNfc_Llcp_CheckLlcp_Cb()
388 result = phFriNfc_Llcp_Activate(&gpphLibContext->llcp_cntx.sLlcpContext); in phLibNfc_Llcp_Activate()
418 result = phFriNfc_Llcp_Deactivate(&gpphLibContext->llcp_cntx.sLlcpContext); in phLibNfc_Llcp_Deactivate()
443 result = phFriNfc_Llcp_GetLocalInfo(&gpphLibContext->llcp_cntx.sLlcpContext, pConfigInfo); in phLibNfc_Llcp_GetLocalInfo()
476 result = phFriNfc_Llcp_GetRemoteInfo(&gpphLibContext->llcp_cntx.sLlcpContext, pConfigInfo); in phLibNfc_Llcp_GetRemoteInfo()
517 gpphLibContext->CBInfo.pClientLlcpDiscoveryCb = pDiscover_Cb; in phLibNfc_Llcp_DiscoverServices()
518 gpphLibContext->CBInfo.pClientLlcpDiscoveryCntx = pContext; in phLibNfc_Llcp_DiscoverServices()
521 result = phLibNfc_UpdateNextState(gpphLibContext, eLibNfcHalStateTransaction); in phLibNfc_Llcp_DiscoverServices()
528 …result = phFriNfc_LlcpTransport_DiscoverServices( &gpphLibContext->llcp_cntx.sLlcpTransportContext, in phLibNfc_Llcp_DiscoverServices()
575 result = phFriNfc_LlcpTransport_Socket(&gpphLibContext->llcp_cntx.sLlcpTransportContext, in phLibNfc_Llcp_Socket()