Home | History | Annotate | Download | only in src

Lines Matching refs:p_device_mgmt_info

214     phHciNfc_DevMgmt_Info_t          *p_device_mgmt_info=NULL;
222 if(( NULL == psHciContext->p_device_mgmt_info ) &&
223 (phHciNfc_Allocate_Resource((void **)(&p_device_mgmt_info),
226 psHciContext->p_device_mgmt_info = p_device_mgmt_info;
227 p_device_mgmt_info->current_seq = DEV_MGMT_PIPE_OPEN;
228 p_device_mgmt_info->next_seq = DEV_MGMT_PIPE_OPEN;
229 p_device_mgmt_info->p_pipe_info = NULL;
250 && ( NULL != psHciContext->p_device_mgmt_info )
255 psHciContext->p_device_mgmt_info)->p_pipe_info ;
284 && ( NULL != psHciContext->p_device_mgmt_info )
287 phHciNfc_DevMgmt_Info_t *p_device_mgmt_info=NULL;
288 p_device_mgmt_info = (phHciNfc_DevMgmt_Info_t *)
289 psHciContext->p_device_mgmt_info ;
290 p_test_result->buffer = p_device_mgmt_info->test_result.buffer;
291 p_test_result->length = p_device_mgmt_info->test_result.length;
312 && ( NULL != psHciContext->p_device_mgmt_info )
315 phHciNfc_DevMgmt_Info_t *p_device_mgmt_info=NULL;
316 p_device_mgmt_info = (phHciNfc_DevMgmt_Info_t *)
317 psHciContext->p_device_mgmt_info ;
318 p_device_mgmt_info->test_status = test_status;
344 else if(NULL == psHciContext->p_device_mgmt_info)
350 phHciNfc_DevMgmt_Info_t *p_device_mgmt_info=NULL;
351 p_device_mgmt_info = (phHciNfc_DevMgmt_Info_t *)
352 psHciContext->p_device_mgmt_info ;
355 p_device_mgmt_info->p_pipe_info = pPipeInfo;
389 else if( NULL == psHciContext->p_device_mgmt_info )
396 psHciContext->p_device_mgmt_info)->p_pipe_info ;
438 else if( NULL == psHciContext->p_device_mgmt_info )
445 psHciContext->p_device_mgmt_info)->p_pipe_info ;
455 psHciContext->p_device_mgmt_info)->p_val = p_val;
486 phHciNfc_DevMgmt_Info_t *p_device_mgmt_info=NULL;
495 else if (NULL == psHciContext->p_device_mgmt_info)
502 p_device_mgmt_info = (phHciNfc_DevMgmt_Info_t *)
503 psHciContext->p_device_mgmt_info ;
504 p_pipe_info = p_device_mgmt_info->p_pipe_info;
513 switch(p_device_mgmt_info->current_seq )
522 p_device_mgmt_info->next_seq =
537 p_device_mgmt_info->next_seq =
540 p_device_mgmt_info->next_seq =
553 p_device_mgmt_info->next_seq =
566 p_device_mgmt_info->next_seq =
569 p_device_mgmt_info->next_seq =
586 p_device_mgmt_info->next_seq =
591 p_device_mgmt_info->next_seq =
608 p_device_mgmt_info->next_seq =
622 p_device_mgmt_info->next_seq =
625 p_device_mgmt_info->next_seq =
638 p_device_mgmt_info->next_seq =
650 p_device_mgmt_info->next_seq =
660 if (0 != p_device_mgmt_info->eeprom_crc)
674 p_device_mgmt_info->next_seq = DEV_MGMT_ANAIRQ_CONF;
676 p_device_mgmt_info->next_seq = DEV_MGMT_CLK_REQ;
692 p_device_mgmt_info->next_seq =
706 p_device_mgmt_info->next_seq =
721 p_device_mgmt_info->next_seq =
735 p_device_mgmt_info->next_seq =
747 p_device_mgmt_info->next_seq =
763 p_device_mgmt_info->next_seq =
779 p_device_mgmt_info->next_seq =
795 p_device_mgmt_info->next_seq =
811 p_device_mgmt_info->next_seq =
827 p_device_mgmt_info->next_seq =
843 p_device_mgmt_info->next_seq =
856 p_device_mgmt_info->next_seq =
859 p_device_mgmt_info->next_seq =
873 p_device_mgmt_info->next_seq =
888 p_device_mgmt_info->next_seq =
891 p_device_mgmt_info
908 p_device_mgmt_info->next_seq =
922 p_device_mgmt_info->next_seq =
925 p_device_mgmt_info->next_seq =
940 p_device_mgmt_info->next_seq =
953 p_device_mgmt_info->next_seq =
990 phHciNfc_DevMgmt_Info_t *p_device_mgmt_info=NULL;
998 if( NULL != psHciContext->p_device_mgmt_info )
1000 p_device_mgmt_info = (phHciNfc_DevMgmt_Info_t *)
1001 psHciContext->p_device_mgmt_info ;
1002 switch(p_device_mgmt_info->current_seq)
1008 p_pipe_info = p_device_mgmt_info->p_pipe_info;
1017 p_device_mgmt_info->next_seq = DEV_MGMT_PIPE_OPEN;
1025 p_pipe_info = p_device_mgmt_info->p_pipe_info;
1031 p_device_mgmt_info->next_seq = DEV_MGMT_PIPE_OPEN;
1058 phHciNfc_DevMgmt_Info_t *p_device_mgmt_info=NULL;
1063 else if ( NULL == psHciContext->p_device_mgmt_info )
1070 p_device_mgmt_info = (phHciNfc_DevMgmt_Info_t *)
1071 psHciContext->p_device_mgmt_info ;
1077 p_device_mgmt_info->current_seq = DEV_MGMT_PIPE_OPEN;
1078 p_device_mgmt_info->next_seq = DEV_MGMT_PIPE_OPEN ;
1083 p_device_mgmt_info->current_seq = p_device_mgmt_info->next_seq;
1089 p_device_mgmt_info->current_seq = DEV_MGMT_EVT_AUTONOMOUS;
1090 p_device_mgmt_info->next_seq = DEV_MGMT_EVT_AUTONOMOUS ;
1131 else if( NULL == psHciContext->p_device_mgmt_info )
1137 phHciNfc_DevMgmt_Info_t *p_device_mgmt_info = (phHciNfc_DevMgmt_Info_t *)
1138 psHciContext->p_device_mgmt_info ;
1140 psHciContext->p_device_mgmt_info)->p_pipe_info ;
1156 p_device_mgmt_info->test_result.buffer = NULL;
1157 p_device_mgmt_info->test_result.length = 0;
1203 phHciNfc_DevMgmt_Info_t *p_device_mgmt_info=NULL;
1211 else if( NULL == psHciContext->p_device_mgmt_info )
1217 p_device_mgmt_info = (phHciNfc_DevMgmt_Info_t *)
1218 psHciContext->p_device_mgmt_info ;
1219 prev_cmd = p_device_mgmt_info->p_pipe_info->prev_msg ;
1226 p_device_mgmt_info->p_pipe_info->reg_index,
1241 phOsalNfc_FreeMemory(p_device_mgmt_info->p_pipe_info);
1242 p_device_mgmt_info->p_pipe_info = NULL;
1250 if( NULL != p_device_mgmt_info->p_val )
1252 *p_device_mgmt_info->p_val = (uint8_t)( length > HCP_HEADER_LEN ) ?
1254 p_device_mgmt_info->p_val = NULL;
1264 p_device_mgmt_info->test_status = (uint8_t) ( length > HCP_HEADER_LEN ) ?
1266 p_device_mgmt_info->test_result.buffer = (uint8_t)( length > HCP_HEADER_LEN ) ?
1268 p_device_mgmt_info->test_result.length = ( length - HCP_HEADER_LEN );
1280 if( NULL != p_device_mgmt_info->p_pipe_info)
1282 p_device_mgmt_info->p_pipe_info->prev_status = NFCSTATUS_SUCCESS;
1284 p_device_mgmt_info->current_seq = p_device_mgmt_info->next_seq;
1313 phHciNfc_DevMgmt_Info_t *p_device_mgmt_info=NULL;
1324 else if( NULL == psHciContext->p_device_mgmt_info )
1330 p_device_mgmt_info = (phHciNfc_DevMgmt_Info_t *)
1331 psHciContext->p_device_mgmt_info ;
1351 p_device_mgmt_info
1358 p_device_mgmt_info->rf_status = (uint8_t) ( length > HCP_HEADER_LEN ) ?
1362 (p_device_mgmt_info->rf_status & 0x1FU))?
1365 event_info.eventType = (TRUE == p_device_mgmt_info->rf_status)?
1378 p_device_mgmt_info->overheat_status = (uint8_t)( length > HCP_HEADER_LEN ) ?
1382 p_device_mgmt_info->overheat_status;
1399 if( NULL != p_device_mgmt_info->p_pipe_info)
1401 p_device_mgmt_info->p_pipe_info->prev_status =
1404 p_device_mgmt_info->current_seq =
1405 p_device_mgmt_info->next_seq;
1424 phHciNfc_DevMgmt_Info_t *p_device_mgmt_info=NULL;
1436 else if ( NULL == psHciContext->p_device_mgmt_info )
1442 p_device_mgmt_info = (phHciNfc_DevMgmt_Info_t *)
1443 psHciContext->p_device_mgmt_info ;
1449 p_device_mgmt_info->eeprom_crc = reg_value[i];