Home
last modified time | relevance | path

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

/external/libnfc-nci/src/nfa/hci/
Dnfa_hci_utils.c97 tNFA_HCI_DYN_GATE *nfa_hciu_find_gate_by_owner (tNFA_HANDLE app_handle) in nfa_hciu_find_gate_by_owner() argument
104 if (pg->gate_owner == app_handle) in nfa_hciu_find_gate_by_owner()
121 tNFA_HCI_DYN_GATE *nfa_hciu_find_gate_with_nopipes_by_owner (tNFA_HANDLE app_handle) in nfa_hciu_find_gate_with_nopipes_by_owner() argument
128 if ( (pg->gate_owner == app_handle) in nfa_hciu_find_gate_with_nopipes_by_owner()
242 tNFA_HCI_DYN_GATE *nfa_hciu_alloc_gate (UINT8 gate_id, tNFA_HANDLE app_handle) in nfa_hciu_alloc_gate() argument
246 UINT8 app_inx = app_handle & NFA_HANDLE_MASK; in nfa_hciu_alloc_gate()
252 &&(( (app_handle & NFA_HANDLE_GROUP_MASK) != NFA_HANDLE_GROUP_HCI) in nfa_hciu_alloc_gate()
279 …TRACE_ERROR2 ("nfa_hci_alloc_gate - no free Gate ID: %u App Handle: 0x%04x", gate_id, app_handle); in nfa_hciu_alloc_gate()
291 pg->gate_owner = app_handle; in nfa_hciu_alloc_gate()
294 NFA_TRACE_DEBUG2 ("nfa_hciu_alloc_gate id:%d app_handle: 0x%04x", gate_id, app_handle); in nfa_hciu_alloc_gate()
[all …]
Dnfa_hci_act.c484 tNFA_HANDLE app_handle = p_evt_data->comm.hci_handle; in nfa_hci_api_alloc_gate() local
488 p_gate = nfa_hciu_alloc_gate (p_evt_data->gate_info.gate, app_handle); in nfa_hci_api_alloc_gate()
495 p_gate->gate_owner = app_handle; in nfa_hci_api_alloc_gate()
497 else if (p_gate->gate_owner != app_handle) in nfa_hci_api_alloc_gate()
509 nfa_hciu_send_to_app (NFA_HCI_ALLOCATE_GATE_EVT, &evt_data, app_handle); in nfa_hci_api_alloc_gate()
527 tNFA_HANDLE app_handle; in nfa_hci_api_dealloc_gate() local
533 app_handle = p_evt_data->gate_dealloc.hci_handle; in nfa_hci_api_dealloc_gate()
540 app_handle = nfa_hci_cb.app_in_use; in nfa_hci_api_dealloc_gate()
551 else if (p_gate->gate_owner != app_handle) in nfa_hci_api_dealloc_gate()
581 nfa_hci_cb.app_in_use = app_handle; in nfa_hci_api_dealloc_gate()
[all …]
/external/libnfc-nci/src/nfa/int/
Dnfa_hci_int.h464 extern tNFA_HCI_DYN_GATE *nfa_hciu_alloc_gate (UINT8 gate_id, tNFA_HANDLE app_handle);
466 extern tNFA_HCI_DYN_GATE *nfa_hciu_find_gate_by_owner (tNFA_HANDLE app_handle);
467 extern tNFA_HCI_DYN_GATE *nfa_hciu_find_gate_with_nopipes_by_owner (tNFA_HANDLE app_handle);
469 extern tNFA_HCI_DYN_PIPE *nfa_hciu_find_pipe_by_owner (tNFA_HANDLE app_handle);
470 extern tNFA_HCI_DYN_PIPE *nfa_hciu_find_active_pipe_by_owner (tNFA_HANDLE app_handle);
491 … nfa_hciu_send_to_app (tNFA_HCI_EVT event, tNFA_HCI_EVT_DATA *p_evt, tNFA_HANDLE app_handle);