Home
last modified time | relevance | path

Searched refs:nxpncihal_ctrl (Results 1 – 6 of 6) sorted by relevance

/external/libnfc-nci/halimpl/pn54x/hal/
DphNxpNciHal.c43 phNxpNciHal_Control_t nxpncihal_ctrl; variable
152 if (nxpncihal_ctrl.p_nfc_stack_cback != NULL) in phNxpNciHal_client_thread()
155 (*nxpncihal_ctrl.p_nfc_stack_cback)(HAL_NFC_OPEN_CPLT_EVT, in phNxpNciHal_client_thread()
165 if (nxpncihal_ctrl.p_nfc_stack_cback != NULL) in phNxpNciHal_client_thread()
168 (*nxpncihal_ctrl.p_nfc_stack_cback)(HAL_NFC_CLOSE_CPLT_EVT, in phNxpNciHal_client_thread()
170 phNxpNciHal_kill_client_thread(&nxpncihal_ctrl); in phNxpNciHal_client_thread()
179 if (nxpncihal_ctrl.p_nfc_stack_cback != NULL) in phNxpNciHal_client_thread()
182 (*nxpncihal_ctrl.p_nfc_stack_cback)(HAL_NFC_POST_INIT_CPLT_EVT, in phNxpNciHal_client_thread()
192 if (nxpncihal_ctrl.p_nfc_stack_cback != NULL) in phNxpNciHal_client_thread()
195 (*nxpncihal_ctrl.p_nfc_stack_cback)( in phNxpNciHal_client_thread()
[all …]
DphNxpNciHal_Kovio.c27 extern phNxpNciHal_Control_t nxpncihal_ctrl;
84 if (nxpncihal_ctrl.p_nfc_stack_data_cback != NULL) in kovio_timer_handler()
86 (*nxpncihal_ctrl.p_nfc_stack_data_cback)( in kovio_timer_handler()
118 if (nxpncihal_ctrl.p_nfc_stack_data_cback!= NULL && in phNxpNciHal_rf_deactivate()
119 nxpncihal_ctrl.hal_open_status == TRUE) in phNxpNciHal_rf_deactivate()
124 nxpncihal_ctrl.rx_data_len = sizeof(reset_ntf); in phNxpNciHal_rf_deactivate()
125 memcpy(nxpncihal_ctrl.p_rx_data, reset_ntf, sizeof(reset_ntf)); in phNxpNciHal_rf_deactivate()
126 … (*nxpncihal_ctrl.p_nfc_stack_data_cback)(nxpncihal_ctrl.rx_data_len, nxpncihal_ctrl.p_rx_data); in phNxpNciHal_rf_deactivate()
262 if (nxpncihal_ctrl.p_nfc_stack_data_cback != NULL) in phNxpNciHal_clean_Kovio_Ext()
264 (*nxpncihal_ctrl.p_nfc_stack_data_cback)( in phNxpNciHal_clean_Kovio_Ext()
DphNxpNciHal_ext.c30 extern phNxpNciHal_Control_t nxpncihal_ctrl;
503 if (phNxpNciHal_init_cb_data(&nxpncihal_ctrl.ext_cb_data, NULL) in phNxpNciHal_process_ext_cmd_rsp()
510 nxpncihal_ctrl.ext_cb_data.status = NFCSTATUS_SUCCESS; in phNxpNciHal_process_ext_cmd_rsp()
538 if (SEM_WAIT(nxpncihal_ctrl.ext_cb_data)) in phNxpNciHal_process_ext_cmd_rsp()
558 if(nxpncihal_ctrl.ext_cb_data.status != NFCSTATUS_SUCCESS) in phNxpNciHal_process_ext_cmd_rsp()
560 …Callback Status is failed!! Timer Expired!! Couldn't read it! 0x%x", nxpncihal_ctrl.ext_cb_data.st… in phNxpNciHal_process_ext_cmd_rsp()
569 phNxpNciHal_cleanup_cb_data(&nxpncihal_ctrl.ext_cb_data); in phNxpNciHal_process_ext_cmd_rsp()
977 nxpncihal_ctrl.cmd_len = cmd_len; in phNxpNciHal_send_ext_cmd()
978 memcpy(nxpncihal_ctrl.p_cmd_data, p_cmd, cmd_len); in phNxpNciHal_send_ext_cmd()
979 status = phNxpNciHal_process_ext_cmd_rsp(nxpncihal_ctrl.cmd_len, nxpncihal_ctrl.p_cmd_data); in phNxpNciHal_send_ext_cmd()
[all …]
DphNxpNciHal.h45 #define HAL_ENABLE_EXT() (nxpncihal_ctrl.hal_ext_enabled = 1)
46 #define HAL_DISABLE_EXT() (nxpncihal_ctrl.hal_ext_enabled = 0)
DphNxpNciHal_NfcDepSWPrio.c26 extern phNxpNciHal_Control_t nxpncihal_ctrl;
/external/libnfc-nci/halimpl/pn54x/tml/
DphOsalNfc_Timer.c31 extern phNxpNciHal_Control_t nxpncihal_ctrl;
364 …(void)phDal4Nfc_msgsnd(nxpncihal_ctrl.gDrvCfg.nClientId/*gpphOsalNfc_Context->dwCallbackThreadID*/… in phOsalNfc_PostTimerMsg()