Home | History | Annotate | Download | only in src

Lines Matching refs:p_identity_info

140     phHciNfc_IDMgmt_Info_t      *p_identity_info=NULL;
147 if( ( NULL == psHciContext->p_identity_info )
148 && (phHciNfc_Allocate_Resource((void **)(&p_identity_info),
152 psHciContext->p_identity_info = p_identity_info;
153 p_identity_info->id_cur_seq = IDMGMT_PIPE_OPEN;
154 p_identity_info->id_next_seq = IDMGMT_PIPE_OPEN;
155 p_identity_info->pipe_id = (uint8_t)HCI_UNKNOWN_PIPE_ID;
180 phHciNfc_IDMgmt_Info_t *p_identity_info=NULL;
183 && ( NULL != psHciContext->p_identity_info )
186 p_identity_info = (phHciNfc_IDMgmt_Info_t *)
187 psHciContext->p_identity_info ;
188 *ppipe_id = p_identity_info->pipe_id ;
204 phHciNfc_IDMgmt_Info_t *p_identity_info=NULL;
211 if( NULL == psHciContext->p_identity_info )
218 p_identity_info = (phHciNfc_IDMgmt_Info_t *)
219 psHciContext->p_identity_info ;
225 p_identity_info->id_cur_seq = IDMGMT_PIPE_OPEN;
226 p_identity_info->id_next_seq = IDMGMT_PIPE_OPEN;
231 p_identity_info->id_cur_seq =
232 p_identity_info->id_next_seq;
237 p_identity_info->id_cur_seq = IDMGMT_GET_FW_VERSION;
238 p_identity_info->id_next_seq = IDMGMT_GET_FW_VERSION;
243 p_identity_info->id_cur_seq = IDMGMT_PIPE_CLOSE;
244 p_identity_info->id_next_seq = IDMGMT_PIPE_CLOSE;
277 phHciNfc_IDMgmt_Info_t *p_identity_info=NULL;
289 if( NULL == psHciContext->p_identity_info )
296 p_identity_info = (phHciNfc_IDMgmt_Info_t *)
297 psHciContext->p_identity_info ;
298 p_pipe_info = p_identity_info->p_pipe_info;
306 switch(p_identity_info->id_cur_seq )
315 p_identity_info->id_next_seq = IDMGMT_GET_FW_VERSION;
326 id_pipe_id = p_identity_info->pipe_id ;
332 p_identity_info->id_next_seq = IDMGMT_GET_HW_VERSION;
340 id_pipe_id = p_identity_info->pipe_id ;
346 p_identity_info->id_next_seq = IDMGMT_GET_HCI_VERSION;
354 id_pipe_id = p_identity_info->pipe_id ;
360 p_identity_info->id_next_seq = IDMGMT_GET_VENDOR_NAME;
368 id_pipe_id = p_identity_info->pipe_id ;
374 p_identity_info->id_next_seq = IDMGMT_GET_MODEL_ID;
382 id_pipe_id = p_identity_info->pipe_id ;
388 p_identity_info->id_next_seq = IDMGMT_GET_GATES_LIST;
396 id_pipe_id = p_identity_info->pipe_id ;
402 p_identity_info->id_next_seq = IDMGMT_GET_FULL_VERSION;
410 id_pipe_id = p_identity_info->pipe_id ;
416 p_identity_info->id_next_seq = IDMGMT_PIPE_CLOSE;
456 phHciNfc_IDMgmt_Info_t *p_identity_info=NULL;
466 if( NULL == psHciContext->p_identity_info )
473 p_identity_info = (phHciNfc_IDMgmt_Info_t *)
474 psHciContext->p_identity_info ;
475 p_pipe_info = p_identity_info->p_pipe_info;
483 switch(p_identity_info->id_cur_seq )
488 id_pipe_id = p_identity_info->pipe_id ;
494 p_identity_info->id_next_seq = IDMGMT_GET_HW_VERSION;
502 id_pipe_id = p_identity_info->pipe_id ;
508 p_identity_info->id_next_seq = IDMGMT_GET_HCI_VERSION;
516 id_pipe_id = p_identity_info->pipe_id ;
522 p_identity_info->id_next_seq = IDMGMT_GET_VENDOR_NAME;
530 id_pipe_id = p_identity_info->pipe_id ;
536 p_identity_info->id_next_seq = IDMGMT_GET_MODEL_ID;
544 id_pipe_id = p_identity_info->pipe_id ;
550 p_identity_info->id_next_seq = IDMGMT_GET_GATES_LIST;
558 id_pipe_id = p_identity_info->pipe_id ;
564 p_identity_info->id_next_seq = IDMGMT_GET_FULL_VERSION;
572 id_pipe_id = p_identity_info->pipe_id ;
578 p_identity_info->id_next_seq = IDMGMT_PIPE_CLOSE;
613 phHciNfc_IDMgmt_Info_t *p_identity_info=NULL;
622 if( NULL != psHciContext->p_identity_info )
624 p_identity_info = (phHciNfc_IDMgmt_Info_t *)
625 psHciContext->p_identity_info ;
626 p_pipe_info = p_identity_info->p_pipe_info;
664 phHciNfc_IDMgmt_Info_t *p_identity_info=NULL;
672 else if( NULL == psHciContext->p_identity_info )
678 p_identity_info = (phHciNfc_IDMgmt_Info_t *)
679 psHciContext->p_identity_info ;
680 if( NULL != p_identity_info->p_pipe_info)
682 prev_cmd = p_identity_info->p_pipe_info->prev_msg ;
689 p_identity_info->p_pipe_info->reg_index,
715 p_identity_info->p_pipe_info->prev_status = NFCSTATUS_SUCCESS;
716 p_identity_info->id_cur_seq = p_identity_info->id_next_seq;
731 phHciNfc_IDMgmt_Info_t *p_identity_info=NULL;
738 else if ( NULL == psHciContext->p_identity_info )
744 p_identity_info = (phHciNfc_IDMgmt_Info_t *)
745 psHciContext->p_identity_info ;
747 p_identity_info->pipe_id = pipe_id;
748 p_identity_info->p_pipe_info = pPipeInfo;
769 phHciNfc_IDMgmt_Info_t *p_identity_info=NULL;
779 else if ( NULL == psHciContext->p_identity_info )
785 p_identity_info = (phHciNfc_IDMgmt_Info_t *)
786 psHciContext->p_identity_info ;
795 p_identity_info->fw_version |=
798 pHwRef->device_info.fw_version = p_identity_info->fw_version ;
806 p_identity_info->hw_version |=
809 pHwRef->device_info.hw_version = p_identity_info->hw_version ;
816 p_identity_info->vendor_name[i] = reg_value[i];
819 HCI_DEBUG("\tVendor Name:%s",p_identity_info->vendor_name);
825 p_identity_info->model_id = reg_value[i] ;
826 pHwRef->device_info.model_id = p_identity_info->model_id ;
838 p_identity_info->hci_version = reg_value[i] ;
839 pHwRef->device_info.hci_version = p_identity_info->hci_version ;
847 p_identity_info->gates_list[i] = reg_value[i];
856 p_identity_info->full_version[i] = reg_value[i];