/external/libnfc-nxp/src/ |
D | phHciNfc_AdminMgmt.c | 205 phHciNfc_Pipe_Info_t *p_pipe_info = NULL; in phHciNfc_Admin_Initialise() local 245 if(phHciNfc_Allocate_Resource((void **)(&p_pipe_info), in phHciNfc_Admin_Initialise() 254 ((phHciNfc_Pipe_Info_t *)p_pipe_info)->pipe.pipe_id = in phHciNfc_Admin_Initialise() 256 ((phHciNfc_Pipe_Info_t *)p_pipe_info)->recv_resp = in phHciNfc_Admin_Initialise() 258 ((phHciNfc_Pipe_Info_t *)p_pipe_info)->recv_cmd = in phHciNfc_Admin_Initialise() 260 ((phHciNfc_Pipe_Info_t *)p_pipe_info)->recv_event = in phHciNfc_Admin_Initialise() 263 p_pipe_info ; in phHciNfc_Admin_Initialise() 265 pHwRef,p_pipe_info ); in phHciNfc_Admin_Initialise() 268 p_admin_info->admin_pipe_info = p_pipe_info ; in phHciNfc_Admin_Initialise() 277 p_pipe_info = p_admin_info->admin_pipe_info; in phHciNfc_Admin_Initialise() [all …]
|
D | phHciNfc_RFReader.c | 272 phHciNfc_Pipe_Info_t *p_pipe_info = NULL; in phHciNfc_ReaderMgmt_Initialise() local 315 p_pipe_info = ((phHciNfc_ReaderA_Info_t *) in phHciNfc_ReaderMgmt_Initialise() 316 psHciContext->p_reader_a_info)->p_pipe_info; in phHciNfc_ReaderMgmt_Initialise() 317 if(NULL == p_pipe_info ) in phHciNfc_ReaderMgmt_Initialise() 325 pHwRef, p_pipe_info ); in phHciNfc_ReaderMgmt_Initialise() 360 p_pipe_info = ((phHciNfc_ReaderA_Info_t *) in phHciNfc_ReaderMgmt_Initialise() 361 psHciContext->p_reader_a_info)->p_pipe_info; in phHciNfc_ReaderMgmt_Initialise() 362 if(NULL == p_pipe_info ) in phHciNfc_ReaderMgmt_Initialise() 412 p_pipe_info = ((phHciNfc_ReaderB_Info_t *) in phHciNfc_ReaderMgmt_Initialise() 413 psHciContext->p_reader_b_info)->p_pipe_info; in phHciNfc_ReaderMgmt_Initialise() [all …]
|
D | phHciNfc_LinkMgmt.c | 72 phHciNfc_Pipe_Info_t *p_pipe_info; member 129 phHciNfc_Pipe_Info_t *p_pipe_info = NULL; in phHciNfc_LinkMgmt_Initialise() local 149 p_link_mgmt_info->p_pipe_info = NULL; in phHciNfc_LinkMgmt_Initialise() 175 if(phHciNfc_Allocate_Resource((void **)(&p_pipe_info), in phHciNfc_LinkMgmt_Initialise() 184 ((phHciNfc_Pipe_Info_t *)p_pipe_info)->pipe.pipe_id = in phHciNfc_LinkMgmt_Initialise() 186 ((phHciNfc_Pipe_Info_t *)p_pipe_info)->recv_resp = in phHciNfc_LinkMgmt_Initialise() 189 p_pipe_info ; in phHciNfc_LinkMgmt_Initialise() 191 pHwRef,p_pipe_info ); in phHciNfc_LinkMgmt_Initialise() 194 p_link_mgmt_info->p_pipe_info = p_pipe_info ; in phHciNfc_LinkMgmt_Initialise() 204 p_pipe_info = p_link_mgmt_info->p_pipe_info; in phHciNfc_LinkMgmt_Initialise() [all …]
|
D | phHciNfc_DevMgmt.c | 131 phHciNfc_Pipe_Info_t *p_pipe_info; member 229 p_device_mgmt_info->p_pipe_info = NULL; in phHciNfc_DevMgmt_Init_Resources() 253 phHciNfc_Pipe_Info_t *p_pipe_info = NULL; in phHciNfc_DevMgmt_Get_PipeID() local 254 p_pipe_info = ((phHciNfc_DevMgmt_Info_t *) in phHciNfc_DevMgmt_Get_PipeID() 255 psHciContext->p_device_mgmt_info)->p_pipe_info ; in phHciNfc_DevMgmt_Get_PipeID() 256 if (NULL != p_pipe_info) in phHciNfc_DevMgmt_Get_PipeID() 258 *ppipe_id = p_pipe_info->pipe.pipe_id ; in phHciNfc_DevMgmt_Get_PipeID() 355 p_device_mgmt_info->p_pipe_info = pPipeInfo; in phHciNfc_DevMgmt_Update_PipeInfo() 380 phHciNfc_Pipe_Info_t *p_pipe_info = NULL; in phHciNfc_DevMgmt_Configure() local 395 p_pipe_info = ((phHciNfc_DevMgmt_Info_t *) in phHciNfc_DevMgmt_Configure() [all …]
|
D | phHciNfc_WI.c | 211 p_WI_info->p_pipe_info = pPipeInfo; in phHciNfc_WI_Update_PipeInfo() 299 phHciNfc_Pipe_Info_t *p_pipe_info=NULL; in phHciNfc_WI_Configure_Default() local 303 p_pipe_info = p_wi_info->p_pipe_info; in phHciNfc_WI_Configure_Default() 304 if(NULL == p_pipe_info) in phHciNfc_WI_Configure_Default() 311 p_pipe_info->reg_index = NXP_SE_DEFAULTMODE_INDEX; in phHciNfc_WI_Configure_Default() 314 p_pipe_info->param_info =(void*)¶m ; in phHciNfc_WI_Configure_Default() 315 p_pipe_info->param_length = sizeof(param) ; in phHciNfc_WI_Configure_Default() 345 phHciNfc_Pipe_Info_t *p_pipe_info=NULL; in phHciNfc_WI_Get_Default() local 349 p_pipe_info = p_wiinfo->p_pipe_info; in phHciNfc_WI_Get_Default() 350 if(NULL == p_pipe_info) in phHciNfc_WI_Get_Default() [all …]
|
D | phHciNfc_Emulation.c | 379 phHciNfc_Pipe_Info_t *p_pipe_info = NULL; in phHciNfc_EmuMgmt_Initialise() local 430 p_pipe_info = ((phHciNfc_NfcIP_Info_t *) in phHciNfc_EmuMgmt_Initialise() 432 if(NULL == p_pipe_info ) in phHciNfc_EmuMgmt_Initialise() 440 pHwRef, p_pipe_info ); in phHciNfc_EmuMgmt_Initialise() 491 p_pipe_info = ((phHciNfc_WI_Info_t *) in phHciNfc_EmuMgmt_Initialise() 492 psHciContext->p_wi_info)->p_pipe_info; in phHciNfc_EmuMgmt_Initialise() 493 if(NULL == p_pipe_info ) in phHciNfc_EmuMgmt_Initialise() 501 pHwRef, p_pipe_info ); in phHciNfc_EmuMgmt_Initialise() 519 p_pipe_info = ((phHciNfc_WI_Info_t *) in phHciNfc_EmuMgmt_Initialise() 520 psHciContext->p_wi_info)->p_pipe_info; in phHciNfc_EmuMgmt_Initialise() [all …]
|
D | phHciNfc_NfcIPMgmt.c | 313 phHciNfc_Pipe_Info_t *p_pipe_info=NULL; in phHciNfc_NfcIP_Presence_Check() local 317 p_pipe_info = ((NFCIP_INITIATOR == p_nfcipinfo->nfcip_type)? in phHciNfc_NfcIP_Presence_Check() 321 if(NULL == p_pipe_info ) in phHciNfc_NfcIP_Presence_Check() 332 pipeid = p_pipe_info->pipe.pipe_id; in phHciNfc_NfcIP_Presence_Check() 340 p_pipe_info->sent_msg_type = (uint8_t)HCP_MSG_TYPE_COMMAND; in phHciNfc_NfcIP_Presence_Check() 341 p_pipe_info->prev_msg = (uint8_t)NXP_NFCIP_ATTREQUEST; in phHciNfc_NfcIP_Presence_Check() 347 p_pipe_info->prev_status = status; in phHciNfc_NfcIP_Presence_Check() 382 phHciNfc_Pipe_Info_t *p_pipe_info = NULL; in phHciNfc_Recv_Initiator_Response() local 386 p_pipe_info = p_nfcip_info->p_init_pipe_info; in phHciNfc_Recv_Initiator_Response() 387 if( NULL == p_pipe_info) in phHciNfc_Recv_Initiator_Response() [all …]
|
D | phHciNfc_Pipe.c | 194 phHciNfc_Pipe_Info_t *p_pipe_info = NULL; in phHciNfc_Update_Pipe() local 203 status = phHciNfc_Allocate_Resource((void **)&p_pipe_info, in phHciNfc_Update_Pipe() 207 && (NULL != p_pipe_info)) in phHciNfc_Update_Pipe() 210 p_pipe_info->pipe.source.host_id = (uint8_t) phHciNfc_TerminalHostID; in phHciNfc_Update_Pipe() 213 p_pipe_info->pipe.source.gate_id = in phHciNfc_Update_Pipe() 215 p_pipe_info->pipe.dest.host_id = in phHciNfc_Update_Pipe() 217 p_pipe_info->pipe.dest.gate_id = in phHciNfc_Update_Pipe() 220 p_pipe_info->pipe.pipe_id = (uint8_t) HCI_UNKNOWN_PIPE_ID; in phHciNfc_Update_Pipe() 231 pipe_id, p_pipe_info ); in phHciNfc_Update_Pipe() 234 p_pipe_info->pipe.pipe_id = pipe_id; in phHciNfc_Update_Pipe() [all …]
|
D | phHciNfc_RFReaderA.c | 225 p_rdr_a_info->p_pipe_info = pPipeInfo; in phHciNfc_ReaderA_Update_PipeInfo() 264 phHciNfc_Pipe_Info_t *p_pipe_info=NULL; in phHciNfc_ReaderA_Info_Sequence() local 269 p_pipe_info = p_rdr_a_info->p_pipe_info; in phHciNfc_ReaderA_Info_Sequence() 270 if(NULL == p_pipe_info ) in phHciNfc_ReaderA_Info_Sequence() 282 p_pipe_info->reg_index = RDR_A_UID_INDEX; in phHciNfc_ReaderA_Info_Sequence() 297 p_pipe_info->reg_index = RDR_A_SAK_INDEX; in phHciNfc_ReaderA_Info_Sequence() 312 p_pipe_info->reg_index = RDR_A_ATQA_INDEX; in phHciNfc_ReaderA_Info_Sequence() 523 if( NULL == p_rdr_a_info->p_pipe_info) in phHciNfc_Recv_ReaderA_Response() 530 prev_cmd = p_rdr_a_info->p_pipe_info->prev_msg ; in phHciNfc_Recv_ReaderA_Response() 536 p_rdr_a_info->p_pipe_info->reg_index, in phHciNfc_Recv_ReaderA_Response() [all …]
|
D | phHciNfc_PollingLoop.c | 100 phHciNfc_Pipe_Info_t *p_pipe_info; member 257 phHciNfc_Pipe_Info_t *p_pipe_info = NULL; in phHciNfc_PollLoop_Initialise() local 260 p_pipe_info = p_poll_info->p_pipe_info; in phHciNfc_PollLoop_Initialise() 261 if(NULL == p_pipe_info ) in phHciNfc_PollLoop_Initialise() 270 pHwRef, p_pipe_info ); in phHciNfc_PollLoop_Initialise() 301 phHciNfc_Pipe_Info_t *p_pipe_info = NULL; in phHciNfc_PollLoop_Release() local 302 p_pipe_info = p_poll_info->p_pipe_info; in phHciNfc_PollLoop_Release() 303 if(NULL == p_pipe_info ) in phHciNfc_PollLoop_Release() 312 pHwRef, p_pipe_info ); in phHciNfc_PollLoop_Release() 361 phHciNfc_Pipe_Info_t *p_pipe_info=NULL; in phHciNfc_PollLoop_Cfg() local [all …]
|
D | phHciNfc_IDMgmt.c | 83 phHciNfc_Pipe_Info_t *p_pipe_info; member 276 phHciNfc_Pipe_Info_t *p_pipe_info = NULL; in phHciNfc_IDMgmt_Initialise() local 298 p_pipe_info = p_identity_info->p_pipe_info; in phHciNfc_IDMgmt_Initialise() 299 if(NULL == p_pipe_info ) in phHciNfc_IDMgmt_Initialise() 312 pHwRef, p_pipe_info ); in phHciNfc_IDMgmt_Initialise() 325 p_pipe_info->reg_index = FW_VERSION_INDEX; in phHciNfc_IDMgmt_Initialise() 339 p_pipe_info->reg_index = HW_VERSION_INDEX; in phHciNfc_IDMgmt_Initialise() 353 p_pipe_info->reg_index = HCI_VERSION_INDEX; in phHciNfc_IDMgmt_Initialise() 367 p_pipe_info->reg_index = VENDOR_NAME_INDEX; in phHciNfc_IDMgmt_Initialise() 381 p_pipe_info->reg_index = MODEL_ID_INDEX; in phHciNfc_IDMgmt_Initialise() [all …]
|
D | phHciNfc_RFReaderB.c | 253 p_rdr_b_info->p_pipe_info = pPipeInfo; in phHciNfc_ReaderB_Update_PipeInfo() 287 phHciNfc_Pipe_Info_t *p_pipe_info=NULL; in phHciNfc_ReaderB_Info_Sequence() local 292 p_pipe_info = p_rdr_b_info->p_pipe_info; in phHciNfc_ReaderB_Info_Sequence() 293 if(NULL == p_pipe_info ) in phHciNfc_ReaderB_Info_Sequence() 304 p_pipe_info->reg_index = RDR_B_PUPI_INDEX; in phHciNfc_ReaderB_Info_Sequence() 319 p_pipe_info->reg_index = RDR_B_APP_DATA_INDEX; in phHciNfc_ReaderB_Info_Sequence() 335 p_pipe_info->reg_index = RDR_B_AFI_INDEX; in phHciNfc_ReaderB_Info_Sequence() 351 p_pipe_info->reg_index = RDR_B_HIGHER_LAYER_RESP_INDEX; in phHciNfc_ReaderB_Info_Sequence() 368 p_pipe_info->reg_index = RDR_B_HIGHER_LAYER_DATA_INDEX; in phHciNfc_ReaderB_Info_Sequence() 452 if( NULL == p_rdr_b_info->p_pipe_info) in phHciNfc_Recv_ReaderB_Response() [all …]
|
D | phHciNfc_Felica.c | 210 p_fel_info->p_pipe_info = pPipeInfo; in phHciNfc_Felica_Update_PipeInfo() 297 phHciNfc_Pipe_Info_t *p_pipe_info=NULL; in phHciNfc_Felica_Info_Sequence() local 302 p_pipe_info = p_fel_info->p_pipe_info; in phHciNfc_Felica_Info_Sequence() 303 if(NULL == p_pipe_info ) in phHciNfc_Felica_Info_Sequence() 315 p_pipe_info->reg_index = NXP_FEL_SYS_CODE; in phHciNfc_Felica_Info_Sequence() 330 p_pipe_info->reg_index = NXP_FEL_CURRENTIDM; in phHciNfc_Felica_Info_Sequence() 345 p_pipe_info->reg_index = NXP_FEL_CURRENTPMM; in phHciNfc_Felica_Info_Sequence() 590 if( NULL == p_fel_info->p_pipe_info) in phHciNfc_Recv_Felica_Response() 597 prev_cmd = p_fel_info->p_pipe_info->prev_msg ; in phHciNfc_Recv_Felica_Response() 603 p_fel_info->p_pipe_info->reg_index, in phHciNfc_Recv_Felica_Response() [all …]
|
D | phHciNfc_Generic.c | 204 phHciNfc_Pipe_Info_t *p_pipe_info 499 phHciNfc_Pipe_Info_t *p_pipe_info in phHciNfc_Reset_Pipe_MsgInfo() argument 502 if (p_pipe_info != NULL) in phHciNfc_Reset_Pipe_MsgInfo() 504 p_pipe_info->sent_msg_type = HCP_MSG_TYPE_RESERVED; in phHciNfc_Reset_Pipe_MsgInfo() 505 p_pipe_info->prev_msg = MSG_INSTRUCTION_UNKNWON; in phHciNfc_Reset_Pipe_MsgInfo() 506 p_pipe_info->prev_status = NFCSTATUS_INVALID_HCI_INSTRUCTION; in phHciNfc_Reset_Pipe_MsgInfo() 507 p_pipe_info->param_info = NULL; in phHciNfc_Reset_Pipe_MsgInfo() 508 p_pipe_info->param_length = FALSE ; in phHciNfc_Reset_Pipe_MsgInfo() 906 phHciNfc_Pipe_Info_t *p_pipe_info = NULL; in phHciNfc_Process_Response() local 943 p_pipe_info = psHciContext->p_pipe_list[pipe_id]; in phHciNfc_Process_Response() [all …]
|
D | phHciNfc_CE_A.c | 166 ps_pipe_info = ps_ce_a_info->p_pipe_info; in phHciNfc_CE_A_Initialise() 266 ps_pipe_info = ps_ce_a_info->p_pipe_info; in phHciNfc_CE_A_Release() 308 phOsalNfc_FreeMemory((void *)ps_ce_a_info->p_pipe_info); in phHciNfc_CE_A_Release() 309 ps_ce_a_info->p_pipe_info = NULL; in phHciNfc_CE_A_Release() 355 ps_ce_a_info->p_pipe_info = pPipeInfo; in phHciNfc_CE_A_Update_PipeInfo() 367 ps_ce_a_info->p_pipe_info = NULL; in phHciNfc_CE_A_Update_PipeInfo() 446 if( NULL == ps_ce_a_info->p_pipe_info) in phHciNfc_Recv_CE_A_Response() 453 prev_cmd = ps_ce_a_info->p_pipe_info->prev_msg ; in phHciNfc_Recv_CE_A_Response() 460 ps_ce_a_info->p_pipe_info->reg_index, in phHciNfc_Recv_CE_A_Response() 491 ps_ce_a_info->p_pipe_info->prev_status = NFCSTATUS_SUCCESS; in phHciNfc_Recv_CE_A_Response() [all …]
|
D | phHciNfc_SWP.c | 195 ps_swp_info->p_pipe_info = pPipeInfo; in phHciNfc_SWP_Update_PipeInfo() 241 if( NULL == ps_swp_info->p_pipe_info) in phHciNfc_Recv_SWP_Response() 248 prev_cmd = ps_swp_info->p_pipe_info->prev_msg ; in phHciNfc_Recv_SWP_Response() 255 ps_swp_info->p_pipe_info->reg_index, in phHciNfc_Recv_SWP_Response() 286 ps_swp_info->p_pipe_info->prev_status = NFCSTATUS_SUCCESS; in phHciNfc_Recv_SWP_Response() 320 ps_pipe_info = ps_swp_info->p_pipe_info; in phHciNfc_SWP_Configure_Default() 368 ps_pipe_info = ps_swp_info->p_pipe_info; in phHciNfc_SWP_Get_Status() 444 ps_pipe_info = ps_swp_info->p_pipe_info; in phHciNfc_SWP_Protection() 545 ps_pipe_info = ps_swp_info->p_pipe_info; in phHciNfc_SWP_Configure_Mode() 604 if( NULL == ps_swp_info->p_pipe_info) in phHciNfc_Recv_SWP_Event() [all …]
|
D | phHciNfc_CE_B.c | 161 ps_pipe_info = ps_ce_b_info->p_pipe_info; in phHciNfc_CE_B_Initialise() 261 ps_pipe_info = ps_ce_b_info->p_pipe_info; in phHciNfc_CE_B_Release() 303 phOsalNfc_FreeMemory((void *)ps_ce_b_info->p_pipe_info); in phHciNfc_CE_B_Release() 304 ps_ce_b_info->p_pipe_info = NULL; in phHciNfc_CE_B_Release() 345 phHciNfc_Pipe_Info_t *ps_pipe_info = ps_ce_b_info->p_pipe_info; in phHciNfc_CE_B_Mode() 422 ps_ce_b_info->p_pipe_info = pPipeInfo; in phHciNfc_CE_B_Update_PipeInfo() 434 ps_ce_b_info->p_pipe_info = NULL; in phHciNfc_CE_B_Update_PipeInfo() 488 if( NULL == ps_ce_b_info->p_pipe_info) in phHciNfc_Recv_CE_B_Response() 495 prev_cmd = ps_ce_b_info->p_pipe_info->prev_msg ; in phHciNfc_Recv_CE_B_Response() 502 ps_ce_b_info->p_pipe_info->reg_index, in phHciNfc_Recv_CE_B_Response() [all …]
|
D | phHciNfc_Jewel.c | 194 ps_jewel_info->p_pipe_info = pPipeInfo; in phHciNfc_Jewel_Update_PipeInfo() 287 ps_pipe_info = ps_jewel_info->p_pipe_info; in phHciNfc_Jewel_Info_Sequence() 420 if (NXP_JEWEL_READID == ps_jewel_info->p_pipe_info->reg_index) in phHciNfc_Recv_Jewel_Packet() 423 ps_jewel_info->p_pipe_info->reg_index, in phHciNfc_Recv_Jewel_Packet() 469 if( NULL == ps_jewel_info->p_pipe_info) in phHciNfc_Recv_Jewel_Response() 476 prev_cmd = ps_jewel_info->p_pipe_info->prev_msg ; in phHciNfc_Recv_Jewel_Response() 484 ps_jewel_info->p_pipe_info->reg_index, in phHciNfc_Recv_Jewel_Response() 615 ps_jewel_info->p_pipe_info->prev_status = NFCSTATUS_SUCCESS; in phHciNfc_Recv_Jewel_Response() 744 ps_pipe_info = ps_jewel_info->p_pipe_info; in phHciNfc_Send_Jewel_Command() 815 ps_pipe_info = ps_jewel_info->p_pipe_info; in phHciNfc_Jewel_GetRID()
|
D | phHciNfc_Jewel.h | 87 phHciNfc_Pipe_Info_t *p_pipe_info; member
|
D | phHciNfc_WI.h | 73 phHciNfc_Pipe_Info_t *p_pipe_info; member
|
D | phHciNfc_RFReaderB.h | 86 phHciNfc_Pipe_Info_t *p_pipe_info; member
|
D | phHciNfc_Felica.h | 90 phHciNfc_Pipe_Info_t *p_pipe_info; member
|
D | phHciNfc_CE_B.h | 90 phHciNfc_Pipe_Info_t *p_pipe_info; member
|
D | phHciNfc_CE_A.h | 96 phHciNfc_Pipe_Info_t *p_pipe_info; member
|
D | phHciNfc_RFReaderA.h | 96 phHciNfc_Pipe_Info_t *p_pipe_info; member
|