Home
last modified time | relevance | path

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

/external/libnfc-nci/src/nfa/hci/
Dnfa_hci_utils.c74 tNFA_HCI_DYN_GATE *nfa_hciu_find_gate_by_gid (UINT8 gate_id) in nfa_hciu_find_gate_by_gid() argument
81 if (pg->gate_id == gate_id) in nfa_hciu_find_gate_by_gid()
199 tNFA_HANDLE nfa_hciu_get_gate_owner (UINT8 gate_id) in nfa_hciu_get_gate_owner() argument
203 if ((pg = nfa_hciu_find_gate_by_gid (gate_id)) == NULL) in nfa_hciu_get_gate_owner()
242 tNFA_HCI_DYN_GATE *nfa_hciu_alloc_gate (UINT8 gate_id, tNFA_HANDLE app_handle) in nfa_hciu_alloc_gate() argument
250 if ( (gate_id != NFA_HCI_CONNECTIVITY_GATE) in nfa_hciu_alloc_gate()
251 &&(gate_id < NFA_HCI_FIRST_PROP_GATE) in nfa_hciu_alloc_gate()
259 if (gate_id != 0) in nfa_hciu_alloc_gate()
261 if ((pg = nfa_hciu_find_gate_by_gid (gate_id)) != NULL) in nfa_hciu_alloc_gate()
268 …for (gate_id = NFA_HCI_FIRST_HOST_SPECIFIC_GENERIC_GATE; gate_id <= NFA_HCI_LAST_PROP_GATE; gate_i… in nfa_hciu_alloc_gate()
[all …]
Dnfa_hci_main.c256 if (nfa_hci_cb.cfg.dyn_gates[xx].gate_id != 0) in nfa_hci_is_valid_cfg()
258 if ( ( (nfa_hci_cb.cfg.dyn_gates[xx].gate_id != NFA_HCI_LOOP_BACK_GATE) in nfa_hci_is_valid_cfg()
259 &&(nfa_hci_cb.cfg.dyn_gates[xx].gate_id != NFA_HCI_IDENTITY_MANAGEMENT_GATE) in nfa_hci_is_valid_cfg()
260 … &&(nfa_hci_cb.cfg.dyn_gates[xx].gate_id < NFA_HCI_FIRST_HOST_SPECIFIC_GENERIC_GATE)) in nfa_hci_is_valid_cfg()
261 ||(nfa_hci_cb.cfg.dyn_gates[xx].gate_id > NFA_HCI_LAST_PROP_GATE)) in nfa_hci_is_valid_cfg()
267 if ( (nfa_hci_cb.cfg.dyn_gates[yy].gate_id != 0) in nfa_hci_is_valid_cfg()
268 … &&(nfa_hci_cb.cfg.dyn_gates[xx].gate_id == nfa_hci_cb.cfg.dyn_gates[yy].gate_id) ) in nfa_hci_is_valid_cfg()
270 … NFA_TRACE_EVENT1 ("nfa_hci_is_valid_cfg Reusing: %u", nfa_hci_cb.cfg.dyn_gates[xx].gate_id); in nfa_hci_is_valid_cfg()
279 if (nfa_hci_cb.cfg.dyn_gates[xx].gate_id != NFA_HCI_CONNECTIVITY_GATE) in nfa_hci_is_valid_cfg()
294 valid_gate[gate_count++] = nfa_hci_cb.cfg.dyn_gates[xx].gate_id; in nfa_hci_is_valid_cfg()
Dnfa_hci_act.c359 nfa_hciu_release_gate (p_gate->gate_id); in nfa_hci_api_deregister()
379 nfa_hciu_release_gate (p_gate->gate_id); in nfa_hci_api_deregister()
428 evt_data.gates_pipes.gate[evt_data.gates_pipes.num_gates++] = pg->gate_id; in nfa_hci_api_get_gate_pipe_list()
435 if (pp->local_gate == pg->gate_id) in nfa_hci_api_get_gate_pipe_list()
457 if (pp->local_gate == pg->gate_id) in nfa_hci_api_get_gate_pipe_list()
505 evt_data.allocated.gate = p_gate ? p_gate->gate_id : 0; in nfa_hci_api_alloc_gate()
524 UINT8 gate_id; in nfa_hci_api_dealloc_gate() local
532 gate_id = p_evt_data->gate_dealloc.gate; in nfa_hci_api_dealloc_gate()
539 gate_id = nfa_hci_cb.local_gate_in_use; in nfa_hci_api_dealloc_gate()
543 evt_data.deallocated.gate = gate_id;; in nfa_hci_api_dealloc_gate()
[all …]
Dnfa_hci_api.c970 if (pg->gate_id != 0) in NFA_HciDebug()
973 xx, pg->gate_id, pg->gate_owner, pg->pipe_inx_mask); in NFA_HciDebug()
/external/libnfc-nxp/src/
DphHciNfc_Pipe.c161 (*ppPipeHandle)->pipe.source.gate_id = in phHciNfc_Create_Pipe()
162 ((phHciNfc_Gate_Info_t *)destination)->gate_id; in phHciNfc_Create_Pipe()
165 (*ppPipeHandle)->pipe.dest.gate_id = in phHciNfc_Create_Pipe()
166 ((phHciNfc_Gate_Info_t *)destination)->gate_id; in phHciNfc_Create_Pipe()
213 p_pipe_info->pipe.source.gate_id = in phHciNfc_Update_Pipe()
217 p_pipe_info->pipe.dest.gate_id = in phHciNfc_Update_Pipe()
334 id_dest.gate_id = (uint8_t)phHciNfc_CETypeAGate; in phHciNfc_CE_Pipes_OP()
351 id_dest.gate_id = (uint8_t)phHciNfc_CETypeBGate; in phHciNfc_CE_Pipes_OP()
369 id_dest.gate_id = (uint8_t)phHciNfc_CETypeFGate; in phHciNfc_CE_Pipes_OP()
454 id_dest.gate_id = (uint8_t)phHciNfc_IdentityMgmtGate; in phHciNfc_Create_All_Pipes()
[all …]
DphHciNfc_AdminMgmt.c744 hcp_message->payload[i++] = p_pipe_info->pipe.source.gate_id; in phHciNfc_Send_Admin_Cmd()
746 hcp_message->payload[i++] = p_pipe_info->pipe.dest.gate_id; in phHciNfc_Send_Admin_Cmd()
1007 p_pipe_info->pipe.source.gate_id = in phHciNfc_Recv_Admin_Cmd()
1012 p_pipe_info->pipe.dest.gate_id = in phHciNfc_Recv_Admin_Cmd()
DphHciNfc_Emulation.c186 pPipeInfo->pipe.source.gate_id = in phHciNfc_Uicc_Connectivity()
192 pPipeInfo->pipe.dest.gate_id = in phHciNfc_Uicc_Connectivity()
DphHciNfc_Generic.h547 uint8_t gate_id; member
/external/libnfc-nci/src/nfa/int/
Dnfa_hci_int.h331 UINT8 gate_id; /* local gate id */ member
464 extern tNFA_HCI_DYN_GATE *nfa_hciu_alloc_gate (UINT8 gate_id, tNFA_HANDLE app_handle);
465 extern tNFA_HCI_DYN_GATE *nfa_hciu_find_gate_by_gid (UINT8 gate_id);
471 extern tNFA_HCI_DYN_PIPE *nfa_hciu_find_pipe_on_gate (UINT8 gate_id);
472 extern tNFA_HANDLE nfa_hciu_get_gate_owner (UINT8 gate_id);
477 extern tNFA_HCI_DYN_PIPE *nfa_hciu_find_active_pipe_on_gate (UINT8 gate_id);