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.cc51 tNFA_HCI_DYN_PIPE* nfa_hciu_find_pipe_by_pid(uint8_t pipe_id) { in nfa_hciu_find_pipe_by_pid() argument
57 if (pp->pipe_id == pipe_id) return (pp); in nfa_hciu_find_pipe_by_pid()
203 tNFA_HANDLE nfa_hciu_get_pipe_owner(uint8_t pipe_id) { in nfa_hciu_get_pipe_owner() argument
207 pp = nfa_hciu_find_pipe_by_pid(pipe_id); in nfa_hciu_get_pipe_owner()
300 tNFA_STATUS nfa_hciu_send_msg(uint8_t pipe_id, uint8_t type, in nfa_hciu_send_msg() argument
313 "nfa_hciu_send_msg pipe_id:%d %s len:%d", pipe_id, in nfa_hciu_send_msg()
314 nfa_hciu_get_type_inst_names(pipe_id, type, instruction, buff), msg_len); in nfa_hciu_send_msg()
333 *p_data++ = (NFA_HCI_MESSAGE_FRAGMENTATION << 7) | (pipe_id & 0x7F); in nfa_hciu_send_msg()
336 *p_data++ = (NFA_HCI_NO_MESSAGE_FRAGMENTATION << 7) | (pipe_id & 0x7F); in nfa_hciu_send_msg()
418 tNFA_HCI_DYN_PIPE* nfa_hciu_alloc_pipe(uint8_t pipe_id) { in nfa_hciu_alloc_pipe() argument
[all …]
Dnfa_hci_act.cc385 nfa_hciu_send_delete_pipe_cmd(p_pipe->pipe_id); in nfa_hci_api_deregister()
427 if (pp->pipe_id != 0 && pp->local_gate == NFA_HCI_CONNECTIVITY_GATE) { in nfa_hci_api_get_gate_pipe_list()
431 } else if (pp->pipe_id != 0 && pp->local_gate == NFA_HCI_LOOP_BACK_GATE) { in nfa_hci_api_get_gate_pipe_list()
435 } else if (pp->pipe_id >= NFA_HCI_FIRST_DYNAMIC_PIPE && in nfa_hci_api_get_gate_pipe_list()
436 pp->pipe_id <= NFA_HCI_LAST_DYNAMIC_PIPE && pp->pipe_id && in nfa_hci_api_get_gate_pipe_list()
554 nfa_hciu_send_delete_pipe_cmd(p_pipe->pipe_id); in nfa_hci_api_dealloc_gate()
878 status = nfa_hciu_send_msg(p_pipe->pipe_id, NFA_HCI_COMMAND_TYPE, in nfa_hci_api_send_cmd()
885 p_pipe->pipe_id); in nfa_hci_api_send_cmd()
891 p_pipe->pipe_id); in nfa_hci_api_send_cmd()
928 status = nfa_hciu_send_msg(p_pipe->pipe_id, NFA_HCI_RESPONSE_TYPE, in nfa_hci_api_send_rsp()
[all …]
Dnfa_hci_main.cc314 if (nfa_hci_cb.cfg.dyn_pipes[xx].pipe_id < NFA_HCI_FIRST_DYNAMIC_PIPE) in nfa_hci_is_valid_cfg()
323 if (nfa_hci_cb.cfg.dyn_pipes[xx].pipe_id != 0) { in nfa_hci_is_valid_cfg()
325 if (nfa_hci_cb.cfg.dyn_pipes[xx].pipe_id < NFA_HCI_FIRST_DYNAMIC_PIPE) in nfa_hci_is_valid_cfg()
356 if ((nfa_hci_cb.cfg.dyn_pipes[yy].pipe_id != 0) && in nfa_hci_is_valid_cfg()
357 (nfa_hci_cb.cfg.dyn_pipes[xx].pipe_id == in nfa_hci_is_valid_cfg()
358 nfa_hci_cb.cfg.dyn_pipes[yy].pipe_id)) { in nfa_hci_is_valid_cfg()
361 nfa_hci_cb.cfg.dyn_pipes[xx].pipe_id); in nfa_hci_is_valid_cfg()
394 if (nfa_hci_cb.cfg.dyn_pipes[xx].pipe_id < NFA_HCI_FIRST_DYNAMIC_PIPE) in nfa_hci_is_valid_cfg()
Dnfa_hci_api.cc856 if (pp->pipe_id != 0) { in NFA_HciDebug()
861 xx, pp->pipe_id, pp->pipe_state, pp->local_gate, pp->dest_gate, in NFA_HciDebug()
/system/nfc/src/nfa/include/
Dnfa_hci_int.h322 uint8_t pipe_id; /* Pipe ID */ member
469 extern tNFA_HCI_DYN_PIPE* nfa_hciu_find_pipe_by_pid(uint8_t pipe_id);
482 extern tNFA_HANDLE nfa_hciu_get_pipe_owner(uint8_t pipe_id);
491 uint8_t pipe_id,
495 extern tNFA_HCI_RESPONSE nfa_hciu_release_pipe(uint8_t pipe_id);
517 extern tNFA_STATUS nfa_hciu_send_msg(uint8_t pipe_id, uint8_t type,
526 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