Searched refs:ncit_cb (Results 1 – 6 of 6) sorted by relevance
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
D | nfc_hal_nci.c | 54 NFC_HDR *p_msg = nfc_hal_cb.ncit_cb.p_rcv_msg; in nfc_hal_nci_assemble_nci_msg() 90 if (nfc_hal_cb.ncit_cb.p_frag_msg) in nfc_hal_nci_assemble_nci_msg() 92 if (nfc_hal_cb.ncit_cb.p_frag_msg->layer_specific != p_msg->layer_specific) in nfc_hal_nci_assemble_nci_msg() 95 …al_nci_assemble_nci_msg() - different messages 0x%x, 0x%x!!", nfc_hal_cb.ncit_cb.p_frag_msg->layer… in nfc_hal_nci_assemble_nci_msg() 96 nfc_hal_cb.ncit_cb.nci_ras |= NFC_HAL_NCI_RAS_ERROR; in nfc_hal_nci_assemble_nci_msg() 98 else if (nfc_hal_cb.ncit_cb.nci_ras == 0) in nfc_hal_nci_assemble_nci_msg() 104 size = GKI_get_buf_size (nfc_hal_cb.ncit_cb.p_frag_msg); in nfc_hal_nci_assemble_nci_msg() 105 …needed = (NFC_HDR_SIZE + nfc_hal_cb.ncit_cb.p_frag_msg->len + nfc_hal_cb.ncit_cb.p_frag_msg->offs… in nfc_hal_nci_assemble_nci_msg() 110 …pd = (UINT8 *) (nfc_hal_cb.ncit_cb.p_frag_msg + 1) + nfc_hal_cb.ncit_cb.p_frag_msg->offset + nfc… in nfc_hal_nci_assemble_nci_msg() 112 nfc_hal_cb.ncit_cb.p_frag_msg->len += p_msg->len; in nfc_hal_nci_assemble_nci_msg() [all …]
|
D | nfc_hal_main.c | 87 nfc_hal_cb.ncit_cb.nci_ctrl_size = NFC_HAL_NCI_INIT_CTRL_PAYLOAD_SIZE; in nfc_hal_main_init() 106 nfc_hal_cb.ncit_cb.rcv_state = NFC_HAL_RCV_IDLE_ST; /* to process packet type */ in nfc_hal_main_open_transport() 108 if (nfc_hal_cb.ncit_cb.p_rcv_msg) in nfc_hal_main_open_transport() 110 GKI_freebuf (nfc_hal_cb.ncit_cb.p_rcv_msg); in nfc_hal_main_open_transport() 111 nfc_hal_cb.ncit_cb.p_rcv_msg = NULL; in nfc_hal_main_open_transport() 179 nfc_hal_main_stop_quick_timer (&nfc_hal_cb.ncit_cb.nci_wait_rsp_timer); in nfa_hal_pre_discover_done_cback() 241 if (nfc_hal_cb.ncit_cb.nci_wait_rsp != NFC_HAL_WAIT_RSP_NONE) in nfc_hal_main_userial_cback() 243 nfc_hal_main_stop_quick_timer (&nfc_hal_cb.ncit_cb.nci_wait_rsp_timer); in nfc_hal_main_userial_cback() 244 nfc_hal_nci_cmd_timeout_cback ((void *)&nfc_hal_cb.ncit_cb.nci_wait_rsp_timer); in nfc_hal_main_userial_cback() 346 if (nfc_hal_cb.ncit_cb.p_pend_cmd != NULL) in nfc_hal_main_handle_terminate() [all …]
|
D | nfc_hal_dm.c | 600 nfc_hal_cb.ncit_cb.nci_wait_rsp = NFC_HAL_WAIT_RSP_NONE; in nfc_hal_dm_got_vs_rsp() 601 p_cback = (tNFC_HAL_NCI_CBACK *)nfc_hal_cb.ncit_cb.p_vsc_cback; in nfc_hal_dm_got_vs_rsp() 602 nfc_hal_cb.ncit_cb.p_vsc_cback = NULL; in nfc_hal_dm_got_vs_rsp() 603 nfc_hal_main_stop_quick_timer (&nfc_hal_cb.ncit_cb.nci_wait_rsp_timer); in nfc_hal_dm_got_vs_rsp() 636 if ( (nfc_hal_cb.ncit_cb.nci_wait_rsp == NFC_HAL_WAIT_RSP_CMD) in nfc_hal_dm_proc_msg_during_init() 637 ||(nfc_hal_cb.ncit_cb.nci_wait_rsp == NFC_HAL_WAIT_RSP_VSC) ) in nfc_hal_dm_proc_msg_during_init() 641 p_old = nfc_hal_cb.ncit_cb.last_hdr; in nfc_hal_dm_proc_msg_during_init() 647 nfc_hal_cb.ncit_cb.nci_wait_rsp = NFC_HAL_WAIT_RSP_NONE; in nfc_hal_dm_proc_msg_during_init() 648 p_cback = (tNFC_HAL_NCI_CBACK *)nfc_hal_cb.ncit_cb.p_vsc_cback; in nfc_hal_dm_proc_msg_during_init() 649 nfc_hal_cb.ncit_cb.p_vsc_cback = NULL; in nfc_hal_dm_proc_msg_during_init() [all …]
|
D | nfc_hal_prm.c | 1192 nfc_hal_cb.ncit_cb.nci_ctrl_size = max_payload_size; in HAL_NfcPrmSetSpdNciCmdPayloadSize()
|
/external/libnfc-nci/src/hal/int/ |
D | nfc_hal_int.h | 427 tNFC_HAL_NCIT_CB ncit_cb; /* NCI transport */ member
|
/external/libnfc-nci/src/include/ |
D | bt_trace.h | 1382 #define NCI_TRACE_ERROR0(m) {if (ncit_cb.trace_level >= BT_TRACE_LEVEL_ERROR) B… 1383 #define NCI_TRACE_ERROR1(m,p1) {if (ncit_cb.trace_level >= BT_TRACE_LEVEL_ERROR) B… 1384 #define NCI_TRACE_ERROR2(m,p1,p2) {if (ncit_cb.trace_level >= BT_TRACE_LEVEL_ERROR) B… 1385 #define NCI_TRACE_ERROR3(m,p1,p2,p3) {if (ncit_cb.trace_level >= BT_TRACE_LEVEL_ERROR) B… 1386 #define NCI_TRACE_ERROR4(m,p1,p2,p3,p4) {if (ncit_cb.trace_level >= BT_TRACE_LEVEL_ERROR) B… 1387 #define NCI_TRACE_ERROR5(m,p1,p2,p3,p4,p5) {if (ncit_cb.trace_level >= BT_TRACE_LEVEL_ERROR) B… 1388 #define NCI_TRACE_ERROR6(m,p1,p2,p3,p4,p5,p6) {if (ncit_cb.trace_level >= BT_TRACE_LEVEL_ERROR) B… 1390 #define NCI_TRACE_WARNING0(m) {if (ncit_cb.trace_level >= BT_TRACE_LEVEL_WARNING)… 1391 #define NCI_TRACE_WARNING1(m,p1) {if (ncit_cb.trace_level >= BT_TRACE_LEVEL_WARNING)… 1392 #define NCI_TRACE_WARNING2(m,p1,p2) {if (ncit_cb.trace_level >= BT_TRACE_LEVEL_WARNING)… [all …]
|