Searched refs:nfc_cb (Results 1 – 14 of 14) sorted by relevance
48 { nfc_cb.max_conn = 1; }67 tNFC_CB nfc_cb; variable170 if (nfc_cb.p_resp_cback) { in nfc_main_notify_enable_status()345 nfc_cb.p_hal->close(); in nfc_enabled()369 nfc_cb.nfc_state = nfc_state; in nfc_set_state()399 if (nfc_cb.p_nci_init_rsp) { in nfc_gen_cleanup()747 if (nfc_cb.p_resp_cback) { in NFC_Disable()786 nfc_cb.reassembly = true; in NFC_Init()807 size = nfc_cb.max_ce_table; in NFC_GetLmrtSize()935 if (nfc_cb.p_disc_pending) { in NFC_DiscoveryStart()[all …]
64 if (nfc_cb.timer_queue.p_first == nullptr) { in nfc_start_timer()114 while ((nfc_cb.timer_queue.p_first) && (!nfc_cb.timer_queue.p_first->ticks)) { in nfc_process_timer_evt()115 p_tle = nfc_cb.timer_queue.p_first; in nfc_process_timer_evt()140 if (nfc_cb.timer_queue.p_first == nullptr) { in nfc_process_timer_evt()158 if (nfc_cb.timer_queue.p_first == nullptr) { in nfc_stop_timer()238 while ((nfc_cb.quick_timer_queue.p_first) && in nfc_process_quick_timer_evt()240 p_tle = nfc_cb.quick_timer_queue.p_first; in nfc_process_quick_timer_evt()317 nfc_cb.p_hal->close(); in nfc_task_shutdown_nfcc()320 nfc_cb.p_hal->power_cycle(); in nfc_task_shutdown_nfcc()323 nfc_cb.p_hal->close(); in nfc_task_shutdown_nfcc()[all …]
89 nfc_cb.p_vsc_cback = nullptr; in nfc_ncif_update_window()90 nfc_cb.nci_cmd_window++; in nfc_ncif_update_window()268 if ((nfc_cb.nci_cmd_xmit_q.count) || (nfc_cb.nci_cmd_window == 0)) { in nfc_ncif_check_cmd_queue()300 nfc_cb.nci_cmd_window--; in nfc_ncif_check_cmd_queue()511 if (nfc_cb.p_discv_cback) { in nfc_ncif_rf_management_status()528 if (nfc_cb.p_resp_cback) { in nfc_ncif_set_config_status()569 uint32_t cmd_hdr = (nfc_cb.last_hdr[0] << 8) | nfc_cb.last_hdr[1]; in nfc_ncif_event_status()574 if (nfc_cb.p_resp_cback) { in nfc_ncif_event_status()613 if (nfc_cb.p_resp_cback) { in nfc_ncif_proc_rf_field_ntf()1667 nfc_cb.nfc_state); in nfc_ncif_proc_reset_rsp()[all …]
53 if (nfc_cb.conn_cb[xx].conn_id == NFC_ILLEGAL_CONN_ID) { in nfc_alloc_conn_cb()54 nfc_cb.conn_cb[xx].conn_id = in nfc_alloc_conn_cb()56 p_conn_cb = &nfc_cb.conn_cb[xx]; in nfc_alloc_conn_cb()80 handle = (uint8_t)(p_cb - nfc_cb.conn_cb + 1); in nfc_set_conn_id()81 nfc_cb.conn_id[conn_id] = handle; in nfc_set_conn_id()101 if (nfc_cb.conn_cb[xx].id == id) { in nfc_find_conn_cb_by_handle()102 p_conn_cb = &nfc_cb.conn_cb[xx]; in nfc_find_conn_cb_by_handle()128 p_conn_cb = &nfc_cb.conn_cb[xx]; in nfc_find_conn_cb_by_conn_id()135 handle = nfc_cb.conn_id[id]; in nfc_find_conn_cb_by_conn_id()163 nfc_cb.conn_id[p_cb->conn_id] = 0; in nfc_free_conn_cb()[all …]
80 if (nfc_cb.nci_version != NCI_VERSION_2_0) in NFC_NfceeModeSet()83 if (nfc_cb.flags & NFC_FL_WAIT_MODE_SET_NTF) in NFC_NfceeModeSet()90 nfc_cb.flags |= NFC_FL_WAIT_MODE_SET_NTF; in NFC_NfceeModeSet()91 nfc_start_timer(&nfc_cb.nci_mode_set_ntf_timer, in NFC_NfceeModeSet()
61 if (nfc_cb.p_vs_cb[i] == nullptr) { in NFC_RegVSCback()62 nfc_cb.p_vs_cb[i] = p_cback; in NFC_RegVSCback()70 if (nfc_cb.p_vs_cb[i] == p_cback) { in NFC_RegVSCback()71 nfc_cb.p_vs_cb[i] = nullptr; in NFC_RegVSCback()
57 uint8_t* p_old = nfc_cb.last_cmd; in nci_proc_core_rsp()172 uint8_t* p_old = nfc_cb.last_cmd; in nci_proc_rf_management_rsp()265 nfc_cb.deact_reason = *(pp + 1); in nci_proc_rf_management_ntf()333 tNFC_RESPONSE_CBACK* p_cback = nfc_cb.p_resp_cback; in nci_proc_ee_management_rsp()336 uint8_t* p_old = nfc_cb.last_nfcee_cmd; in nci_proc_ee_management_rsp()373 nfc_cb.flags &= ~NFC_FL_WAIT_MODE_SET_NTF; in nci_proc_ee_management_rsp()415 uint8_t* p_old = nfc_cb.last_nfcee_cmd; in nci_proc_ee_management_ntf()496 nfc_cb.flags &= ~NFC_FL_WAIT_MODE_SET_NTF; in nci_proc_ee_management_ntf()569 nfc_cb.p_vsc_cback = nullptr; in nci_proc_prop_raw_vs_rsp()571 nfc_cb.rawVsCbflag = false; in nci_proc_prop_raw_vs_rsp()[all …]
89 if (nfc_cb.nci_version == NCI_VERSION_2_0) { in nci_snd_core_init()439 nfc_cb.reassembly = true; in nci_snd_deactivate_cmd()
24 if (data_len >= sizeof(nfc_cb.last_hdr)) { in hal_inject_data()25 memcpy(nfc_cb.last_hdr, p_data, sizeof(nfc_cb.last_hdr)); in hal_inject_data()
118 if (max > nfc_cb.max_conn) max = nfc_cb.max_conn; \240 extern tNFC_CB nfc_cb;
657 nfc_cb.p_hal->write((p)->len, (uint8_t*)((p) + 1) + (p)->offset); \
680 (nfc_cb.isScbrSupported == false)) { in NFA_EeAddSystemCodeRouting()728 (nfc_cb.isScbrSupported == false)) { in NFA_EeRemoveSystemCodeRouting()
388 if (nfc_cb.nci_interfaces & (1 << NCI_INTERFACE_NFC_DEP)) { in nfa_ee_add_proto_route_to_ecb()
954 if (!(nfc_cb.nci_interfaces & (1 << NCI_INTERFACE_NFC_DEP))) { in nfa_dm_start_polling()