Home
last modified time | relevance | path

Searched refs:gate_id (Results 1 – 5 of 5) sorted by relevance

/system/nfc/src/nfa/hci/
Dnfa_hci_utils.cc73 tNFA_HCI_DYN_GATE* nfa_hciu_find_gate_by_gid(uint8_t gate_id) { in nfa_hciu_find_gate_by_gid() argument
78 if (pg->gate_id == gate_id) return (pg); in nfa_hciu_find_gate_by_gid()
185 tNFA_HANDLE nfa_hciu_get_gate_owner(uint8_t gate_id) { in nfa_hciu_get_gate_owner() argument
188 pg = nfa_hciu_find_gate_by_gid(gate_id); in nfa_hciu_get_gate_owner()
225 tNFA_HCI_DYN_GATE* nfa_hciu_alloc_gate(uint8_t gate_id, in nfa_hciu_alloc_gate() argument
232 if ((gate_id != NFA_HCI_CONNECTIVITY_GATE) && in nfa_hciu_alloc_gate()
233 (gate_id < NFA_HCI_FIRST_PROP_GATE) && in nfa_hciu_alloc_gate()
240 if (gate_id != 0) { in nfa_hciu_alloc_gate()
241 pg = nfa_hciu_find_gate_by_gid(gate_id); in nfa_hciu_alloc_gate()
254 gate_id = gate_id_index & 0xFF; in nfa_hciu_alloc_gate()
[all …]
Dnfa_hci_main.cc253 if (nfa_hci_cb.cfg.dyn_gates[xx].gate_id != 0) { in nfa_hci_is_valid_cfg()
254 if (((nfa_hci_cb.cfg.dyn_gates[xx].gate_id != NFA_HCI_LOOP_BACK_GATE) && in nfa_hci_is_valid_cfg()
255 (nfa_hci_cb.cfg.dyn_gates[xx].gate_id != in nfa_hci_is_valid_cfg()
257 (nfa_hci_cb.cfg.dyn_gates[xx].gate_id < in nfa_hci_is_valid_cfg()
259 (nfa_hci_cb.cfg.dyn_gates[xx].gate_id > NFA_HCI_LAST_PROP_GATE)) in nfa_hci_is_valid_cfg()
265 if ((nfa_hci_cb.cfg.dyn_gates[yy].gate_id != 0) && in nfa_hci_is_valid_cfg()
266 (nfa_hci_cb.cfg.dyn_gates[xx].gate_id == in nfa_hci_is_valid_cfg()
267 nfa_hci_cb.cfg.dyn_gates[yy].gate_id)) { in nfa_hci_is_valid_cfg()
270 nfa_hci_cb.cfg.dyn_gates[xx].gate_id); in nfa_hci_is_valid_cfg()
281 if (!((nfa_hci_cb.cfg.dyn_gates[xx].gate_id == in nfa_hci_is_valid_cfg()
[all …]
Dnfa_hci_act.cc346 nfa_hciu_release_gate(p_gate->gate_id); in nfa_hci_api_deregister()
367 nfa_hciu_release_gate(p_gate->gate_id); in nfa_hci_api_deregister()
410 evt_data.gates_pipes.gate[evt_data.gates_pipes.num_gates++] = pg->gate_id; in nfa_hci_api_get_gate_pipe_list()
416 if (pp->local_gate == pg->gate_id) in nfa_hci_api_get_gate_pipe_list()
441 if (pp->local_gate == pg->gate_id) { in nfa_hci_api_get_gate_pipe_list()
487 evt_data.allocated.gate = p_gate ? p_gate->gate_id : 0; in nfa_hci_api_alloc_gate()
505 uint8_t gate_id; in nfa_hci_api_dealloc_gate() local
512 gate_id = p_evt_data->gate_dealloc.gate; in nfa_hci_api_dealloc_gate()
517 gate_id = nfa_hci_cb.local_gate_in_use; in nfa_hci_api_dealloc_gate()
521 evt_data.deallocated.gate = gate_id; in nfa_hci_api_dealloc_gate()
[all …]
Dnfa_hci_api.cc845 if (pg->gate_id != 0) { in NFA_HciDebug()
849 xx, pg->gate_id, pg->gate_owner, pg->pipe_inx_mask); in NFA_HciDebug()
/system/nfc/src/nfa/include/
Dnfa_hci_int.h331 uint8_t gate_id; /* local gate id */ member
463 extern tNFA_HCI_DYN_GATE* nfa_hciu_alloc_gate(uint8_t gate_id,
465 extern tNFA_HCI_DYN_GATE* nfa_hciu_find_gate_by_gid(uint8_t gate_id);
473 extern tNFA_HCI_DYN_PIPE* nfa_hciu_find_pipe_on_gate(uint8_t gate_id);
474 extern tNFA_HANDLE nfa_hciu_get_gate_owner(uint8_t gate_id);
481 extern tNFA_HCI_DYN_PIPE* nfa_hciu_find_active_pipe_on_gate(uint8_t gate_id);