Home
last modified time | relevance | path

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

/system/nfc/halimpl/pn54x/hal/
DphNxpNciHal.c44 phNxpNciHal_Control_t nxpncihal_ctrl; variable
157 if (nxpncihal_ctrl.p_nfc_stack_cback != NULL) { in phNxpNciHal_client_thread()
159 (*nxpncihal_ctrl.p_nfc_stack_cback)(HAL_NFC_OPEN_CPLT_EVT, in phNxpNciHal_client_thread()
168 if (nxpncihal_ctrl.p_nfc_stack_cback != NULL) { in phNxpNciHal_client_thread()
170 (*nxpncihal_ctrl.p_nfc_stack_cback)(HAL_NFC_CLOSE_CPLT_EVT, in phNxpNciHal_client_thread()
172 phNxpNciHal_kill_client_thread(&nxpncihal_ctrl); in phNxpNciHal_client_thread()
180 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()
191 if (nxpncihal_ctrl.p_nfc_stack_cback != NULL) { in phNxpNciHal_client_thread()
193 (*nxpncihal_ctrl.p_nfc_stack_cback)(HAL_NFC_PRE_DISCOVER_CPLT_EVT, in phNxpNciHal_client_thread()
[all …]
DphNxpNciHal_Kovio.c28 extern phNxpNciHal_Control_t nxpncihal_ctrl;
86 if (nxpncihal_ctrl.p_nfc_stack_data_cback != NULL) { in kovio_timer_handler()
87 (*nxpncihal_ctrl.p_nfc_stack_data_cback)(sizeof(rf_deactivated_ntf), in kovio_timer_handler()
116 if (nxpncihal_ctrl.p_nfc_stack_data_cback != NULL && in phNxpNciHal_rf_deactivate()
117 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, in phNxpNciHal_rf_deactivate()
127 nxpncihal_ctrl.p_rx_data); in phNxpNciHal_rf_deactivate()
237 if (nxpncihal_ctrl.p_nfc_stack_data_cback != NULL) { in phNxpNciHal_clean_Kovio_Ext()
[all …]
DphNxpNciHal_ext.c31 extern phNxpNciHal_Control_t nxpncihal_ctrl;
440 if (phNxpNciHal_init_cb_data(&nxpncihal_ctrl.ext_cb_data, NULL) != in phNxpNciHal_process_ext_cmd_rsp()
446 nxpncihal_ctrl.ext_cb_data.status = NFCSTATUS_SUCCESS; in phNxpNciHal_process_ext_cmd_rsp()
468 if (SEM_WAIT(nxpncihal_ctrl.ext_cb_data)) { in phNxpNciHal_process_ext_cmd_rsp()
484 if (nxpncihal_ctrl.ext_cb_data.status != NFCSTATUS_SUCCESS) { in phNxpNciHal_process_ext_cmd_rsp()
487 nxpncihal_ctrl.ext_cb_data.status); in phNxpNciHal_process_ext_cmd_rsp()
496 phNxpNciHal_cleanup_cb_data(&nxpncihal_ctrl.ext_cb_data); in phNxpNciHal_process_ext_cmd_rsp()
837 nxpncihal_ctrl.cmd_len = cmd_len; in phNxpNciHal_send_ext_cmd()
838 memcpy(nxpncihal_ctrl.p_cmd_data, p_cmd, cmd_len); in phNxpNciHal_send_ext_cmd()
839 status = phNxpNciHal_process_ext_cmd_rsp(nxpncihal_ctrl.cmd_len, in phNxpNciHal_send_ext_cmd()
[all …]
DphNxpNciHal.h40 #define HAL_ENABLE_EXT() (nxpncihal_ctrl.hal_ext_enabled = 1)
41 #define HAL_DISABLE_EXT() (nxpncihal_ctrl.hal_ext_enabled = 0)
DphNxpNciHal_NfcDepSWPrio.c27 extern phNxpNciHal_Control_t nxpncihal_ctrl;
/system/nfc/halimpl/pn54x/tml/
DphOsalNfc_Timer.c31 extern phNxpNciHal_Control_t nxpncihal_ctrl;
350 nxpncihal_ctrl.gDrvCfg in phOsalNfc_PostTimerMsg()
/system/nfc/halimpl/pn54x/self-test/
DphNxpNciHal_SelfTest.c55 extern phNxpNciHal_Control_t nxpncihal_ctrl;
1309 nxpncihal_ctrl.gDrvCfg.nClientId = (uintptr_t)gDrvCfg.nClientId; in phNxpNciHal_TestMode_open()