Home
last modified time | relevance | path

Searched refs:pipe_id (Results 1 – 6 of 6) sorted by relevance

/system/nfc/src/nfa/hci/
Dnfa_hci_utils.cc50 tNFA_HCI_DYN_PIPE* nfa_hciu_find_pipe_by_pid(uint8_t pipe_id) { in nfa_hciu_find_pipe_by_pid() argument
56 if (pp->pipe_id == pipe_id) return (pp); in nfa_hciu_find_pipe_by_pid()
202 tNFA_HANDLE nfa_hciu_get_pipe_owner(uint8_t pipe_id) { in nfa_hciu_get_pipe_owner() argument
206 pp = nfa_hciu_find_pipe_by_pid(pipe_id); in nfa_hciu_get_pipe_owner()
299 tNFA_STATUS nfa_hciu_send_msg(uint8_t pipe_id, uint8_t type, in nfa_hciu_send_msg() argument
318 "nfa_hciu_send_msg pipe_id:%d %s len:%d", pipe_id, in nfa_hciu_send_msg()
319 nfa_hciu_get_type_inst_names(pipe_id, type, instruction, buff, in nfa_hciu_send_msg()
340 *p_data++ = (NFA_HCI_MESSAGE_FRAGMENTATION << 7) | (pipe_id & 0x7F); in nfa_hciu_send_msg()
343 *p_data++ = (NFA_HCI_NO_MESSAGE_FRAGMENTATION << 7) | (pipe_id & 0x7F); in nfa_hciu_send_msg()
429 tNFA_HCI_DYN_PIPE* nfa_hciu_alloc_pipe(uint8_t pipe_id) { in nfa_hciu_alloc_pipe() argument
[all …]
Dnfa_hci_act.cc381 nfa_hciu_send_delete_pipe_cmd(p_pipe->pipe_id); in nfa_hci_api_deregister()
423 if (pp->pipe_id != 0 && pp->local_gate == NFA_HCI_CONNECTIVITY_GATE) { in nfa_hci_api_get_gate_pipe_list()
427 } else if (pp->pipe_id != 0 && pp->local_gate == NFA_HCI_LOOP_BACK_GATE) { in nfa_hci_api_get_gate_pipe_list()
431 } else if (pp->pipe_id >= NFA_HCI_FIRST_DYNAMIC_PIPE && in nfa_hci_api_get_gate_pipe_list()
432 pp->pipe_id <= NFA_HCI_LAST_DYNAMIC_PIPE && pp->pipe_id && in nfa_hci_api_get_gate_pipe_list()
550 nfa_hciu_send_delete_pipe_cmd(p_pipe->pipe_id); in nfa_hci_api_dealloc_gate()
875 status = nfa_hciu_send_msg(p_pipe->pipe_id, NFA_HCI_COMMAND_TYPE, in nfa_hci_api_send_cmd()
882 p_pipe->pipe_id); in nfa_hci_api_send_cmd()
888 p_pipe->pipe_id); in nfa_hci_api_send_cmd()
926 status = nfa_hciu_send_msg(p_pipe->pipe_id, NFA_HCI_RESPONSE_TYPE, in nfa_hci_api_send_rsp()
[all …]
Dnfa_hci_main.cc309 if (nfa_hci_cb.cfg.dyn_pipes[xx].pipe_id < NFA_HCI_FIRST_DYNAMIC_PIPE) in nfa_hci_is_valid_cfg()
318 if (nfa_hci_cb.cfg.dyn_pipes[xx].pipe_id != 0) { in nfa_hci_is_valid_cfg()
320 if (nfa_hci_cb.cfg.dyn_pipes[xx].pipe_id < NFA_HCI_FIRST_DYNAMIC_PIPE) in nfa_hci_is_valid_cfg()
351 if ((nfa_hci_cb.cfg.dyn_pipes[yy].pipe_id != 0) && in nfa_hci_is_valid_cfg()
352 (nfa_hci_cb.cfg.dyn_pipes[xx].pipe_id == in nfa_hci_is_valid_cfg()
353 nfa_hci_cb.cfg.dyn_pipes[yy].pipe_id)) { in nfa_hci_is_valid_cfg()
355 nfa_hci_cb.cfg.dyn_pipes[xx].pipe_id); in nfa_hci_is_valid_cfg()
387 if (nfa_hci_cb.cfg.dyn_pipes[xx].pipe_id < NFA_HCI_FIRST_DYNAMIC_PIPE) in nfa_hci_is_valid_cfg()
Dnfa_hci_api.cc816 if (pp->pipe_id != 0) { in NFA_HciDebug()
821 xx, pp->pipe_id, pp->pipe_state, pp->local_gate, pp->dest_gate, in NFA_HciDebug()
/system/nfc/src/nfa/include/
Dnfa_hci_int.h324 uint8_t pipe_id; /* Pipe ID */ member
473 extern tNFA_HCI_DYN_PIPE* nfa_hciu_find_pipe_by_pid(uint8_t pipe_id);
486 extern tNFA_HANDLE nfa_hciu_get_pipe_owner(uint8_t pipe_id);
495 uint8_t pipe_id,
499 extern tNFA_HCI_RESPONSE nfa_hciu_release_pipe(uint8_t pipe_id);
521 extern tNFA_STATUS nfa_hciu_send_msg(uint8_t pipe_id, uint8_t type,
531 extern std::string nfa_hciu_evt_2_str(uint8_t pipe_id, uint8_t evt);
Dnfa_hci_api.h108 uint8_t pipe_id; /* Pipe ID */ member