Home
last modified time | relevance | path

Searched refs:p_gate (Results 1 – 3 of 3) sorted by relevance

/system/nfc/src/nfa/hci/
Dnfa_hci_act.cc67 tNFA_HCI_DYN_GATE* p_gate,
312 tNFA_HCI_DYN_GATE* p_gate; in nfa_hci_api_deregister() local
344 while ((p_gate = nfa_hciu_find_gate_by_owner(nfa_hci_cb.app_in_use)) != in nfa_hci_api_deregister()
346 nfa_hciu_release_gate(p_gate->gate_id); in nfa_hci_api_deregister()
365 while ((p_gate = nfa_hciu_find_gate_with_nopipes_by_owner( in nfa_hci_api_deregister()
367 nfa_hciu_release_gate(p_gate->gate_id); in nfa_hci_api_deregister()
471 tNFA_HCI_DYN_GATE* p_gate; in nfa_hci_api_alloc_gate() local
473 p_gate = nfa_hciu_alloc_gate(p_evt_data->gate_info.gate, app_handle); in nfa_hci_api_alloc_gate()
475 if (p_gate) { in nfa_hci_api_alloc_gate()
476 if (!p_gate->gate_owner) { in nfa_hci_api_alloc_gate()
[all …]
Dnfa_hci_utils.cc135 uint8_t nfa_hciu_count_pipes_on_gate(tNFA_HCI_DYN_GATE* p_gate) { in nfa_hciu_count_pipes_on_gate() argument
141 if (p_gate->pipe_inx_mask & mask) count++; in nfa_hciu_count_pipes_on_gate()
158 uint8_t nfa_hciu_count_open_pipes_on_gate(tNFA_HCI_DYN_GATE* p_gate) { in nfa_hciu_count_open_pipes_on_gate() argument
166 if ((p_gate->pipe_inx_mask & mask) && in nfa_hciu_count_open_pipes_on_gate()
457 tNFA_HCI_DYN_GATE* p_gate = nfa_hciu_find_gate_by_gid(gate_id); in nfa_hciu_release_gate() local
459 if (p_gate != nullptr) { in nfa_hciu_release_gate()
462 p_gate->gate_owner, p_gate->pipe_inx_mask); in nfa_hciu_release_gate()
464 p_gate->gate_id = 0; in nfa_hciu_release_gate()
465 p_gate->gate_owner = 0; in nfa_hciu_release_gate()
466 p_gate->pipe_inx_mask = 0; in nfa_hciu_release_gate()
[all …]
/system/nfc/src/nfa/include/
Dnfa_hci_int.h483 extern uint8_t nfa_hciu_count_open_pipes_on_gate(tNFA_HCI_DYN_GATE* p_gate);
484 extern uint8_t nfa_hciu_count_pipes_on_gate(tNFA_HCI_DYN_GATE* p_gate);