Lines Matching refs:pg
76 tNFA_HCI_DYN_GATE *pg = nfa_hci_cb.cfg.dyn_gates; in nfa_hciu_find_gate_by_gid() local
79 for ( ; xx < NFA_HCI_MAX_GATE_CB; xx++, pg++) in nfa_hciu_find_gate_by_gid()
81 if (pg->gate_id == gate_id) in nfa_hciu_find_gate_by_gid()
82 return (pg); in nfa_hciu_find_gate_by_gid()
99 tNFA_HCI_DYN_GATE *pg = nfa_hci_cb.cfg.dyn_gates; in nfa_hciu_find_gate_by_owner() local
102 for ( ; xx < NFA_HCI_MAX_GATE_CB; xx++, pg++) in nfa_hciu_find_gate_by_owner()
104 if (pg->gate_owner == app_handle) in nfa_hciu_find_gate_by_owner()
105 return (pg); in nfa_hciu_find_gate_by_owner()
123 tNFA_HCI_DYN_GATE *pg = nfa_hci_cb.cfg.dyn_gates; in nfa_hciu_find_gate_with_nopipes_by_owner() local
126 for ( ; xx < NFA_HCI_MAX_GATE_CB; xx++, pg++) in nfa_hciu_find_gate_with_nopipes_by_owner()
128 if ( (pg->gate_owner == app_handle) in nfa_hciu_find_gate_with_nopipes_by_owner()
129 &&(pg->pipe_inx_mask == 0) ) in nfa_hciu_find_gate_with_nopipes_by_owner()
130 return (pg); in nfa_hciu_find_gate_with_nopipes_by_owner()
201 tNFA_HCI_DYN_GATE *pg; in nfa_hciu_get_gate_owner() local
203 if ((pg = nfa_hciu_find_gate_by_gid (gate_id)) == NULL) in nfa_hciu_get_gate_owner()
206 return (pg->gate_owner); in nfa_hciu_get_gate_owner()
221 tNFA_HCI_DYN_GATE *pg; in nfa_hciu_get_pipe_owner() local
226 if ((pg = nfa_hciu_find_gate_by_gid (pp->local_gate)) == NULL) in nfa_hciu_get_pipe_owner()
229 return (pg->gate_owner); in nfa_hciu_get_pipe_owner()
244 tNFA_HCI_DYN_GATE *pg; in nfa_hciu_alloc_gate() local
261 if ((pg = nfa_hciu_find_gate_by_gid (gate_id)) != NULL) in nfa_hciu_alloc_gate()
262 return (pg); in nfa_hciu_alloc_gate()
285 for (xx = 0, pg = nfa_hci_cb.cfg.dyn_gates; xx < NFA_HCI_MAX_GATE_CB; xx++, pg++) in nfa_hciu_alloc_gate()
287 if (pg->gate_id == 0) in nfa_hciu_alloc_gate()
290 pg->gate_id = gate_id; in nfa_hciu_alloc_gate()
291 pg->gate_owner = app_handle; in nfa_hciu_alloc_gate()
292 pg->pipe_inx_mask = 0; in nfa_hciu_alloc_gate()
297 return (pg); in nfa_hciu_alloc_gate()
606 tNFA_HCI_DYN_GATE *pg; in nfa_hciu_find_active_pipe_by_owner() local
620 if ( ((pg = nfa_hciu_find_gate_by_gid (pp->local_gate)) != NULL) in nfa_hciu_find_active_pipe_by_owner()
621 &&(pg->gate_owner == app_handle) ) in nfa_hciu_find_active_pipe_by_owner()
677 tNFA_HCI_DYN_GATE *pg; in nfa_hciu_find_pipe_by_owner() local
688 if ( ((pg = nfa_hciu_find_gate_by_gid (pp->local_gate)) != NULL) in nfa_hciu_find_pipe_by_owner()
689 &&(pg->gate_owner == app_handle) ) in nfa_hciu_find_pipe_by_owner()
709 tNFA_HCI_DYN_GATE *pg; in nfa_hciu_find_pipe_on_gate() local
720 if ( ((pg = nfa_hciu_find_gate_by_gid (pp->local_gate)) != NULL) in nfa_hciu_find_pipe_on_gate()
721 &&(pg->gate_id == gate_id) ) in nfa_hciu_find_pipe_on_gate()
810 tNFA_HCI_DYN_GATE *pg; in nfa_hciu_find_active_pipe_on_gate() local
824 if ( ((pg = nfa_hciu_find_gate_by_gid (pp->local_gate)) != NULL) in nfa_hciu_find_active_pipe_on_gate()
825 &&(pg->gate_id == gate_id) ) in nfa_hciu_find_active_pipe_on_gate()
898 tNFA_HCI_DYN_GATE *pg; in nfa_hciu_remove_all_pipes_from_host() local
914 if ((pg = nfa_hciu_find_gate_by_gid (pp->local_gate)) != NULL) in nfa_hciu_remove_all_pipes_from_host()
919 nfa_hciu_send_to_app (NFA_HCI_DELETE_PIPE_EVT, &evt_data, pg->gate_owner); in nfa_hciu_remove_all_pipes_from_host()