Home
last modified time | relevance | path

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

/system/nfc/src/nfa/hci/
Dnfa_hci_main.cc45 tNFA_HCI_CB nfa_hci_cb; variable
92 if ((!nfa_hci_cb.ee_disc_cmplt) && in nfa_hci_ee_info_cback()
93 ((nfa_hci_cb.hci_state == NFA_HCI_STATE_STARTUP) || in nfa_hci_ee_info_cback()
94 (nfa_hci_cb.hci_state == NFA_HCI_STATE_RESTORE))) { in nfa_hci_ee_info_cback()
96 nfa_hci_cb.ee_disc_cmplt = true; in nfa_hci_ee_info_cback()
97 nfa_hci_cb.num_ee_dis_req_ntf = 0; in nfa_hci_ee_info_cback()
98 nfa_hci_cb.num_hot_plug_evts = 0; in nfa_hci_ee_info_cback()
99 nfa_hci_cb.conn_id = 0; in nfa_hci_ee_info_cback()
105 if (nfa_hci_cb.ee_disable_disc) break; in nfa_hci_ee_info_cback()
106 nfa_hci_cb.ee_disable_disc = true; in nfa_hci_ee_info_cback()
[all …]
Dnfa_hci_act.cc85 if ((nfa_hci_cb.hci_state != NFA_HCI_STATE_IDLE) || in nfa_hci_check_pending_api_requests()
86 ((p_msg = (NFC_HDR*)GKI_dequeue(&nfa_hci_cb.hci_host_reset_api_q)) == in nfa_hci_check_pending_api_requests()
94 nfa_hci_cb.app_in_use = p_evt_data->comm.hci_handle; in nfa_hci_check_pending_api_requests()
136 if ((nfa_hci_cb.hci_state != NFA_HCI_STATE_IDLE) || in nfa_hci_check_api_requests()
137 ((p_msg = (NFC_HDR*)GKI_dequeue(&nfa_hci_cb.hci_api_q)) == nullptr)) in nfa_hci_check_api_requests()
144 nfa_hci_cb.app_in_use = p_evt_data->comm.hci_handle; in nfa_hci_check_api_requests()
235 tNFA_HCI_DYN_GATE* pg = nfa_hci_cb.cfg.dyn_gates; in nfa_hci_api_register()
239 if ((nfa_hci_cb.cfg.reg_app_names[xx][0] != 0) && in nfa_hci_api_register()
240 !strncmp(p_app_name, &nfa_hci_cb.cfg.reg_app_names[xx][0], in nfa_hci_api_register()
249 nfa_hci_cb.app_in_use = (tNFA_HANDLE)(xx | NFA_HANDLE_GROUP_HCI); in nfa_hci_api_register()
[all …]
Dnfa_hci_utils.cc52 tNFA_HCI_DYN_PIPE* pp = nfa_hci_cb.cfg.dyn_pipes; in nfa_hciu_find_pipe_by_pid()
74 tNFA_HCI_DYN_GATE* pg = nfa_hci_cb.cfg.dyn_gates; in nfa_hciu_find_gate_by_gid()
94 tNFA_HCI_DYN_GATE* pg = nfa_hci_cb.cfg.dyn_gates; in nfa_hciu_find_gate_by_owner()
116 tNFA_HCI_DYN_GATE* pg = nfa_hci_cb.cfg.dyn_gates; in nfa_hciu_find_gate_with_nopipes_by_owner()
159 tNFA_HCI_DYN_PIPE* pp = nfa_hci_cb.cfg.dyn_pipes; in nfa_hciu_count_open_pipes_on_gate()
236 (nfa_hci_cb.p_app_cback[app_inx] == nullptr))) { in nfa_hciu_alloc_gate()
267 for (xx = 0, pg = nfa_hci_cb.cfg.dyn_gates; xx < NFA_HCI_MAX_GATE_CB; in nfa_hciu_alloc_gate()
278 nfa_hci_cb.nv_write_needed = true; in nfa_hciu_alloc_gate()
308 uint16_t max_seg_hcp_pkt_size = nfa_hci_cb.buff_size - NCI_DATA_HDR_SIZE; in nfa_hciu_send_msg()
317 nfa_hci_cb.param_in_use = *p_msg; in nfa_hciu_send_msg()
[all …]
Dnfa_hci_api.cc76 if ((nfa_hci_cb.hci_state != NFA_HCI_STATE_DISABLED) && in NFA_HciRegister()
124 if ((nfa_hci_cb.hci_state != NFA_HCI_STATE_DISABLED) && in NFA_HciGetGateAndPipeList()
171 if ((nfa_hci_cb.cfg.reg_app_names[xx][0] != 0) && in NFA_HciDeregister()
172 (!strncmp(p_app_name, &nfa_hci_cb.cfg.reg_app_names[xx][0], in NFA_HciDeregister()
183 if ((nfa_hci_cb.hci_state != NFA_HCI_STATE_DISABLED) && in NFA_HciDeregister()
236 if ((nfa_hci_cb.hci_state != NFA_HCI_STATE_DISABLED) && in NFA_HciAllocGate()
283 if ((nfa_hci_cb.hci_state != NFA_HCI_STATE_DISABLED) && in NFA_HciDeallocGate()
322 if ((nfa_hci_cb.hci_state != NFA_HCI_STATE_DISABLED) && in NFA_HciGetHostList()
393 if ((nfa_hci_cb.hci_state != NFA_HCI_STATE_DISABLED) && in NFA_HciCreatePipe()
394 (!nfa_hci_cb.b_low_power_mode) && in NFA_HciCreatePipe()
[all …]
/system/nfc/src/nfa/include/
Dnfa_hci_int.h431 extern tNFA_HCI_CB nfa_hci_cb;
/system/nfc/src/nfa/ee/
Dnfa_ee_act.cc1679 if ((nfa_hci_cb.hci_state == NFA_HCI_STATE_EE_RECOVERY) && in nfa_ee_report_disc_done()
2145 if (nfa_hci_cb.hci_state != NFA_HCI_STATE_EE_RECOVERY) { in nfa_ee_nci_mode_set_rsp()