Searched refs:gate (Results 1 – 4 of 4) sorted by relevance
/system/nfc/src/nfa/hci/ |
D | nfa_hci_api.cc | 215 tNFA_STATUS NFA_HciAllocGate(tNFA_HANDLE hci_handle, uint8_t gate) { in NFA_HciAllocGate() argument 224 if ((gate) && ((gate < NFA_HCI_FIRST_HOST_SPECIFIC_GENERIC_GATE) || in NFA_HciAllocGate() 225 (gate > NFA_HCI_LAST_PROP_GATE) || in NFA_HciAllocGate() 226 (gate == NFA_HCI_CONNECTIVITY_GATE))) { in NFA_HciAllocGate() 228 << StringPrintf("Cannot allocate gate:0x%02x", gate); in NFA_HciAllocGate() 233 << StringPrintf("hci_handle:0x%04x, Gate:0x%02x", hci_handle, gate); in NFA_HciAllocGate() 241 p_msg->gate = gate; in NFA_HciAllocGate() 262 tNFA_STATUS NFA_HciDeallocGate(tNFA_HANDLE hci_handle, uint8_t gate) { in NFA_HciDeallocGate() argument 271 if ((gate < NFA_HCI_FIRST_HOST_SPECIFIC_GENERIC_GATE) || in NFA_HciDeallocGate() 272 (gate > NFA_HCI_LAST_PROP_GATE) || (gate == NFA_HCI_CONNECTIVITY_GATE)) { in NFA_HciDeallocGate() [all …]
|
D | nfa_hci_act.cc | 410 evt_data.gates_pipes.gate[evt_data.gates_pipes.num_gates++] = pg->gate_id; in nfa_hci_api_get_gate_pipe_list() 473 p_gate = nfa_hciu_alloc_gate(p_evt_data->gate_info.gate, app_handle); in nfa_hci_api_alloc_gate() 483 p_evt_data->gate_info.gate); in nfa_hci_api_alloc_gate() 487 evt_data.allocated.gate = p_gate ? p_gate->gate_id : 0; in nfa_hci_api_alloc_gate() 512 gate_id = p_evt_data->gate_dealloc.gate; in nfa_hci_api_dealloc_gate() 521 evt_data.deallocated.gate = gate_id; in nfa_hci_api_dealloc_gate() 1054 pg = nfa_hciu_alloc_gate(p_evt_data->add_static_pipe.gate, in nfa_hci_api_add_static_pipe() 1063 p_evt_data->add_static_pipe.gate) != in nfa_hci_api_add_static_pipe()
|
/system/nfc/src/nfa/include/ |
D | nfa_hci_api.h | 135 uint8_t gate[NFA_HCI_MAX_GATE_CB]; /* List of generic gates allocated to the member 145 uint8_t gate; /* The gate allocated to the application */ member 151 uint8_t gate; /* The gate deallocated from the application */ member 371 extern tNFA_STATUS NFA_HciAllocGate(tNFA_HANDLE hci_handle, uint8_t gate); 390 extern tNFA_STATUS NFA_HciDeallocGate(tNFA_HANDLE conn_handle, uint8_t gate); 564 uint8_t gate, uint8_t pipe);
|
D | nfa_hci_int.h | 151 uint8_t gate; member 158 uint8_t gate; member 226 uint8_t gate; member 496 extern void nfa_hciu_release_gate(uint8_t gate);
|