Home
last modified time | relevance | path

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

/system/nfc/halimpl/bcm2079x/hal/hal/
Dnfc_hal_nci.c51 NFC_HDR* p_msg = nfc_hal_cb.ncit_cb.p_rcv_msg; in nfc_hal_nci_assemble_nci_msg()
84 if (nfc_hal_cb.ncit_cb.p_frag_msg) { in nfc_hal_nci_assemble_nci_msg()
85 if (nfc_hal_cb.ncit_cb.p_frag_msg->layer_specific != in nfc_hal_nci_assemble_nci_msg()
90 nfc_hal_cb.ncit_cb.p_frag_msg->layer_specific, p_msg->layer_specific); in nfc_hal_nci_assemble_nci_msg()
91 nfc_hal_cb.ncit_cb.nci_ras |= NFC_HAL_NCI_RAS_ERROR; in nfc_hal_nci_assemble_nci_msg()
92 } else if (nfc_hal_cb.ncit_cb.nci_ras == 0) { in nfc_hal_nci_assemble_nci_msg()
97 size = GKI_get_buf_size(nfc_hal_cb.ncit_cb.p_frag_msg); in nfc_hal_nci_assemble_nci_msg()
98 needed = (NFC_HDR_SIZE + nfc_hal_cb.ncit_cb.p_frag_msg->len + in nfc_hal_nci_assemble_nci_msg()
99 nfc_hal_cb.ncit_cb.p_frag_msg->offset + p_msg->len); in nfc_hal_nci_assemble_nci_msg()
103 pd = (uint8_t*)(nfc_hal_cb.ncit_cb.p_frag_msg + 1) + in nfc_hal_nci_assemble_nci_msg()
[all …]
Dnfc_hal_main.c82 nfc_hal_cb.ncit_cb.nci_ctrl_size = NFC_HAL_NCI_INIT_CTRL_PAYLOAD_SIZE; in nfc_hal_main_init()
100 nfc_hal_cb.ncit_cb.rcv_state = in nfc_hal_main_open_transport()
103 if (nfc_hal_cb.ncit_cb.p_rcv_msg) { in nfc_hal_main_open_transport()
104 GKI_freebuf(nfc_hal_cb.ncit_cb.p_rcv_msg); in nfc_hal_main_open_transport()
105 nfc_hal_cb.ncit_cb.p_rcv_msg = NULL; in nfc_hal_main_open_transport()
173 nfc_hal_main_stop_quick_timer(&nfc_hal_cb.ncit_cb.nci_wait_rsp_timer); in nfa_hal_pre_discover_done_cback()
229 if (nfc_hal_cb.ncit_cb.nci_wait_rsp != NFC_HAL_WAIT_RSP_NONE) { in nfc_hal_main_userial_cback()
230 nfc_hal_main_stop_quick_timer(&nfc_hal_cb.ncit_cb.nci_wait_rsp_timer); in nfc_hal_main_userial_cback()
232 (void*)&nfc_hal_cb.ncit_cb.nci_wait_rsp_timer); in nfc_hal_main_userial_cback()
327 if (nfc_hal_cb.ncit_cb.p_pend_cmd != NULL) { in nfc_hal_main_handle_terminate()
[all …]
Dnfc_hal_dm.c563 nfc_hal_cb.ncit_cb.nci_wait_rsp = NFC_HAL_WAIT_RSP_NONE; in nfc_hal_dm_got_vs_rsp()
564 p_cback = (tNFC_HAL_NCI_CBACK*)nfc_hal_cb.ncit_cb.p_vsc_cback; in nfc_hal_dm_got_vs_rsp()
565 nfc_hal_cb.ncit_cb.p_vsc_cback = NULL; in nfc_hal_dm_got_vs_rsp()
566 nfc_hal_main_stop_quick_timer(&nfc_hal_cb.ncit_cb.nci_wait_rsp_timer); in nfc_hal_dm_got_vs_rsp()
599 if ((nfc_hal_cb.ncit_cb.nci_wait_rsp == NFC_HAL_WAIT_RSP_CMD) || in nfc_hal_dm_proc_msg_during_init()
600 (nfc_hal_cb.ncit_cb.nci_wait_rsp == NFC_HAL_WAIT_RSP_VSC)) { in nfc_hal_dm_proc_msg_during_init()
602 p_old = nfc_hal_cb.ncit_cb.last_hdr; in nfc_hal_dm_proc_msg_during_init()
608 nfc_hal_cb.ncit_cb.nci_wait_rsp = NFC_HAL_WAIT_RSP_NONE; in nfc_hal_dm_proc_msg_during_init()
609 p_cback = (tNFC_HAL_NCI_CBACK*)nfc_hal_cb.ncit_cb.p_vsc_cback; in nfc_hal_dm_proc_msg_during_init()
610 nfc_hal_cb.ncit_cb.p_vsc_cback = NULL; in nfc_hal_dm_proc_msg_during_init()
[all …]
Dnfc_hal_prm.c1169 nfc_hal_cb.ncit_cb.nci_ctrl_size = max_payload_size; in HAL_NfcPrmSetSpdNciCmdPayloadSize()
/system/nfc/src/include/
Dbt_trace.h509 if (ncit_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \
514 if (ncit_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \
519 if (ncit_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \
524 if (ncit_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \
529 if (ncit_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \
534 if (ncit_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \
539 if (ncit_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \
546 if (ncit_cb.trace_level >= BT_TRACE_LEVEL_WARNING) \
551 if (ncit_cb.trace_level >= BT_TRACE_LEVEL_WARNING) \
556 if (ncit_cb.trace_level >= BT_TRACE_LEVEL_WARNING) \
[all …]
/system/nfc/src/hal/int/
Dnfc_hal_int.h436 tNFC_HAL_NCIT_CB ncit_cb; /* NCI transport */ member