Lines Matching refs:p_admin_info
206 phHciNfc_AdminGate_Info_t *p_admin_info=NULL; in phHciNfc_Admin_Initialise() local
217 if( ( NULL == psHciContext->p_admin_info ) in phHciNfc_Admin_Initialise()
218 && (phHciNfc_Allocate_Resource((void **)(&p_admin_info), in phHciNfc_Admin_Initialise()
222 psHciContext->p_admin_info = (void *) p_admin_info; in phHciNfc_Admin_Initialise()
223 p_admin_info->current_seq = ADMIN_PIPE_OPEN; in phHciNfc_Admin_Initialise()
224 p_admin_info->next_seq = ADMIN_END_SEQUENCE; in phHciNfc_Admin_Initialise()
225 p_admin_info->admin_pipe_info = NULL; in phHciNfc_Admin_Initialise()
229 p_admin_info = (phHciNfc_AdminGate_Info_t * ) in phHciNfc_Admin_Initialise()
230 psHciContext->p_admin_info ; in phHciNfc_Admin_Initialise()
233 if( NULL == p_admin_info) in phHciNfc_Admin_Initialise()
240 switch(p_admin_info->current_seq) in phHciNfc_Admin_Initialise()
268 p_admin_info->admin_pipe_info = p_pipe_info ; in phHciNfc_Admin_Initialise()
269 p_admin_info->next_seq = ADMIN_GET_SESSION; in phHciNfc_Admin_Initialise()
277 p_pipe_info = p_admin_info->admin_pipe_info; in phHciNfc_Admin_Initialise()
286 p_admin_info->next_seq = ADMIN_CLEAR_UICC_PIPES; in phHciNfc_Admin_Initialise()
288 p_admin_info->next_seq = ADMIN_VERIFY_SESSION; in phHciNfc_Admin_Initialise()
290 p_admin_info->next_seq = ADMIN_CLEAR_PIPES; in phHciNfc_Admin_Initialise()
300 p_pipe_info = p_admin_info->admin_pipe_info; in phHciNfc_Admin_Initialise()
308 p_admin_info->next_seq = ADMIN_CLEAR_PIPES; in phHciNfc_Admin_Initialise()
321 p_pipe_info = p_admin_info->admin_pipe_info; in phHciNfc_Admin_Initialise()
331 &p_admin_info->pipe_seq ); in phHciNfc_Admin_Initialise()
343 p_admin_info->next_seq = ADMIN_PIPE_CLOSE; in phHciNfc_Admin_Initialise()
358 p_admin_info->current_seq = ADMIN_CLEAR_PIPES; in phHciNfc_Admin_Initialise()
364 p_pipe_info = p_admin_info->admin_pipe_info; in phHciNfc_Admin_Initialise()
374 p_admin_info->next_seq = ADMIN_PIPE_REOPEN; in phHciNfc_Admin_Initialise()
382 p_pipe_info = p_admin_info->admin_pipe_info; in phHciNfc_Admin_Initialise()
387 p_admin_info->next_seq = ADMIN_CREATE_PIPES; in phHciNfc_Admin_Initialise()
395 &p_admin_info->pipe_seq ); in phHciNfc_Admin_Initialise()
398 p_admin_info->next_seq = ADMIN_GET_WHITE_LIST; in phHciNfc_Admin_Initialise()
405 p_pipe_info = p_admin_info->admin_pipe_info; in phHciNfc_Admin_Initialise()
427 p_admin_info->next_seq = ADMIN_GET_HOST_LIST; in phHciNfc_Admin_Initialise()
436 p_pipe_info = p_admin_info->admin_pipe_info; in phHciNfc_Admin_Initialise()
453 p_admin_info->next_seq = ADMIN_SET_WHITE_LIST; in phHciNfc_Admin_Initialise()
455 p_admin_info->next_seq = ADMIN_SET_SESSION; in phHciNfc_Admin_Initialise()
464 p_pipe_info = p_admin_info->admin_pipe_info; in phHciNfc_Admin_Initialise()
476 p_admin_info->whitelist[i] = i + 2; in phHciNfc_Admin_Initialise()
480 (uint8_t *)p_admin_info->whitelist, i ); in phHciNfc_Admin_Initialise()
483 p_admin_info->next_seq = ADMIN_SET_SESSION; in phHciNfc_Admin_Initialise()
493 p_pipe_info = p_admin_info->admin_pipe_info; in phHciNfc_Admin_Initialise()
499 p_admin_info->next_seq = ADMIN_PIPE_CLOSE; in phHciNfc_Admin_Initialise()
537 phHciNfc_AdminGate_Info_t *p_admin_info=NULL; in phHciNfc_Admin_CE_Init() local
545 if( NULL != psHciContext->p_admin_info ) in phHciNfc_Admin_CE_Init()
547 p_admin_info = psHciContext->p_admin_info; in phHciNfc_Admin_CE_Init()
554 p_admin_info->pipe_seq = PIPE_CARD_A_CREATE; in phHciNfc_Admin_CE_Init()
560 p_admin_info->pipe_seq = PIPE_CARD_B_CREATE; in phHciNfc_Admin_CE_Init()
573 pHwRef, &p_admin_info->pipe_seq ); in phHciNfc_Admin_CE_Init()
576 p_admin_info->next_seq = ADMIN_END_SEQUENCE; in phHciNfc_Admin_CE_Init()
611 if( NULL != psHciContext->p_admin_info ) in phHciNfc_Admin_Release()
644 phHciNfc_AdminGate_Info_t *p_admin_info=NULL; in phHciNfc_Send_Admin_Event() local
657 p_admin_info = psHciContext->p_admin_info; in phHciNfc_Send_Admin_Event()
677 p_admin_info->admin_pipe_info->sent_msg_type = HCP_MSG_TYPE_EVENT; in phHciNfc_Send_Admin_Event()
678 p_admin_info->admin_pipe_info->prev_msg = event ; in phHciNfc_Send_Admin_Event()
679 p_admin_info->admin_pipe_info->param_info = params ; in phHciNfc_Send_Admin_Event()
683 p_admin_info->admin_pipe_info->prev_status = NFCSTATUS_PENDING; in phHciNfc_Send_Admin_Event()
709 phHciNfc_AdminGate_Info_t *p_admin_info=NULL; in phHciNfc_Send_Admin_Cmd() local
726 p_admin_info = psHciContext->p_admin_info; in phHciNfc_Send_Admin_Cmd()
800 p_admin_info->admin_pipe_info->sent_msg_type = HCP_MSG_TYPE_COMMAND; in phHciNfc_Send_Admin_Cmd()
801 p_admin_info->admin_pipe_info->prev_msg = cmd; in phHciNfc_Send_Admin_Cmd()
802 p_admin_info->admin_pipe_info->param_info = p_pipe_info; in phHciNfc_Send_Admin_Cmd()
806 p_admin_info->admin_pipe_info->prev_status = NFCSTATUS_PENDING; in phHciNfc_Send_Admin_Cmd()
839 phHciNfc_AdminGate_Info_t *p_admin_info = NULL; in phHciNfc_Recv_Admin_Response() local
849 else if ( NULL == psHciContext->p_admin_info ) in phHciNfc_Recv_Admin_Response()
857 p_admin_info = psHciContext->p_admin_info; in phHciNfc_Recv_Admin_Response()
858 prev_cmd = p_admin_info->admin_pipe_info->prev_msg ; in phHciNfc_Recv_Admin_Response()
859 prev_status = p_admin_info->admin_pipe_info->prev_status ; in phHciNfc_Recv_Admin_Response()
872 p_admin_info->admin_pipe_info->reg_index, in phHciNfc_Recv_Admin_Response()
883 phOsalNfc_FreeMemory(p_admin_info->admin_pipe_info); in phHciNfc_Recv_Admin_Response()
884 p_admin_info->admin_pipe_info = NULL; in phHciNfc_Recv_Admin_Response()
891 p_admin_info->admin_pipe_info->param_info; in phHciNfc_Recv_Admin_Response()
894 &(p_admin_info->pipe_seq), pipe_id, p_pipe_info); in phHciNfc_Recv_Admin_Response()
905 p_admin_info->admin_pipe_info->param_info; in phHciNfc_Recv_Admin_Response()
910 psHciContext, &(p_admin_info->pipe_seq), in phHciNfc_Recv_Admin_Response()
935 if( NULL != p_admin_info->admin_pipe_info) in phHciNfc_Recv_Admin_Response()
937 p_admin_info->admin_pipe_info->prev_status = NFCSTATUS_SUCCESS; in phHciNfc_Recv_Admin_Response()
939 p_admin_info->current_seq = p_admin_info->next_seq; in phHciNfc_Recv_Admin_Response()
968 phHciNfc_AdminGate_Info_t *p_admin_info=NULL; in phHciNfc_Recv_Admin_Cmd() local
987 p_admin_info = psHciContext->p_admin_info; in phHciNfc_Recv_Admin_Cmd()
1018 &(p_admin_info->pipe_seq), pipe_id, p_pipe_info); in phHciNfc_Recv_Admin_Cmd()
1037 psHciContext, &(p_admin_info->pipe_seq), in phHciNfc_Recv_Admin_Cmd()
1071 p_admin_info->admin_pipe_info->recv_msg_type = HCP_MSG_TYPE_COMMAND; in phHciNfc_Recv_Admin_Cmd()
1072 p_admin_info->admin_pipe_info->sent_msg_type = HCP_MSG_TYPE_RESPONSE; in phHciNfc_Recv_Admin_Cmd()
1073 p_admin_info->admin_pipe_info->prev_msg = response; in phHciNfc_Recv_Admin_Cmd()
1074 p_admin_info->admin_pipe_info->prev_status = NFCSTATUS_PENDING; in phHciNfc_Recv_Admin_Cmd()
1147 phHciNfc_AdminGate_Info_t *p_admin_info=NULL; in phHciNfc_Admin_InfoUpdate() local
1156 p_admin_info = psHciContext->p_admin_info ; in phHciNfc_Admin_InfoUpdate()
1164 p_admin_info->session_id[i] = reg_value[i]; in phHciNfc_Admin_InfoUpdate()
1171 p_admin_info->max_pipe = reg_value[i]; in phHciNfc_Admin_InfoUpdate()
1178 p_admin_info->whitelist[i] = reg_value[i]; in phHciNfc_Admin_InfoUpdate()
1186 p_admin_info->host_list[i] = reg_value[i]; in phHciNfc_Admin_InfoUpdate()