Home
last modified time | relevance | path

Searched refs:LibNfcState (Results 1 – 10 of 10) sorted by relevance

/external/libnfc-nxp/src/
DphLibNfc_target.c89 (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()
129 gpphLibContext->LibNfcState.next_state) in phLibNfc_RemoteDev_Receive()
152 gpphLibContext->LibNfcState.next_state = eLibNfcHalStateTransaction; in phLibNfc_RemoteDev_Receive()
188 if(eLibNfcHalStateShutdown == gpphLibContext->LibNfcState.next_state) in phLibNfc_RemoteDev_Receive_Cb()
194 else if(eLibNfcHalStateRelease == gpphLibContext->LibNfcState.next_state) in phLibNfc_RemoteDev_Receive_Cb()
239 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_RemoteDev_Send()
243 else if (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateRelease) in phLibNfc_RemoteDev_Send()
257 else if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown) in phLibNfc_RemoteDev_Send()
[all …]
DphLibNfc_initiator.c298 gpphLibContext->LibNfcState.cur_state=eLibNfcHalStateConnect; in phLibNfc_NotificationRegister_Resp_Cb()
352 gpphLibContext->LibNfcState.cur_state=eLibNfcHalStateRelease; in phLibNfc_NotificationRegister_Resp_Cb()
408 (gpphLibContext->LibNfcState.cur_state in phLibNfc_RemoteDev_NtfRegister()
413 else if(gpphLibContext->LibNfcState.next_state in phLibNfc_RemoteDev_NtfRegister()
457 (gpphLibContext->LibNfcState.cur_state in phLibNfc_RemoteDev_NtfUnregister()
463 else if(gpphLibContext->LibNfcState.next_state in phLibNfc_RemoteDev_NtfUnregister()
503 gpphLibContext->LibNfcState.cur_state)) in phLibNfc_RemoteDev_ReConnect()
515 else if (gpphLibContext->LibNfcState.next_state in phLibNfc_RemoteDev_ReConnect()
555 gpphLibContext->LibNfcState.next_state = eLibNfcHalStateConnect; in phLibNfc_RemoteDev_ReConnect()
592 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_RemoteDev_Connect()
[all …]
DphLibNfc_discovery.c85 if(eLibNfcHalStateShutdown == gpphLibContext->LibNfcState.next_state) in phLibNfc_config_discovery_cb()
155 (gpphLibContext->LibNfcState.cur_state in phLibNfc_Mgt_ConfigureDiscovery()
166 else if(gpphLibContext->LibNfcState.next_state in phLibNfc_Mgt_ConfigureDiscovery()
193 gpphLibContext->LibNfcState.next_state = eLibNfcHalStateConfigReady; in phLibNfc_Mgt_ConfigureDiscovery()
229 (gpphLibContext->LibNfcState.cur_state in phLibNfc_RemoteDev_CheckPresence()
241 else if(gpphLibContext->LibNfcState.next_state in phLibNfc_RemoteDev_CheckPresence()
298 gpphLibContext->LibNfcState.next_state = eLibNfcHalStatePresenceChk; in phLibNfc_RemoteDev_CheckPresence()
332 if(eLibNfcHalStateShutdown == gpphLibContext->LibNfcState.next_state) in phLibNfc_RemoteDev_CheckPresence_Cb()
DphLibNfc.c242 else if(gpphLibContext->LibNfcState.next_state==eLibNfcHalStateShutdown) in phLibNfc_Mgt_Initialize()
367 || (pLibContext->LibNfcState.cur_state in phLibNfc_Mgt_DeInitialize()
408 pLibContext->LibNfcState.next_state= eLibNfcHalStateShutdown; in phLibNfc_Mgt_DeInitialize()
441 pLibContext->LibNfcState.cur_state = eLibNfcHalStateShutdown; in phLibNfc_ShutdownCb()
520 || (gpphLibContext->LibNfcState.cur_state in phLibNfc_Mgt_Reset()
531 else if(gpphLibContext->LibNfcState.next_state in phLibNfc_Mgt_Reset()
639 gpphLibContext->LibNfcState.cur_state = eLibNfcHalStateInitandIdle; in phLibNfc_Mgt_Reset()
692 switch(pLibContext->LibNfcState.cur_state) in phLibNfc_UpdateNextState()
769 pLibContext->LibNfcState.next_state = in phLibNfc_UpdateNextState()
770 (uint8_t)((NFCSTATUS_SUCCESS == status)?next_state:pLibContext->LibNfcState.next_state); in phLibNfc_UpdateNextState()
[all …]
DphLibNfc_ndef_raw.c128 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_Ndef_Read()
140 else if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown) in phLibNfc_Ndef_Read()
220 gpphLibContext->LibNfcState.next_state) in phLibNfc_Ndef_Read()
259 gpphLibContext->LibNfcState.next_state = eLibNfcHalStateTransaction; in phLibNfc_Ndef_Read()
291 if(eLibNfcHalStateShutdown == gpphLibContext->LibNfcState.next_state) in phLibNfc_Ndef_Read_Cb()
297 else if(eLibNfcHalStateRelease == gpphLibContext->LibNfcState.next_state) in phLibNfc_Ndef_Read_Cb()
382 (gpphLibContext->LibNfcState.cur_state in phLibNfc_Ndef_Write()
394 else if(gpphLibContext->LibNfcState.next_state in phLibNfc_Ndef_Write()
476 gpphLibContext->LibNfcState.next_state) in phLibNfc_Ndef_Write()
513 gpphLibContext->LibNfcState.next_state = eLibNfcHalStateTransaction; in phLibNfc_Ndef_Write()
[all …]
DphLibNfc_Ioctl.c112 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_Mgt_IoCtl()
119 if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown) in phLibNfc_Mgt_IoCtl()
251 if(eLibNfcHalStateShutdown == gpphLibContext->LibNfcState.next_state) in phLibNfc_Ioctl_Mgmt_CB()
312 if(eLibNfcHalStateShutdown == gpphLibContext->LibNfcState.next_state) in phLibNfc_Switch_Swp_Mode_CB()
DphLibNfc_SE.c92 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_SE_NtfRegister()
102 else if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown) in phLibNfc_SE_NtfRegister()
326 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_SE_NtfUnregister()
331 else if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown) in phLibNfc_SE_NtfUnregister()
367 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_SE_GetSecureElementList()
375 else if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown) in phLibNfc_SE_GetSecureElementList()
452 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_SE_SetMode()
461 else if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown) in phLibNfc_SE_SetMode()
684 if(eLibNfcHalStateShutdown == gpphLibContext->LibNfcState.next_state) in phLibNfc_SE_SetMode_cb()
DphFriNfc_LlcpMacNfcip.c175 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()
DphLibNfc_llcp.c56 if(gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown) in static_CheckState()
62 if(gpphLibContext->LibNfcState.next_state == eLibNfcHalStateShutdown) in static_CheckState()
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()
DphLibNfc_Internal.h212 phNfc_sState_t LibNfcState; member