Lines Matching refs:psHciContext
109 phHciNfc_sContext_t *psHciContext,
118 phHciNfc_sContext_t *psHciContext,
131 phHciNfc_sContext_t *psHciContext,
144 phHciNfc_sContext_t *psHciContext,
150 if( (NULL != psHciContext)
152 && ( NULL != psHciContext->p_reader_a_info )
157 psHciContext->p_reader_a_info ;
170 phHciNfc_sContext_t *psHciContext
175 if( NULL == psHciContext )
182 ( NULL == psHciContext->p_reader_a_info ) &&
187 psHciContext->p_reader_a_info = p_rdr_a_info;
203 phHciNfc_sContext_t *psHciContext,
210 if( NULL == psHciContext )
214 else if(NULL == psHciContext->p_reader_a_info)
222 psHciContext->p_reader_a_info ;
245 phHciNfc_sContext_t *psHciContext = ((phHciNfc_sContext_t *)psHciHandle);
248 if( (NULL == psHciContext)
254 else if((NULL == psHciContext->p_reader_a_info) ||
256 ((phHciNfc_ReaderA_Info_t *)(psHciContext->p_reader_a_info))->
268 psHciContext->p_reader_a_info ;
287 phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
302 phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
317 phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
347 phHciNfc_Tag_Notify(psHciContext,
373 phHciNfc_sContext_t *psHciContext,
384 (psHciContext->p_reader_a_info );
447 &(psHciContext->p_target_info->RemoteDevInfo.Iso14443A_Info);
504 phHciNfc_sContext_t *psHciContext =
508 if( (NULL == psHciContext) || (NULL == pHwRef) || (NULL == pResponse)
513 else if(NULL == psHciContext->p_reader_a_info)
522 psHciContext->p_reader_a_info ;
535 status = phHciNfc_ReaderA_InfoUpdate(psHciContext,
540 status = phHciNfc_ReaderMgmt_Update_Sequence(psHciContext,
548 status = phHciNfc_ReaderMgmt_Update_Sequence(psHciContext,
556 status = phHciNfc_ReaderMgmt_Update_Sequence(psHciContext,
564 status = phHciNfc_ReaderMgmt_Update_Sequence(psHciContext,
573 status = phHciNfc_ReaderMgmt_Update_Sequence(psHciContext,
584 phHciNfc_Append_HCPFrame(psHciContext->recv_buffer,
586 psHciContext->rx_total = length;
587 status = phHciNfc_Recv_Mifare_Packet(psHciContext,
595 psHciContext->rx_total = length;
596 psHciContext->rx_index = HCP_HEADER_LEN;
613 phHciNfc_Append_HCPFrame(psHciContext->recv_buffer,
615 psHciContext->rx_total = (length - i);
616 status = phHciNfc_Recv_Iso_A_Packet(psHciContext,
682 status = phHciNfc_ReaderMgmt_Update_Sequence(psHciContext,
706 phHciNfc_sContext_t *psHciContext,
718 psHciContext->rx_index = HCP_HEADER_LEN;
733 phHciNfc_sContext_t *psHciContext,
754 if(phHal_eISO14443_3A_PICC == psHciContext->p_target_info->RemDevType)
757 psHciContext->rx_index = (index + HCP_HEADER_LEN);
765 psHciContext->rx_index = (index + HCP_HEADER_LEN);
774 psHciContext->rx_index = HCP_HEADER_LEN;
781 psHciContext->rx_index = HCP_HEADER_LEN;
803 phHciNfc_sContext_t *psHciContext =
807 if( (NULL == psHciContext) || (NULL == pHwRef) || (NULL == pEvent)
812 else if((NULL == psHciContext->p_reader_a_info) ||
814 ((phHciNfc_ReaderA_Info_t *)(psHciContext->p_reader_a_info))->
828 psHciContext->p_reader_a_info ;
856 psHciContext->host_rf_type = phHal_eISO14443_A_PCD;
860 HCI_DEBUG ("HCI : psHciContext->host_rf_type : %02X\n", psHciContext->host_rf_type);
865 phHciNfc_Notify_Event(psHciContext, pHwRef,
887 phHciNfc_sContext_t *psHciContext =
889 if( (NULL == psHciContext) || (NULL == pHwRef))
893 else if((NULL == psHciContext->p_reader_a_info) ||
895 ((phHciNfc_ReaderA_Info_t *)(psHciContext->p_reader_a_info))->
907 psHciContext->p_reader_a_info ;
913 status = phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
931 phHciNfc_sContext_t *psHciContext =
933 if( (NULL == psHciContext) || (NULL == pHwRef))
937 else if((NULL == psHciContext->p_reader_a_info) ||
939 ((phHciNfc_ReaderA_Info_t *)(psHciContext->p_reader_a_info))->
951 psHciContext->p_reader_a_info ;
957 status = phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
966 phHciNfc_sContext_t *psHciContext,
974 if( (NULL == psHciContext) || (NULL == pHwRef) )
978 else if((NULL == psHciContext->p_reader_a_info) ||
980 ((phHciNfc_ReaderA_Info_t *)(psHciContext->p_reader_a_info))->
983 ((phHciNfc_ReaderA_Info_t *)(psHciContext->p_reader_a_info))->
986 ((phHciNfc_ReaderA_Info_t *)(psHciContext->p_reader_a_info))->
1001 psHciContext->p_reader_a_info ;
1010 psHciContext->tx_total = 0 ;
1011 hcp_packet = (phHciNfc_HCP_Packet_t *) psHciContext->send_buffer;
1082 psHciContext->p_xchg_info->params.tag_info.cmd_type ;
1085 psHciContext->p_xchg_info->params.tag_info.addr ;
1102 psHciContext->tx_total = length;
1103 psHciContext->response_pending = TRUE;
1106 status = phHciNfc_Send_HCP( psHciContext, pHwRef);
1116 phHciNfc_sContext_t *psHciContext,
1122 if( (NULL == psHciContext) || (NULL == pHwRef) )
1126 else if((NULL == psHciContext->p_reader_a_info) ||
1128 ((phHciNfc_ReaderA_Info_t *)(psHciContext->p_reader_a_info))->
1136 psHciContext->p_reader_a_info;
1140 status = phHciNfc_Send_ReaderA_Command(psHciContext,
1149 phHciNfc_sContext_t *psHciContext,
1156 if (NULL == psHciContext)
1160 else if(NULL == psHciContext->p_reader_a_info)
1168 psHciContext->p_reader_a_info ;
1204 phHciNfc_sContext_t *psHciContext = ((phHciNfc_sContext_t *)psHciHandle);
1205 if( (NULL == psHciContext)
1211 else if((NULL == psHciContext->p_reader_a_info) ||
1213 ((phHciNfc_ReaderA_Info_t *)(psHciContext->p_reader_a_info))->
1225 psHciContext->p_reader_a_info ;
1239 phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
1253 phHciNfc_sContext_t *psHciContext = ((phHciNfc_sContext_t *)psHciHandle);
1254 if( (NULL == psHciContext)
1260 else if((NULL == psHciContext->p_reader_a_info) ||
1262 ((phHciNfc_ReaderA_Info_t *)(psHciContext->p_reader_a_info))->
1274 psHciContext->p_reader_a_info ;
1288 phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,