Home
last modified time | relevance | path

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

12

/external/libnfc-nci/src/nfa/hci/
Dnfa_hci_utils.c49 tNFA_HCI_DYN_PIPE *nfa_hciu_find_pipe_by_pid (UINT8 pipe_id) in nfa_hciu_find_pipe_by_pid() argument
57 if (pp->pipe_id == pipe_id) in nfa_hciu_find_pipe_by_pid()
218 tNFA_HANDLE nfa_hciu_get_pipe_owner (UINT8 pipe_id) in nfa_hciu_get_pipe_owner() argument
223 if ((pp = nfa_hciu_find_pipe_by_pid (pipe_id)) == NULL) in nfa_hciu_get_pipe_owner()
320 tNFA_STATUS nfa_hciu_send_msg (UINT8 pipe_id, UINT8 type, UINT8 instruction, UINT16 msg_len, UINT8 … in nfa_hciu_send_msg() argument
333pipe_id, nfa_hciu_get_type_inst_names (pipe_id, type, instruction, buff), msg_len); in nfa_hciu_send_msg()
336 pipe_id, type, instruction, msg_len); in nfa_hciu_send_msg()
356 *p_data++ = (NFA_HCI_MESSAGE_FRAGMENTATION << 7) | (pipe_id & 0x7F); in nfa_hciu_send_msg()
361 *p_data++ = (NFA_HCI_NO_MESSAGE_FRAGMENTATION << 7) | (pipe_id & 0x7F); in nfa_hciu_send_msg()
389 handle_debug_loopback (p_buf, pipe_id, type, instruction); in nfa_hciu_send_msg()
[all …]
Dnfa_hci_act.c400 nfa_hciu_send_delete_pipe_cmd (p_pipe->pipe_id); in nfa_hci_api_deregister()
445 if (pp->pipe_id != 0 && pp->local_gate == NFA_HCI_CONNECTIVITY_GATE) in nfa_hci_api_get_gate_pipe_list()
449 else if (pp->pipe_id != 0 && pp->local_gate == NFA_HCI_LOOP_BACK_GATE) in nfa_hci_api_get_gate_pipe_list()
557 nfa_hciu_send_delete_pipe_cmd (p_pipe->pipe_id); in nfa_hci_api_dealloc_gate()
883 …if ((status = nfa_hciu_send_msg (p_pipe->pipe_id, NFA_HCI_COMMAND_TYPE, p_evt_data->send_cmd.cmd_c… in nfa_hci_api_send_cmd()
889 NFA_TRACE_WARNING1 ("nfa_hci_api_send_cmd pipe:%d not open", p_pipe->pipe_id); in nfa_hci_api_send_cmd()
895 p_pipe->pipe_id); in nfa_hci_api_send_cmd()
935 …if ((status = nfa_hciu_send_msg (p_pipe->pipe_id, NFA_HCI_RESPONSE_TYPE, p_evt_data->send_rsp.resp… in nfa_hci_api_send_rsp()
941 NFA_TRACE_WARNING1 ("nfa_hci_api_send_rsp pipe:%d not open", p_pipe->pipe_id); in nfa_hci_api_send_rsp()
947 p_pipe->pipe_id); in nfa_hci_api_send_rsp()
[all …]
/external/libnfc-nxp/src/
DphHciNfc_Pipe.c171 (*ppPipeHandle)->pipe.pipe_id = (uint8_t) HCI_UNKNOWN_PIPE_ID; in phHciNfc_Create_Pipe()
220 p_pipe_info->pipe.pipe_id = (uint8_t) HCI_UNKNOWN_PIPE_ID; in phHciNfc_Update_Pipe()
229 uint8_t pipe_id = (uint8_t)(pipe_index + HCI_DYNAMIC_PIPE_ID); in phHciNfc_Update_Pipe() local
231 pipe_id, p_pipe_info ); in phHciNfc_Update_Pipe()
234 p_pipe_info->pipe.pipe_id = pipe_id; in phHciNfc_Update_Pipe()
235 psHciContext->p_pipe_list[pipe_id] = p_pipe_info; in phHciNfc_Update_Pipe()
383 status = phHciNfc_CE_A_Get_PipeID( psHciContext, &pipe_id ); in phHciNfc_CE_Pipes_OP()
384 p_pipe_info = psHciContext->p_pipe_list[pipe_id]; in phHciNfc_CE_Pipes_OP()
396 status = phHciNfc_CE_B_Get_PipeID( psHciContext, &pipe_id ); in phHciNfc_CE_Pipes_OP()
397 p_pipe_info = psHciContext->p_pipe_list[pipe_id]; in phHciNfc_CE_Pipes_OP()
[all …]
DphHciNfc_IDMgmt.c84 uint8_t pipe_id; member
155 p_identity_info->pipe_id = (uint8_t)HCI_UNKNOWN_PIPE_ID; in phHciNfc_IDMgmt_Init_Resources()
188 *ppipe_id = p_identity_info->pipe_id ; in phHciNfc_IDMgmt_Get_PipeID()
326 id_pipe_id = p_identity_info->pipe_id ; in phHciNfc_IDMgmt_Initialise()
340 id_pipe_id = p_identity_info->pipe_id ; in phHciNfc_IDMgmt_Initialise()
354 id_pipe_id = p_identity_info->pipe_id ; in phHciNfc_IDMgmt_Initialise()
368 id_pipe_id = p_identity_info->pipe_id ; in phHciNfc_IDMgmt_Initialise()
382 id_pipe_id = p_identity_info->pipe_id ; in phHciNfc_IDMgmt_Initialise()
396 id_pipe_id = p_identity_info->pipe_id ; in phHciNfc_IDMgmt_Initialise()
410 id_pipe_id = p_identity_info->pipe_id ; in phHciNfc_IDMgmt_Initialise()
[all …]
DphHciNfc_AdminMgmt.c254 ((phHciNfc_Pipe_Info_t *)p_pipe_info)->pipe.pipe_id = in phHciNfc_Admin_Initialise()
751 uint8_t pipe_id = (uint8_t) HCI_UNKNOWN_PIPE_ID; in phHciNfc_Send_Admin_Cmd() local
753 pipe_id = p_pipe_info->pipe.pipe_id; in phHciNfc_Send_Admin_Cmd()
754 if( pipe_id < PIPETYPE_DYNAMIC ) in phHciNfc_Send_Admin_Cmd()
760 "Cannot be Deleted \n",pipe_id); in phHciNfc_Send_Admin_Cmd()
773 hcp_message->payload[i++] = pipe_id ; in phHciNfc_Send_Admin_Cmd()
841 uint8_t pipe_id = (uint8_t) HCI_UNKNOWN_PIPE_ID; in phHciNfc_Recv_Admin_Response() local
892 pipe_id = hcp_message->payload[RESPONSE_PIPEID_OFFSET]; in phHciNfc_Recv_Admin_Response()
894 &(p_admin_info->pipe_seq), pipe_id, p_pipe_info); in phHciNfc_Recv_Admin_Response()
897 psHciContext->p_pipe_list[pipe_id] = p_pipe_info; in phHciNfc_Recv_Admin_Response()
[all …]
DphHciNfc_Generic.c220 uint8_t pipe_id
659 uint8_t pipe_id = (uint8_t) HCI_UNKNOWN_PIPE_ID; in phHciNfc_Send_HCP() local
662 pipe_id = (uint8_t) GET_BITS8( tx_data->hcp_header, in phHciNfc_Send_HCP()
696 phHciNfc_Build_HCPHeader(tx_data, chain_bit , pipe_id ); in phHciNfc_Send_HCP()
905 uint8_t pipe_id = (uint8_t)HCI_UNKNOWN_PIPE_ID; in phHciNfc_Process_Response() local
916 pipe_id = (uint8_t) GET_BITS8( packet->hcp_header, in phHciNfc_Process_Response()
930 if (pipe_id >= PHHCINFC_MAX_PIPE ) in phHciNfc_Process_Response()
935 && ( (pipe_id != PIPETYPE_STATIC_ADMIN ) in phHciNfc_Process_Response()
936 && ( ADM_CLEAR_ALL_PIPE != (psHciContext->p_pipe_list[pipe_id])->prev_msg )) in phHciNfc_Process_Response()
943 p_pipe_info = psHciContext->p_pipe_list[pipe_id]; in phHciNfc_Process_Response()
[all …]
DphHciNfc_DevMgmt.c190 uint8_t pipe_id,
199 uint8_t pipe_id,
258 *ppipe_id = p_pipe_info->pipe.pipe_id ; in phHciNfc_DevMgmt_Get_PipeID()
381 uint8_t pipe_id = (uint8_t)HCI_UNKNOWN_PIPE_ID; in phHciNfc_DevMgmt_Configure() local
405 pipe_id = p_pipe_info->pipe.pipe_id ; in phHciNfc_DevMgmt_Configure()
413 pipe_id, (uint8_t)NXP_DBG_WRITE ); in phHciNfc_DevMgmt_Configure()
430 uint8_t pipe_id = (uint8_t)HCI_UNKNOWN_PIPE_ID; in phHciNfc_DevMgmt_Get_Info() local
456 pipe_id = p_pipe_info->pipe.pipe_id ; in phHciNfc_DevMgmt_Get_Info()
463 pipe_id, (uint8_t)NXP_DBG_READ ); in phHciNfc_DevMgmt_Get_Info()
532 pHwRef, (uint8_t)p_pipe_info->pipe.pipe_id, in phHciNfc_DevMgmt_Initialise()
[all …]
DphHciNfc_WI.c100 uint8_t pipe_id,
150 p_WI_info->pipe_id = (uint8_t)HCI_UNKNOWN_PIPE_ID; in phHciNfc_WI_Init_Resources()
177 *ppipe_id = p_wi_info->pipe_id ; in phHciNfc_WI_Get_PipeID()
210 p_WI_info->pipe_id = pipeID; in phHciNfc_WI_Update_PipeInfo()
317 p_wi_info->pipe_id,(uint8_t)ANY_SET_PARAMETER); in phHciNfc_WI_Configure_Default()
360 p_wiinfo->pipe_id, in phHciNfc_WI_Get_Default()
409 p_wi_info->pipe_id, NXP_EVT_SE_SWITCH_MODE ); in phHciNfc_WI_Configure_Mode()
470 p_wi_info->pipe_id,(uint8_t)ANY_SET_PARAMETER); in phHciNfc_WI_Configure_Notifications()
488 uint8_t pipe_id, in phHciNfc_Send_WI_Event() argument
500 || ( pipe_id > PHHCINFC_MAX_PIPE) in phHciNfc_Send_WI_Event()
[all …]
DphHciNfc_RFReaderA.c158 *ppipe_id = p_rdr_a_info->pipe_id ; in phHciNfc_ReaderA_Get_PipeID()
190 p_rdr_a_info->pipe_id = (uint8_t)HCI_UNKNOWN_PIPE_ID; in phHciNfc_ReaderA_Init_Resources()
224 p_rdr_a_info->pipe_id = pipeID; in phHciNfc_ReaderA_Update_PipeInfo()
283 pipeid = p_rdr_a_info->pipe_id ; in phHciNfc_ReaderA_Info_Sequence()
298 pipeid = p_rdr_a_info->pipe_id ; in phHciNfc_ReaderA_Info_Sequence()
313 pipeid = p_rdr_a_info->pipe_id ; in phHciNfc_ReaderA_Info_Sequence()
912 pipeid = p_rdr_a_info->pipe_id ; in phHciNfc_ReaderA_Auto_Activate()
956 pipeid = p_rdr_a_info->pipe_id ; in phHciNfc_ReaderA_Set_DataRateMax()
968 uint8_t pipe_id, in phHciNfc_Send_ReaderA_Command() argument
984 pipe_id) || in phHciNfc_Send_ReaderA_Command()
[all …]
DphHciNfc_ISO15693.c157 *ppipe_id = ps_15693_info->ps_15693_pipe_info->pipe.pipe_id; in phHciNfc_ISO15693_Get_PipeID()
192 ps_15693_info->pipe_id = pipeID; in phHciNfc_ISO15693_Update_PipeInfo()
193 ps_15693_info->ps_15693_pipe_info->pipe.pipe_id = pipeID; in phHciNfc_ISO15693_Update_PipeInfo()
297 pipeid = ps_pipe_info->pipe.pipe_id ; in phHciNfc_ISO15693_Info_Sequence()
312 pipeid = ps_pipe_info->pipe.pipe_id ; in phHciNfc_ISO15693_Info_Sequence()
639 uint8_t pipe_id, in phHciNfc_Send_ISO15693_Command() argument
655 pipe_id) || in phHciNfc_Send_ISO15693_Command()
656 (pipe_id != in phHciNfc_Send_ISO15693_Command()
658 pipe_id)) in phHciNfc_Send_ISO15693_Command()
687 (uint8_t) pipe_id, HCP_MSG_TYPE_COMMAND, cmd); in phHciNfc_Send_ISO15693_Command()
[all …]
DphHciNfc_SWP.c84 uint8_t pipe_id,
131 *ppipe_id = p_swp_info->pipe_id ; in phHciNfc_SWP_Get_PipeID()
159 ps_swp_info->pipe_id = (uint8_t)HCI_UNKNOWN_PIPE_ID; in phHciNfc_SWP_Init_Resources()
194 ps_swp_info->pipe_id = pipeID; in phHciNfc_SWP_Update_PipeInfo()
335 ps_swp_info->pipe_id, in phHciNfc_SWP_Configure_Default()
379 ps_swp_info->pipe_id, in phHciNfc_SWP_Get_Status()
459 ps_swp_info->pipe_id, in phHciNfc_SWP_Protection()
558 ps_swp_info->pipe_id, in phHciNfc_SWP_Configure_Mode()
651 uint8_t pipe_id, in phHciNfc_Send_SWP_Event() argument
663 psHciContext->p_pipe_list[pipe_id]; in phHciNfc_Send_SWP_Event()
[all …]
DphHciNfc_Felica.c142 *ppipe_id = p_fel_info->pipe_id ; in phHciNfc_Felica_Get_PipeID()
174 p_fel_info->pipe_id = (uint8_t)HCI_UNKNOWN_PIPE_ID; in phHciNfc_Felica_Init_Resources()
209 p_fel_info->pipe_id = pipeID; in phHciNfc_Felica_Update_PipeInfo()
316 pipeid = p_fel_info->pipe_id ; in phHciNfc_Felica_Info_Sequence()
331 pipeid = p_fel_info->pipe_id ; in phHciNfc_Felica_Info_Sequence()
346 pipeid = p_fel_info->pipe_id ; in phHciNfc_Felica_Info_Sequence()
872 ps_pipe_info->pipe.pipe_id, in phHciNfc_Felica_Request_Mode()
884 uint8_t pipe_id, in phHciNfc_Send_Felica_Command() argument
901 pipe_id) || in phHciNfc_Send_Felica_Command()
902 (pipe_id != in phHciNfc_Send_Felica_Command()
[all …]
DphHciNfc_Jewel.c127 *ppipe_id = ps_jewel_info->pipe_id; in phHciNfc_Jewel_Get_PipeID()
158 ps_jewel_info->pipe_id = (uint8_t)HCI_UNKNOWN_PIPE_ID; in phHciNfc_Jewel_Init_Resources()
193 ps_jewel_info->pipe_id = pipeID; in phHciNfc_Jewel_Update_PipeInfo()
299 pipeid = ps_pipe_info->pipe.pipe_id; in phHciNfc_Jewel_Info_Sequence()
709 uint8_t pipe_id, in phHciNfc_Send_Jewel_Command() argument
726 pipe_id) || in phHciNfc_Send_Jewel_Command()
727 (pipe_id != in phHciNfc_Send_Jewel_Command()
729 pipe_id)) in phHciNfc_Send_Jewel_Command()
759 (uint8_t) pipe_id, HCP_MSG_TYPE_COMMAND, cmd); in phHciNfc_Send_Jewel_Command()
823 pipeid = ps_jewel_info->pipe_id ; in phHciNfc_Jewel_GetRID()
DphHciNfc_CE_A.c126 ps_ce_a_info->pipe_id = (uint8_t)HCI_UNKNOWN_PIPE_ID; in phHciNfc_CE_A_Init_Resources()
196 ps_pipe_info->pipe.pipe_id, in phHciNfc_CE_A_Initialise()
212 ps_pipe_info->pipe.pipe_id, in phHciNfc_CE_A_Initialise()
306 ps_ce_a_info->pipe_id = HCI_UNKNOWN_PIPE_ID; in phHciNfc_CE_A_Release()
307 psHciContext->p_pipe_list[ps_ce_a_info->pipe_id] = NULL; in phHciNfc_CE_A_Release()
352 ps_ce_a_info->pipe_id = pipeID; in phHciNfc_CE_A_Update_PipeInfo()
390 *ppipe_id = ps_ce_a_info->pipe_id ; in phHciNfc_CE_A_Get_PipeID()
587 ps_ce_a_info->pipe_id,(uint8_t)ANY_SET_PARAMETER); in phHciNfc_CE_A_Mode()
DphHciNfc_CE_B.c126 ps_ce_b_info->pipe_id = (uint8_t)HCI_UNKNOWN_PIPE_ID; in phHciNfc_CE_B_Init_Resources()
194 ps_pipe_info->pipe.pipe_id, in phHciNfc_CE_B_Initialise()
210 ps_pipe_info->pipe.pipe_id, in phHciNfc_CE_B_Initialise()
301 ps_ce_b_info->pipe_id = HCI_UNKNOWN_PIPE_ID; in phHciNfc_CE_B_Release()
302 psHciContext->p_pipe_list[ps_ce_b_info->pipe_id] = NULL; in phHciNfc_CE_B_Release()
355 ps_ce_b_info->pipe_id,(uint8_t)ANY_SET_PARAMETER); in phHciNfc_CE_B_Mode()
383 *ppipe_id = ps_ce_b_info->pipe_id ; in phHciNfc_CE_B_Get_PipeID()
419 ps_ce_b_info->pipe_id = pipeID; in phHciNfc_CE_B_Update_PipeInfo()
DphHciNfc_RFReaderB.c136 *ppipe_id = p_rdr_b_info->pipe_id ; in phHciNfc_ReaderB_Get_PipeID()
167 p_rdr_b_info->pipe_id = (uint8_t)HCI_UNKNOWN_PIPE_ID; in phHciNfc_ReaderB_Init_Resources()
252 p_rdr_b_info->pipe_id = pipeID; in phHciNfc_ReaderB_Update_PipeInfo()
305 pipeid = p_rdr_b_info->pipe_id ; in phHciNfc_ReaderB_Info_Sequence()
320 pipeid = p_rdr_b_info->pipe_id ; in phHciNfc_ReaderB_Info_Sequence()
336 pipeid = p_rdr_b_info->pipe_id ; in phHciNfc_ReaderB_Info_Sequence()
352 pipeid = p_rdr_b_info->pipe_id ; in phHciNfc_ReaderB_Info_Sequence()
369 pipeid = p_rdr_b_info->pipe_id ; in phHciNfc_ReaderB_Info_Sequence()
848 pipeid = ps_rdr_b_info->pipe_id ; in phHciNfc_ReaderB_Set_AFI()
904 pipeid = ps_rdr_b_info->pipe_id ; in phHciNfc_ReaderB_Set_LayerData()
DphHciNfc_NfcIPMgmt.c250 *ppipe_id = p_init_info->p_init_pipe_info->pipe.pipe_id ; in phHciNfc_Initiator_Get_PipeID()
283 p_init_info->p_init_pipe_info->pipe.pipe_id = pipeID; in phHciNfc_Initiator_Update_PipeInfo()
332 pipeid = p_pipe_info->pipe.pipe_id; in phHciNfc_NfcIP_Presence_Check()
513 *ppipe_id = p_target_info->p_tgt_pipe_info->pipe.pipe_id; in phHciNfc_Target_Get_PipeID()
546 p_target_info->p_tgt_pipe_info->pipe.pipe_id = pipeID; in phHciNfc_Target_Update_PipeInfo()
966 pipeid = p_pipe_info->pipe.pipe_id; in phHciNfc_NfcIP_Send_Data()
1055 p_pipe_info->pipe.pipe_id, in phHciNfc_NfcIP_Info_Sequence()
1070 p_pipe_info->pipe.pipe_id, in phHciNfc_NfcIP_Info_Sequence()
1085 p_pipe_info->pipe.pipe_id, in phHciNfc_NfcIP_Info_Sequence()
1101 p_pipe_info->pipe.pipe_id, in phHciNfc_NfcIP_Info_Sequence()
[all …]
DphHciNfc_Jewel.h88 uint8_t pipe_id; member
235 uint8_t pipe_id,
DphHciNfc_ISO15693.h83 uint8_t pipe_id; member
226 uint8_t pipe_id,
DphHciNfc_Felica.h91 uint8_t pipe_id; member
260 uint8_t pipe_id,
DphHciNfc_PollingLoop.c101 uint8_t pipe_id; member
186 *ppipe_id = p_poll_info->pipe_id ; in phHciNfc_PollLoop_Get_PipeID()
217 p_poll_info->pipe_id = (uint8_t)HCI_UNKNOWN_PIPE_ID; in phHciNfc_PollLoop_Init_Resources()
423 pipeid = p_poll_info->pipe_id ; in phHciNfc_PollLoop_Cfg()
460 pipeid = p_poll_info->pipe_id ; in phHciNfc_PollLoop_Cfg()
502 pipeid = p_poll_info->pipe_id ; in phHciNfc_PollLoop_Cfg()
567 p_poll_info->pipe_id = pipeID; in phHciNfc_PollLoop_Update_PipeInfo()
DphHciNfc_RFReaderA.h97 uint8_t pipe_id; member
268 uint8_t pipe_id,
DphHciNfc_RFReader.h520 uint8_t pipe_id,
553 uint8_t pipe_id,
/external/libnfc-nci/src/nfa/int/
Dnfa_hci_int.h321 UINT8 pipe_id; /* Pipe ID */ member
468 extern tNFA_HCI_DYN_PIPE *nfa_hciu_find_pipe_by_pid (UINT8 pipe_id);
477 extern tNFA_HANDLE nfa_hciu_get_pipe_owner (UINT8 pipe_id);
483 extern tNFA_HCI_RESPONSE nfa_hciu_add_pipe_to_static_gate (UINT8 local_gate, UINT8 pipe_id, UINT8…
485 extern tNFA_HCI_RESPONSE nfa_hciu_release_pipe (UINT8 pipe_id);
501 extern tNFA_STATUS nfa_hciu_send_msg (UINT8 pipe_id, UINT8 type, UINT8 instruction, UINT16 pkt_len,…
512 extern char *nfa_hciu_evt_2_str (UINT8 pipe_id, UINT8 evt);
/external/libnfc-nci/src/hal/include/
Dnci_defs.h761 UINT8 pipe_id; /* if MSB is set then valid, 7 bits for Pipe ID */ member
777 UINT8 pipe_id; /* if MSB is set then valid, 7 bits for Pipe ID */ member
790 UINT8 pipe_id; /* if MSB is set then valid, 7 bits for Pipe ID */ member
801 UINT8 pipe_id; /* if MSB is set then valid, 7 bits for Pipe ID */ member
809 UINT8 pipe_id; /* if MSB is set then valid, 7 bits for Pipe ID */ member
815 UINT8 pipe_id; /* if MSB is set then valid, 7 bits for Pipe ID */ member
827 UINT8 pipe_id; /* if MSB is set then valid, 7 bits for Pipe ID */ member

12