Home
last modified time | relevance | path

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

/external/libnfc-nxp/src/
DphHal4Nfc_Reader.c77 NFCSTATUS RetStatus = NFCSTATUS_SUCCESS; in phHal4Nfc_Connect() local
87 RetStatus = PHNFCSTVAL(CID_NFC_HAL ,NFCSTATUS_INVALID_PARAMETER); in phHal4Nfc_Connect()
98 RetStatus = PHNFCSTVAL(CID_NFC_HAL ,NFCSTATUS_NOT_INITIALISED); in phHal4Nfc_Connect()
106 RetStatus = PHNFCSTVAL(CID_NFC_HAL ,NFCSTATUS_FEATURE_NOT_SUPPORTED); in phHal4Nfc_Connect()
139 RetStatus = PHNFCSTVAL(CID_NFC_HAL , in phHal4Nfc_Connect()
153 RetStatus = phHciNfc_Connect(Hal4Ctxt->psHciHandle, in phHal4Nfc_Connect()
156 if(NFCSTATUS_PENDING == RetStatus) in phHal4Nfc_Connect()
164 RetStatus = phHciNfc_Reactivate ( in phHal4Nfc_Connect()
171 if(NFCSTATUS_PENDING != RetStatus) in phHal4Nfc_Connect()
185 RetStatus = phHciNfc_Reactivate ( in phHal4Nfc_Connect()
[all …]
DphHal4Nfc_P2P.c68 NFCSTATUS RetStatus = NFCSTATUS_PENDING; in phHal4Nfc_Send() local
78 RetStatus = PHNFCSTVAL(CID_NFC_HAL ,NFCSTATUS_INVALID_PARAMETER); in phHal4Nfc_Send()
89 RetStatus = PHNFCSTVAL(CID_NFC_HAL ,NFCSTATUS_NOT_INITIALISED); in phHal4Nfc_Send()
94 RetStatus = PHNFCSTVAL(CID_NFC_HAL ,NFCSTATUS_INVALID_DEVICE); in phHal4Nfc_Send()
101 RetStatus= PHNFCSTVAL(CID_NFC_HAL ,NFCSTATUS_FAILED); in phHal4Nfc_Send()
151 RetStatus = phHciNfc_Send_Data ( in phHal4Nfc_Send()
158 if (NFCSTATUS_PENDING == RetStatus) in phHal4Nfc_Send()
171 RetStatus = PHNFCSTVAL(CID_NFC_HAL ,NFCSTATUS_DESELECTED); in phHal4Nfc_Send()
174 return RetStatus; in phHal4Nfc_Send()
190 NFCSTATUS RetStatus = NFCSTATUS_PENDING; in phHal4Nfc_Receive() local
[all …]
DphHal4Nfc.c460 NFCSTATUS RetStatus = NFCSTATUS_FAILED; in phHal4Nfc_Ioctl() local
470 RetStatus = PHNFCSTVAL(CID_NFC_HAL ,NFCSTATUS_INVALID_PARAMETER); in phHal4Nfc_Ioctl()
481 RetStatus = phDnldNfc_Run_Check( in phHal4Nfc_Ioctl()
496 RetStatus = PHNFCSTVAL(CID_NFC_HAL, in phHal4Nfc_Ioctl()
511 RetStatus = phDnldNfc_Upgrade ( in phHal4Nfc_Ioctl()
516 if((NFCSTATUS_SUCCESS == RetStatus) in phHal4Nfc_Ioctl()
517 || (NFCSTATUS_PENDING != PHNFCSTATUS(RetStatus)) in phHal4Nfc_Ioctl()
528 RetStatus = PHNFCSTVAL(CID_NFC_HAL ,NFCSTATUS_NOT_INITIALISED); in phHal4Nfc_Ioctl()
544 RetStatus = phHciNfc_System_Test( in phHal4Nfc_Ioctl()
554 RetStatus = phHciNfc_PRBS_Test( in phHal4Nfc_Ioctl()
[all …]
DphLibNfc_ndef_raw.c278 NFCSTATUS RetStatus = NFCSTATUS_SUCCESS; in phLibNfc_Ndef_Read_Cb() local
295 RetStatus = NFCSTATUS_SHUTDOWN; in phLibNfc_Ndef_Read_Cb()
299 RetStatus = NFCSTATUS_ABORTED; in phLibNfc_Ndef_Read_Cb()
313 RetStatus = NFCSTATUS_FAILED; in phLibNfc_Ndef_Read_Cb()
324 RetStatus = phHal4Nfc_Connect(gpphLibContext->psHwReference, in phLibNfc_Ndef_Read_Cb()
335 RetStatus = NFCSTATUS_SUCCESS; in phLibNfc_Ndef_Read_Cb()
340 RetStatus = NFCSTATUS_FAILED; in phLibNfc_Ndef_Read_Cb()
351 if(NFCSTATUS_PENDING != RetStatus) in phLibNfc_Ndef_Read_Cb()
356 pClientCb(pUpperLayerContext,RetStatus); in phLibNfc_Ndef_Read_Cb()
866 NFCSTATUS RetStatus = NFCSTATUS_SUCCESS; in phLibNfc_Ndef_CheckNdef_Cb() local
[all …]
DphHal4Nfc_ADD.c896 NFCSTATUS RetStatus = NFCSTATUS_SUCCESS; in phHal4Nfc_RegisterNotification() local
901 RetStatus = PHNFCSTVAL(CID_NFC_HAL , NFCSTATUS_INVALID_PARAMETER); in phHal4Nfc_RegisterNotification()
912 RetStatus = PHNFCSTVAL(CID_NFC_HAL , NFCSTATUS_NOT_INITIALISED); in phHal4Nfc_RegisterNotification()
931 RetStatus = NFCSTATUS_FEATURE_NOT_SUPPORTED; in phHal4Nfc_RegisterNotification()
946 return RetStatus; in phHal4Nfc_RegisterNotification()
957 NFCSTATUS RetStatus = NFCSTATUS_SUCCESS; in phHal4Nfc_UnregisterNotification() local
962 RetStatus = PHNFCSTVAL(CID_NFC_HAL , NFCSTATUS_INVALID_PARAMETER); in phHal4Nfc_UnregisterNotification()
973 RetStatus = PHNFCSTVAL(CID_NFC_HAL , NFCSTATUS_NOT_INITIALISED); in phHal4Nfc_UnregisterNotification()
995 RetStatus = NFCSTATUS_FEATURE_NOT_SUPPORTED; in phHal4Nfc_UnregisterNotification()
1011 return RetStatus; in phHal4Nfc_UnregisterNotification()
DphLibNfc_llcp.c304 NFCSTATUS RetStatus = NFCSTATUS_SUCCESS; in phLibNfc_Llcp_CheckLlcp_Cb() local
319 RetStatus = NFCSTATUS_SHUTDOWN; in phLibNfc_Llcp_CheckLlcp_Cb()
323 RetStatus = NFCSTATUS_ABORTED; in phLibNfc_Llcp_CheckLlcp_Cb()
334 RetStatus = NFCSTATUS_FAILED; in phLibNfc_Llcp_CheckLlcp_Cb()
339 RetStatus = NFCSTATUS_TARGET_LOST; in phLibNfc_Llcp_CheckLlcp_Cb()
345 phLibNfc_UpdateCurState(RetStatus,gpphLibContext); in phLibNfc_Llcp_CheckLlcp_Cb()
358 pClientCb(pClientContext,RetStatus); in phLibNfc_Llcp_CheckLlcp_Cb()
DphLibNfc_discovery.c99 NFCSTATUS RetStatus = NFCSTATUS_FAILED; in phLibNfc_config_discovery_cb() local
104 RetStatus = phHal4Nfc_ConfigureDiscovery( in phLibNfc_config_discovery_cb()
111 if (NFCSTATUS_PENDING == RetStatus) in phLibNfc_config_discovery_cb()
DphHal4Nfc_Emulation.c306 NFCSTATUS RetStatus = NFCSTATUS_PENDING; in phHal4Nfc_Host_Emulation_Mode() local
314 RetStatus = PHNFCSTVAL(CID_NFC_HAL , NFCSTATUS_INVALID_PARAMETER); in phHal4Nfc_Host_Emulation_Mode()
326 RetStatus = PHNFCSTVAL(CID_NFC_HAL , NFCSTATUS_NOT_INITIALISED); in phHal4Nfc_Host_Emulation_Mode()
DphLibNfc.c500 NFCSTATUS RetStatus = NFCSTATUS_SUCCESS ; in phLibNfc_Pending_Shutdown() local
502 RetStatus = phHal4Nfc_Close( in phLibNfc_Pending_Shutdown()
506 PHNFC_UNUSED_VARIABLE(RetStatus); in phLibNfc_Pending_Shutdown()
DphLibNfc_initiator.c689 NFCSTATUS RetStatus = NFCSTATUS_FAILED; in phLibNfc_config_discovery_con_failure_cb() local
694 RetStatus = phHal4Nfc_ConfigureDiscovery( in phLibNfc_config_discovery_con_failure_cb()
701 if (NFCSTATUS_PENDING == RetStatus) in phLibNfc_config_discovery_con_failure_cb()