Lines Matching refs:pg
232 tNFA_HCI_DYN_GATE* pg = nfa_hci_cb.cfg.dyn_gates; in nfa_hci_api_register() local
250 for (yy = 0; yy < NFA_HCI_MAX_GATE_CB; yy++, pg++) { in nfa_hci_api_register()
251 if (pg->gate_owner == nfa_hci_cb.app_in_use) { in nfa_hci_api_register()
253 num_pipes += nfa_hciu_count_pipes_on_gate(pg); in nfa_hci_api_register()
398 tNFA_HCI_DYN_GATE* pg = nfa_hci_cb.cfg.dyn_gates; in nfa_hci_api_get_gate_pipe_list() local
404 for (xx = 0; xx < NFA_HCI_MAX_GATE_CB; xx++, pg++) { in nfa_hci_api_get_gate_pipe_list()
405 if (pg->gate_owner == p_evt_data->get_gate_pipe_list.hci_handle) { in nfa_hci_api_get_gate_pipe_list()
406 evt_data.gates_pipes.gate[evt_data.gates_pipes.num_gates++] = pg->gate_id; in nfa_hci_api_get_gate_pipe_list()
412 if (pp->local_gate == pg->gate_id) in nfa_hci_api_get_gate_pipe_list()
435 for (yy = 0, pg = nfa_hci_cb.cfg.dyn_gates; yy < NFA_HCI_MAX_GATE_CB; in nfa_hci_api_get_gate_pipe_list()
436 yy++, pg++) { in nfa_hci_api_get_gate_pipe_list()
437 if (pp->local_gate == pg->gate_id) { in nfa_hci_api_get_gate_pipe_list()
438 if (!pg->gate_owner) in nfa_hci_api_get_gate_pipe_list()
1048 tNFA_HCI_DYN_GATE* pg; in nfa_hci_api_add_static_pipe() local
1053 pg = nfa_hciu_alloc_gate(p_evt_data->add_static_pipe.gate, in nfa_hci_api_add_static_pipe()
1055 if (pg != nullptr) { in nfa_hci_api_add_static_pipe()
1057 pg->gate_owner = p_evt_data->add_static_pipe.hci_handle; in nfa_hci_api_add_static_pipe()
1060 if (nfa_hciu_add_pipe_to_gate(p_evt_data->add_static_pipe.pipe, pg->gate_id, in nfa_hci_api_add_static_pipe()
1065 nfa_hciu_release_gate(pg->gate_id); in nfa_hci_api_add_static_pipe()