• Home
  • Raw
  • Download

Lines Matching refs:nxpncihal_ctrl

33 extern phNxpNciHal_Control_t nxpncihal_ctrl;
255 if (nxpncihal_ctrl.nci_info.nci_version != NCI_VERSION_2_0) { in phNxpNciHal_process_ext_rsp()
411 if (nxpncihal_ctrl.hal_ext_enabled == TRUE) { in phNxpNciHal_ext_process_nfc_init_rsp()
412 nxpncihal_ctrl.nci_info.wait_for_ntf = TRUE; in phNxpNciHal_ext_process_nfc_init_rsp()
416 nxpncihal_ctrl.nci_info.nci_version = p_ntf[4]; in phNxpNciHal_ext_process_nfc_init_rsp()
423 nxpncihal_ctrl.nci_info.nci_version = p_ntf[5]; in phNxpNciHal_ext_process_nfc_init_rsp()
424 NXPLOG_NCIHAL_D("nci_version : 0x%02x",nxpncihal_ctrl.nci_info.nci_version); in phNxpNciHal_ext_process_nfc_init_rsp()
425 if(!nxpncihal_ctrl.hal_open_status) { in phNxpNciHal_ext_process_nfc_init_rsp()
455 if (nxpncihal_ctrl.nci_info.nci_version == NCI_VERSION_2_0) { in phNxpNciHal_ext_process_nfc_init_rsp()
459 if(!nxpncihal_ctrl.hal_open_status) { in phNxpNciHal_ext_process_nfc_init_rsp()
496 if (phNxpNciHal_init_cb_data(&nxpncihal_ctrl.ext_cb_data, NULL) != in phNxpNciHal_process_ext_cmd_rsp()
502 nxpncihal_ctrl.ext_cb_data.status = NFCSTATUS_SUCCESS; in phNxpNciHal_process_ext_cmd_rsp()
524 if (SEM_WAIT(nxpncihal_ctrl.ext_cb_data)) { in phNxpNciHal_process_ext_cmd_rsp()
540 nxpncihal_ctrl.nci_info.wait_for_ntf = FALSE; in phNxpNciHal_process_ext_cmd_rsp()
543 if (nxpncihal_ctrl.nci_info.wait_for_ntf == TRUE) { in phNxpNciHal_process_ext_cmd_rsp()
553 if (SEM_WAIT(nxpncihal_ctrl.ext_cb_data)) { in phNxpNciHal_process_ext_cmd_rsp()
569 …if (nxpncihal_ctrl.ext_cb_data.status != NFCSTATUS_SUCCESS && p_cmd[0] != 0x2F && p_cmd[1] != 0x1 … in phNxpNciHal_process_ext_cmd_rsp()
572 nxpncihal_ctrl.ext_cb_data.status); in phNxpNciHal_process_ext_cmd_rsp()
581 phNxpNciHal_cleanup_cb_data(&nxpncihal_ctrl.ext_cb_data); in phNxpNciHal_process_ext_cmd_rsp()
582 nxpncihal_ctrl.nci_info.wait_for_ntf = FALSE; in phNxpNciHal_process_ext_cmd_rsp()
680 if (nxpncihal_ctrl.nci_info.nci_version != NCI_VERSION_2_0) { in phNxpNciHal_write_ext()
882 nxpncihal_ctrl.cmd_len = cmd_len; in phNxpNciHal_send_ext_cmd()
883 memcpy(nxpncihal_ctrl.p_cmd_data, p_cmd, cmd_len); in phNxpNciHal_send_ext_cmd()
884 status = phNxpNciHal_process_ext_cmd_rsp(nxpncihal_ctrl.cmd_len, in phNxpNciHal_send_ext_cmd()
885 nxpncihal_ctrl.p_cmd_data); in phNxpNciHal_send_ext_cmd()
904 nxpncihal_ctrl.cmd_len = cmd_len; in phNxpNciHal_send_ese_hal_cmd()
905 memcpy(nxpncihal_ctrl.p_cmd_data, p_cmd, cmd_len); in phNxpNciHal_send_ese_hal_cmd()
906 status = phNxpNciHal_process_ext_cmd_rsp(nxpncihal_ctrl.cmd_len, in phNxpNciHal_send_ese_hal_cmd()
907 nxpncihal_ctrl.p_cmd_data); in phNxpNciHal_send_ese_hal_cmd()
923 nxpncihal_ctrl.ext_cb_data.status = NFCSTATUS_FAILED; in hal_extns_write_rsp_timeout_cb()
925 sem_post(&(nxpncihal_ctrl.syncSpiNfc)); in hal_extns_write_rsp_timeout_cb()
926 SEM_POST(&(nxpncihal_ctrl.ext_cb_data)); in hal_extns_write_rsp_timeout_cb()