Home | History | Annotate | Download | only in src

Lines Matching refs:p_admin_info

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