Searched refs:gpphLibContext (Results 1 – 10 of 10) sorted by relevance
/external/libnfc-nxp/src/ |
D | phLibNfc_initiator.c | 127 pClientCb =gpphLibContext->CBInfo.pClientNtfRegRespCB; in phLibNfc_NotificationRegister_Resp_Cb() 152 if((TRUE == gpphLibContext->RegNtfType.MifareUL)&& (sak_byte==0x00)) in phLibNfc_NotificationRegister_Resp_Cb() 155 gpphLibContext->psRemoteDevList[DeviceIndx1].psRemoteDevInfo= in phLibNfc_NotificationRegister_Resp_Cb() 157 gpphLibContext->psRemoteDevList[DeviceIndx1].hTargetDev = in phLibNfc_NotificationRegister_Resp_Cb() 158 (phLibNfc_Handle)gpphLibContext->psRemoteDevList[DeviceIndx].psRemoteDevInfo; in phLibNfc_NotificationRegister_Resp_Cb() 159 gpphLibContext->Discov_handle[DeviceIndx1] = in phLibNfc_NotificationRegister_Resp_Cb() 160 gpphLibContext->psRemoteDevList[DeviceIndx1].hTargetDev; in phLibNfc_NotificationRegister_Resp_Cb() 165 if((TRUE == gpphLibContext->RegNtfType.MifareStd)&& in phLibNfc_NotificationRegister_Resp_Cb() 170 gpphLibContext->psRemoteDevList[DeviceIndx1].psRemoteDevInfo= in phLibNfc_NotificationRegister_Resp_Cb() 172 gpphLibContext->psRemoteDevList[DeviceIndx1].hTargetDev = in phLibNfc_NotificationRegister_Resp_Cb() [all …]
|
D | phLibNfc_ndef_raw.c | 127 if((NULL == gpphLibContext)|| in phLibNfc_Ndef_Read() 128 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_Ndef_Read() 140 else if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown) in phLibNfc_Ndef_Read() 144 else if(0 == gpphLibContext->Connected_handle) in phLibNfc_Ndef_Read() 148 else if(hRemoteDevice != gpphLibContext->Connected_handle) in phLibNfc_Ndef_Read() 152 else if((TRUE == gpphLibContext->status.GenCb_pending_status) in phLibNfc_Ndef_Read() 153 ||(NULL!=gpphLibContext->CBInfo.pClientRdNdefCb) in phLibNfc_Ndef_Read() 154 ||(CHK_NDEF_NOT_DONE == gpphLibContext->ndef_cntx.is_ndef)) in phLibNfc_Ndef_Read() 159 else if(gpphLibContext->ndef_cntx.is_ndef == FALSE) in phLibNfc_Ndef_Read() 164 else if((gpphLibContext->ndef_cntx.is_ndef == TRUE) in phLibNfc_Ndef_Read() [all …]
|
D | phLibNfc.c | 64 pphLibNfc_LibContext_t gpphLibContext=NULL; variable 91 if(NULL != gpphLibContext) in phLibNfc_Mgt_ConfigureDriver() 101 if(NULL != gpphLibContext) in phLibNfc_Mgt_UnConfigureDriver() 137 if (gpphLibContext->sSeContext.eActivatedMode == phLibNfc_SE_ActModeWired) in phLibNfc_Mgt_Recovery() 198 else if(NULL == gpphLibContext) in phLibNfc_Mgt_Initialize() 201 gpphLibContext=(pphLibNfc_LibContext_t)phOsalNfc_GetMemory( in phLibNfc_Mgt_Initialize() 203 if(NULL == gpphLibContext) in phLibNfc_Mgt_Initialize() 209 (void)memset((void *)gpphLibContext,0,( in phLibNfc_Mgt_Initialize() 213 gpphLibContext->CBInfo.pClientInitCb=pInitCb; in phLibNfc_Mgt_Initialize() 214 gpphLibContext->CBInfo.pClientInitCntx=pContext; in phLibNfc_Mgt_Initialize() [all …]
|
D | phLibNfc_discovery.c | 82 if((phLibNfc_LibContext_t *)context == gpphLibContext) in phLibNfc_config_discovery_cb() 85 if(eLibNfcHalStateShutdown == gpphLibContext->LibNfcState.next_state) in phLibNfc_config_discovery_cb() 93 gpphLibContext->status.GenCb_pending_status = FALSE; in phLibNfc_config_discovery_cb() 94 gpphLibContext->status.DiscEnbl_status = FALSE; in phLibNfc_config_discovery_cb() 95 phLibNfc_UpdateCurState(status,gpphLibContext); in phLibNfc_config_discovery_cb() 97 if(gpphLibContext->status.Discovery_pending_status == TRUE) in phLibNfc_config_discovery_cb() 103 gpphLibContext->status.Discovery_pending_status = FALSE; in phLibNfc_config_discovery_cb() 105 gpphLibContext->psHwReference, in phLibNfc_config_discovery_cb() 106 gpphLibContext->eLibNfcCfgMode, in phLibNfc_config_discovery_cb() 107 &gpphLibContext->sADDconfig, in phLibNfc_config_discovery_cb() [all …]
|
D | phLibNfc_target.c | 88 if((NULL == gpphLibContext)|| in phLibNfc_RemoteDev_Receive() 89 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_RemoteDev_Receive() 93 else if (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateRelease) in phLibNfc_RemoteDev_Receive() 103 else if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown) in phLibNfc_RemoteDev_Receive() 107 else if((TRUE == gpphLibContext->status.GenCb_pending_status) in phLibNfc_RemoteDev_Receive() 108 ||(NULL!=gpphLibContext->sNfcIp_Context.pClientNfcIpRxCb) in phLibNfc_RemoteDev_Receive() 115 else if(gpphLibContext->sNfcIp_Context.Rem_Initiator_Handle != hRemoteDevice) in phLibNfc_RemoteDev_Receive() 120 else if ((LLCP_STATE_RESET_INIT != gpphLibContext->llcp_cntx.sLlcpContext.state) in phLibNfc_RemoteDev_Receive() 121 && (LLCP_STATE_CHECKED != gpphLibContext->llcp_cntx.sLlcpContext.state)) in phLibNfc_RemoteDev_Receive() 129 gpphLibContext->LibNfcState.next_state) in phLibNfc_RemoteDev_Receive() [all …]
|
D | phLibNfc_llcp.c | 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() [all …]
|
D | phLibNfc_Ioctl.c | 111 if(( gpphLibContext == NULL) || in phLibNfc_Mgt_IoCtl() 112 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_Mgt_IoCtl() 119 if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown) in phLibNfc_Mgt_IoCtl() 150 StatusCode = phHal4Nfc_Ioctl(gpphLibContext->psHwReference, in phLibNfc_Mgt_IoCtl() 161 StatusCode = phHal4Nfc_Ioctl( gpphLibContext->psHwReference, in phLibNfc_Mgt_IoCtl() 172 StatusCode = phHal4Nfc_Ioctl( gpphLibContext->psHwReference, in phLibNfc_Mgt_IoCtl() 183 StatusCode = phHal4Nfc_Ioctl( gpphLibContext->psHwReference, in phLibNfc_Mgt_IoCtl() 194 StatusCode = phHal4Nfc_Ioctl( gpphLibContext->psHwReference, in phLibNfc_Mgt_IoCtl() 205 StatusCode = phHal4Nfc_Switch_Swp_Mode( gpphLibContext->psHwReference, in phLibNfc_Mgt_IoCtl() 227 gpphLibContext->status.GenCb_pending_status=TRUE; in phLibNfc_Mgt_IoCtl() [all …]
|
D | phLibNfc_SE.c | 89 pphLibNfc_LibContext_t pLibContext=(pphLibNfc_LibContext_t)gpphLibContext; in phLibNfc_SE_NtfRegister() 91 if((NULL == gpphLibContext) || in phLibNfc_SE_NtfRegister() 92 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_SE_NtfRegister() 102 else if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown) in phLibNfc_SE_NtfRegister() 141 if(pLibContext != gpphLibContext) in phLibNfc_SeNotification() 323 pphLibNfc_LibContext_t pLibContext=(pphLibNfc_LibContext_t)gpphLibContext; in phLibNfc_SE_NtfUnregister() 325 if((NULL == gpphLibContext) || in phLibNfc_SE_NtfUnregister() 326 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_SE_NtfUnregister() 331 else if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown) in phLibNfc_SE_NtfUnregister() 366 if((NULL == gpphLibContext) || in phLibNfc_SE_GetSecureElementList() [all …]
|
D | phFriNfc_LlcpMacNfcip.c | 175 if(gpphLibContext->LibNfcState.next_state in phFriNfc_LlcpMac_Nfcip_Send_Cb() 201 if(gpphLibContext->LibNfcState.next_state in phFriNfc_LlcpMac_Nfcip_Receive_Cb() 254 if(gpphLibContext->LibNfcState.next_state in phFriNfc_LlcpMac_Nfcip_Transceive_Cb()
|
D | phLibNfc_Internal.h | 256 extern pphLibNfc_LibContext_t gpphLibContext;
|