Searched refs:gpphLibContext (Results 1 - 10 of 10) sorted by relevance

/external/libnfc-nxp/src/
H A DphLibNfc_initiator.c127 pClientCb =gpphLibContext->CBInfo.pClientNtfRegRespCB;
152 if((TRUE == gpphLibContext->RegNtfType.MifareUL)&& (sak_byte==0x00))
155 gpphLibContext->psRemoteDevList[DeviceIndx1].psRemoteDevInfo=
157 gpphLibContext->psRemoteDevList[DeviceIndx1].hTargetDev =
158 (phLibNfc_Handle)gpphLibContext->psRemoteDevList[DeviceIndx].psRemoteDevInfo;
159 gpphLibContext->Discov_handle[DeviceIndx1] =
160 gpphLibContext->psRemoteDevList[DeviceIndx1].hTargetDev;
165 if((TRUE == gpphLibContext->RegNtfType.MifareStd)&&
170 gpphLibContext->psRemoteDevList[DeviceIndx1].psRemoteDevInfo=
172 gpphLibContext
[all...]
H A DphLibNfc_ndef_raw.c127 if((NULL == gpphLibContext)||
128 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown))
140 else if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown)
144 else if(0 == gpphLibContext->Connected_handle)
148 else if(hRemoteDevice != gpphLibContext->Connected_handle)
152 else if((TRUE == gpphLibContext->status.GenCb_pending_status)
153 ||(NULL!=gpphLibContext->CBInfo.pClientRdNdefCb)
154 ||(CHK_NDEF_NOT_DONE == gpphLibContext->ndef_cntx.is_ndef))
159 else if(gpphLibContext->ndef_cntx.is_ndef == FALSE)
164 else if((gpphLibContext
[all...]
H A DphLibNfc_target.c88 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
[all...]
H A DphLibNfc_discovery.c82 if((phLibNfc_LibContext_t *)context == gpphLibContext)
85 if(eLibNfcHalStateShutdown == gpphLibContext->LibNfcState.next_state)
93 gpphLibContext->status.GenCb_pending_status = FALSE;
94 gpphLibContext->status.DiscEnbl_status = FALSE;
95 phLibNfc_UpdateCurState(status,gpphLibContext);
97 if(gpphLibContext->status.Discovery_pending_status == TRUE)
103 gpphLibContext->status.Discovery_pending_status = FALSE;
105 gpphLibContext->psHwReference,
106 gpphLibContext->eLibNfcCfgMode,
107 &gpphLibContext
[all...]
H A DphLibNfc.c64 pphLibNfc_LibContext_t gpphLibContext=NULL; variable
91 if(NULL != gpphLibContext)
101 if(NULL != gpphLibContext)
137 if (gpphLibContext->sSeContext.eActivatedMode == phLibNfc_SE_ActModeWired)
198 else if(NULL == gpphLibContext)
201 gpphLibContext=(pphLibNfc_LibContext_t)phOsalNfc_GetMemory(
203 if(NULL == gpphLibContext)
209 (void)memset((void *)gpphLibContext,0,(
213 gpphLibContext->CBInfo.pClientInitCb=pInitCb;
214 gpphLibContext
[all...]
H A DphLibNfc_Ioctl.c111 if(( gpphLibContext == NULL) ||
112 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown))
119 if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown)
150 StatusCode = phHal4Nfc_Ioctl(gpphLibContext->psHwReference,
161 StatusCode = phHal4Nfc_Ioctl( gpphLibContext->psHwReference,
172 StatusCode = phHal4Nfc_Ioctl( gpphLibContext->psHwReference,
183 StatusCode = phHal4Nfc_Ioctl( gpphLibContext->psHwReference,
194 StatusCode = phHal4Nfc_Ioctl( gpphLibContext->psHwReference,
205 StatusCode = phHal4Nfc_Switch_Swp_Mode( gpphLibContext->psHwReference,
227 gpphLibContext
[all...]
H A DphLibNfc_llcp.c50 if(gpphLibContext == NULL)
56 if(gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)
62 if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown)
85 if(gpphLibContext->Connected_handle == 0)
91 if(hRemoteDevice != gpphLibContext->Connected_handle)
98 if ((gpphLibContext->status.GenCb_pending_status == TRUE) ||
99 (gpphLibContext->llcp_cntx.bIsLlcp == FALSE))
133 memcpy( &gpphLibContext->llcp_cntx.sLocalParams,
161 result = phFriNfc_Llcp_Reset( &gpphLibContext->llcp_cntx.sLlcpContext,
162 gpphLibContext
[all...]
H A DphLibNfc_SE.c89 pphLibNfc_LibContext_t pLibContext=(pphLibNfc_LibContext_t)gpphLibContext;
91 if((NULL == gpphLibContext) ||
92 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown))
102 else if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown)
141 if(pLibContext != gpphLibContext)
323 pphLibNfc_LibContext_t pLibContext=(pphLibNfc_LibContext_t)gpphLibContext;
325 if((NULL == gpphLibContext) ||
326 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown))
331 else if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown)
366 if((NULL == gpphLibContext) ||
[all...]
H A DphFriNfc_LlcpMacNfcip.c175 if(gpphLibContext->LibNfcState.next_state
201 if(gpphLibContext->LibNfcState.next_state
254 if(gpphLibContext->LibNfcState.next_state
H A DphLibNfc_Internal.h256 extern pphLibNfc_LibContext_t gpphLibContext;

Completed in 122 milliseconds