Lines Matching refs:psHciContext
115 * \param[in] psHciContext psHciContext is the pointer to HCI Layer
135 void *psHciContext,
149 phHciNfc_sContext_t *psHciContext,
200 phHciNfc_sContext_t *psHciContext,
209 if( (NULL == psHciContext)
217 if( ( NULL == psHciContext->p_admin_info )
222 psHciContext->p_admin_info = (void *) p_admin_info;
230 psHciContext->p_admin_info ;
262 psHciContext->p_pipe_list[PIPETYPE_STATIC_ADMIN] =
264 status = phHciNfc_Open_Pipe( psHciContext,
280 phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
304 status = phHciNfc_DevMgmt_Configure( psHciContext, pHwRef,
317 (phHal_sHwConfig_t *) psHciContext->p_config_params;
326 && ( HCI_SESSION == psHciContext->init_mode)
329 psHciContext->hci_mode = hciMode_Session;
330 status = phHciNfc_Update_Pipe( psHciContext, pHwRef,
337 status = phHciNfc_Send_Generic_Cmd( psHciContext,
357 psHciContext->hci_mode = hciMode_Override;
366 phHciNfc_Send_Admin_Cmd( psHciContext,
383 status = phHciNfc_Open_Pipe( psHciContext,
394 status = phHciNfc_Create_All_Pipes( psHciContext, pHwRef,
414 status = phHciNfc_Send_Generic_Cmd( psHciContext,
418 if(HCI_SELF_TEST == psHciContext->init_mode)
445 status = phHciNfc_Send_Generic_Cmd( psHciContext,
478 status = phHciNfc_Set_Param(psHciContext, pHwRef,
492 (phHal_sHwConfig_t *) psHciContext->p_config_params;
494 status = phHciNfc_Set_Param(psHciContext, pHwRef, p_pipe_info,
529 phHciNfc_sContext_t *psHciContext,
539 if( (NULL == psHciContext) || (NULL == pHwRef) )
545 if( NULL != psHciContext->p_admin_info )
547 p_admin_info = psHciContext->p_admin_info;
572 status = phHciNfc_CE_Pipes_OP( psHciContext,
597 phHciNfc_sContext_t *psHciContext,
605 if( (NULL == psHciContext) || (NULL == pHwRef) )
611 if( NULL != psHciContext->p_admin_info )
615 p_pipe_info = psHciContext->p_pipe_list[PIPETYPE_STATIC_ADMIN];
617 status = phHciNfc_Close_Pipe( psHciContext,
636 phHciNfc_sContext_t *psHciContext,
647 if( (NULL == psHciContext)
655 psHciContext->tx_total = 0 ;
657 p_admin_info = psHciContext->p_admin_info;
665 hcp_packet = (phHciNfc_HCP_Packet_t *) psHciContext->send_buffer;
680 psHciContext->tx_total = length;
681 psHciContext->response_pending = FALSE ;
682 status = phHciNfc_Send_HCP( (void *)psHciContext, (void *)pHwRef );
700 phHciNfc_sContext_t *psHciContext,
714 if( (NULL == psHciContext)
724 psHciContext->tx_total = 0 ;
726 p_admin_info = psHciContext->p_admin_info;
731 hcp_packet = (phHciNfc_HCP_Packet_t *) psHciContext->send_buffer;
768 hcp_packet = (phHciNfc_HCP_Packet_t *) psHciContext->send_buffer;
783 hcp_packet = (phHciNfc_HCP_Packet_t *) psHciContext->send_buffer;
803 psHciContext->tx_total = length;
804 psHciContext->response_pending = TRUE;
805 status = phHciNfc_Send_HCP( (void *)psHciContext, (void *)pHwRef );
834 phHciNfc_sContext_t *psHciContext =
845 psHciContext) || (NULL == pHwRef) )
849 else if ( NULL == psHciContext->p_admin_info )
857 p_admin_info = psHciContext->p_admin_info;
870 status = phHciNfc_Admin_InfoUpdate(psHciContext,
885 psHciContext->p_pipe_list[PIPETYPE_STATIC_ADMIN] = NULL;
893 status = phHciNfc_Update_PipeInfo(psHciContext,
897 psHciContext->p_pipe_list[pipe_id] = p_pipe_info;
910 psHciContext, &(p_admin_info->pipe_seq),
915 psHciContext->p_pipe_list[pipe_id] = NULL;
964 phHciNfc_sContext_t *psHciContext =
976 if( (NULL == psHciContext)
987 p_admin_info = psHciContext->p_admin_info;
1016 status = phHciNfc_Update_PipeInfo(psHciContext,
1021 psHciContext->p_pipe_list[pipe_id] = p_pipe_info;
1032 p_pipe_info = psHciContext->p_pipe_list[pipe_id];
1036 psHciContext, &(p_admin_info->pipe_seq),
1041 psHciContext->p_pipe_list[pipe_id] = NULL;
1063 hcp_packet = (phHciNfc_HCP_Packet_t *) psHciContext->send_buffer;
1067 psHciContext->tx_total = HCP_HEADER_LEN;
1068 status = phHciNfc_Send_HCP( (void *)psHciContext, (void *)pHwRef );
1097 phHciNfc_sContext_t *psHciContext =
1104 if( (NULL == psHciContext)
1121 status = phHciNfc_Send_Admin_Event ( psHciContext, pHwRef,
1139 phHciNfc_sContext_t *psHciContext,
1155 p_admin_info = psHciContext->p_admin_info ;