Lines Matching refs:psHciContext
112 phHciNfc_sContext_t *psHciContext,
120 phHciNfc_sContext_t *psHciContext,
140 phHciNfc_sContext_t *psHciContext
145 if( NULL == psHciContext )
151 if( ( NULL == psHciContext->p_reader_mgmt_info )
156 psHciContext->p_reader_mgmt_info = p_reader_mgmt_info;
180 phHciNfc_sContext_t *psHciContext,
186 if( NULL == psHciContext )
192 if( NULL == psHciContext->p_reader_mgmt_info )
200 psHciContext->p_reader_mgmt_info ;
218 status = phHciNfc_ReaderA_Update_Info(psHciContext,
221 status = phHciNfc_ReaderB_Update_Info(psHciContext,
225 status = phHciNfc_Felica_Update_Info(psHciContext,
229 status = phHciNfc_Jewel_Update_Info(psHciContext,
233 status = phHciNfc_ISO15693_Update_Info(psHciContext,
267 phHciNfc_sContext_t *psHciContext,
275 if( NULL == psHciContext )
282 if( ( NULL == psHciContext->p_reader_mgmt_info )
287 psHciContext->p_reader_mgmt_info = p_reader_mgmt_info;
294 psHciContext->p_reader_mgmt_info ;
297 if( NULL == psHciContext->p_reader_mgmt_info )
303 else if( hciMode_Session == psHciContext->hci_mode )
316 psHciContext->p_reader_a_info)->p_pipe_info;
324 status = phHciNfc_Open_Pipe( psHciContext,
330 psHciContext, HCI_READER_A_ENABLE,
361 psHciContext->p_reader_a_info)->p_pipe_info;
370 status = phHciNfc_ReaderA_Auto_Activate( psHciContext,
413 psHciContext->p_reader_b_info)->p_pipe_info;
421 status = phHciNfc_Open_Pipe( psHciContext,
460 psHciContext->p_felica_info)->p_pipe_info;
468 status = phHciNfc_Open_Pipe( psHciContext,
502 psHciContext->p_jewel_info)->p_pipe_info;
510 status = phHciNfc_Open_Pipe( psHciContext,
540 psHciContext->p_iso_15693_info)->ps_15693_pipe_info;
548 status = phHciNfc_Open_Pipe( psHciContext,
574 ((phHciNfc_NfcIP_Info_t *)psHciContext->
583 status = phHciNfc_Open_Pipe( psHciContext,
597 status = phHciNfc_NfcIP_SetMode( psHciContext, pHwRef,
610 status = phHciNfc_NfcIP_SetPSL1( psHciContext, pHwRef,
647 phHciNfc_sContext_t *psHciContext,
654 if( ( NULL == psHciContext )
664 status = phHciNfc_Send_RFReader_Event ( psHciContext, pHwRef,
683 phHciNfc_sContext_t *psHciContext,
690 if( ( NULL == psHciContext )
700 status = phHciNfc_Send_RFReader_Event ( psHciContext, pHwRef,
720 phHciNfc_sContext_t *psHciContext,
728 psHciContext->p_config_params; */
730 if( NULL != psHciContext->p_reader_mgmt_info )
734 psHciContext->p_reader_mgmt_info ;
736 if ( (NULL != psHciContext->p_reader_b_info )
742 (psHciContext, &reader_pipe_id);
749 status = phHciNfc_ReaderB_Update_Info(psHciContext,
755 if ( (NULL != psHciContext->p_felica_info )
761 (psHciContext, &reader_pipe_id);
769 status = phHciNfc_Felica_Update_Info(psHciContext,
775 if ( (NULL != psHciContext->p_jewel_info )
781 (psHciContext, &reader_pipe_id);
786 status = phHciNfc_Jewel_Update_Info(psHciContext,
792 if ( (NULL != psHciContext->p_iso_15693_info )
798 (psHciContext, &reader_pipe_id);
803 status = phHciNfc_ISO15693_Update_Info(psHciContext,
811 if(NULL != psHciContext->p_reader_a_info)
815 (psHciContext, &reader_pipe_id);
820 status = phHciNfc_ReaderA_Update_Info(psHciContext,
829 status = phHciNfc_ReaderMgmt_Initiate_Discovery( psHciContext,
848 phHciNfc_sContext_t *psHciContext,
856 psHciContext->p_config_params; */
858 if( NULL != psHciContext->p_reader_mgmt_info )
861 psHciContext->p_reader_mgmt_info ;
862 if(NULL != psHciContext->p_reader_a_info)
866 (psHciContext, &reader_pipe_id);
871 status = phHciNfc_ReaderA_Update_Info(psHciContext,
878 else if((NULL != psHciContext->p_reader_b_info )
884 (psHciContext, &reader_pipe_id);
888 else if((NULL != psHciContext->p_felica_info )
894 (psHciContext, &reader_pipe_id);
898 else if((NULL != psHciContext->p_jewel_info )
904 (psHciContext, &reader_pipe_id);
908 else if((NULL != psHciContext->p_iso_15693_info )
914 (psHciContext, &reader_pipe_id);
927 status = phHciNfc_ReaderMgmt_End_Discovery( psHciContext,
949 phHciNfc_sContext_t *psHciContext,
965 if( NULL == psHciContext )
971 if( NULL != psHciContext->p_reader_mgmt_info )
974 psHciContext->p_reader_mgmt_info ;
975 switch( psHciContext->host_rf_type )
983 if(NULL == psHciContext->p_target_info)
989 psHciContext, pHwRef );
994 psHciContext, pHwRef );
1007 if(NULL == psHciContext->p_target_info)
1011 psHciContext, pHwRef
1013 ,(NULL == psHciContext->p_target_info)
1021 psHciContext, pHwRef, NFCIP_INITIATOR );
1047 if(NULL == psHciContext->p_target_info)
1050 psHciContext, pHwRef );
1058 if(NULL == psHciContext->p_target_info)
1064 psHciContext, pHwRef );
1072 if(NULL == psHciContext->p_target_info)
1075 psHciContext, pHwRef );
1083 if(NULL == psHciContext->p_target_info)
1086 psHciContext, pHwRef );
1117 phHciNfc_sContext_t *psHciContext,
1125 if( (NULL == psHciContext) || (NULL == pHwRef) )
1138 (psHciContext, &reader_pipe_id);
1145 psHciContext, pHwRef, target_type );
1155 (psHciContext, &reader_pipe_id);
1161 status = phHciNfc_Send_RFReader_Command (psHciContext,
1166 psHciContext, pHwRef);
1176 (psHciContext, &reader_pipe_id);
1182 status = phHciNfc_Send_RFReader_Command (psHciContext,
1185 psHciContext, pHwRef,
1188 psHciContext, pHwRef, target_type ); */
1197 (psHciContext, &reader_pipe_id);
1205 psHciContext, pHwRef,
1208 psHciContext, pHwRef, target_type );
1218 (psHciContext, &reader_pipe_id);
1225 psHciContext, pHwRef);
1235 (psHciContext, &reader_pipe_id);
1243 psHciContext, pHwRef,
1253 psHciContext->host_rf_type )
1255 psHciContext->host_rf_type )
1259 psHciContext, pHwRef);
1263 status = phHciNfc_NfcIP_Presence_Check (psHciContext, pHwRef);
1289 phHciNfc_sContext_t *psHciContext,
1299 if( (NULL == psHciContext) || (NULL == pHwRef) )
1303 else if (NULL == psHciContext->p_target_info)
1316 psHciContext, &reader_pipe_id);
1317 p_pipe_info = psHciContext->p_pipe_list[reader_pipe_id];
1318 p_pipe_info->param_info = &psHciContext->p_target_info->
1320 p_pipe_info->param_length = psHciContext->p_target_info->
1331 (psHciContext, &reader_pipe_id);
1333 p_pipe_info = psHciContext->p_pipe_list[reader_pipe_id];
1334 p_pipe_info->param_info = &psHciContext->p_target_info->
1354 status = phHciNfc_Send_RFReader_Command (psHciContext,
1364 phHciNfc_sContext_t *psHciContext,
1374 if( (NULL == psHciContext) || (NULL == pHwRef) )
1378 else if (NULL == psHciContext->p_target_info)
1393 psHciContext, &reader_pipe_id);
1394 p_pipe_info = psHciContext->p_pipe_list[reader_pipe_id];
1395 p_pipe_info->param_info = &psHciContext->p_target_info->
1397 p_pipe_info->param_length = psHciContext->p_target_info->
1408 (psHciContext, &reader_pipe_id);
1410 p_pipe_info = psHciContext->p_pipe_list[reader_pipe_id];
1411 p_pipe_info->param_info = &psHciContext->p_target_info->
1422 (psHciContext, &reader_pipe_id);
1428 p_pipe_info = psHciContext->p_pipe_list[reader_pipe_id];
1429 p_pipe_info->param_info = &psHciContext->p_target_info->
1441 psHciContext, &reader_pipe_id);
1442 p_pipe_info = psHciContext->p_pipe_list[reader_pipe_id];
1443 p_pipe_info->param_info = &psHciContext->p_target_info->
1445 p_pipe_info->param_length = psHciContext->p_target_info->
1467 status = phHciNfc_Send_RFReader_Command (psHciContext,
1484 phHciNfc_sContext_t *psHciContext,
1492 if( (NULL == psHciContext) || (NULL == pHwRef) )
1498 switch ( psHciContext->host_rf_type )
1504 (psHciContext, &reader_pipe_id);
1513 (psHciContext, &reader_pipe_id);
1523 (psHciContext, &reader_pipe_id);
1533 (psHciContext, &reader_pipe_id);
1549 status = phHciNfc_Send_RFReader_Command (psHciContext,
1568 phHciNfc_sContext_t *psHciContext,
1577 if( (NULL == psHciContext) || (NULL == pHwRef) )
1583 target_type = psHciContext->p_target_info->RemDevType;
1591 (psHciContext, &reader_pipe_id);
1598 psHciContext, pHwRef, target_type );
1607 (psHciContext, &reader_pipe_id);
1613 status = phHciNfc_Send_RFReader_Command (psHciContext,
1621 status = phHciNfc_NfcIP_Presence_Check (psHciContext, pHwRef);
1631 (psHciContext, &reader_pipe_id);
1637 status = phHciNfc_Send_RFReader_Command (psHciContext,
1648 (psHciContext, &reader_pipe_id);
1654 status = phHciNfc_Felica_Request_Mode(psHciContext, pHwRef);
1664 (psHciContext, &reader_pipe_id);
1673 psHciContext, pHwRef);
1683 (psHciContext, &reader_pipe_id);
1691 p_pipe_info = psHciContext->p_pipe_list[reader_pipe_id];
1700 memcpy(cmd + 3, &(psHciContext->p_target_info->RemoteDevInfo.Iso15693_Info.Uid), 8);
1702 psHciContext, pHwRef
1735 phHciNfc_sContext_t *psHciContext,
1749 if( (NULL == psHciContext)
1768 (psHciContext, &reader_pipe_id);
1777 (psHciContext, &reader_pipe_id);
1787 (psHciContext, &reader_pipe_id);
1797 (psHciContext, &reader_pipe_id);
1807 (psHciContext, &reader_pipe_id);
1817 (psHciContext, &reader_pipe_id);
1830 p_pipe_info = psHciContext->p_pipe_list[reader_pipe_id];
1840 psHciContext, pHwRef,
1860 phHciNfc_sContext_t *psHciContext,
1870 if( (NULL == psHciContext) || (NULL == pHwRef) )
1874 else if (NULL == psHciContext->p_xchg_info)
1882 switch (psHciContext->host_rf_type)
1888 (psHciContext, &reader_pipe_id);
1894 p_pipe_info = psHciContext->p_pipe_list[reader_pipe_id];
1897 target_type = psHciContext->p_target_info->RemDevType;
1907 psHciContext, pHwRef
1913 psHciContext, pHwRef,
1922 psHciContext, pHwRef,
1941 (psHciContext, &reader_pipe_id);
1947 p_pipe_info = psHciContext->p_pipe_list[reader_pipe_id];
1951 psHciContext, pHwRef,
1962 (psHciContext, &reader_pipe_id);
1968 p_pipe_info = psHciContext->p_pipe_list[reader_pipe_id];
1975 psHciContext, pHwRef
1981 psHciContext, pHwRef,
1993 (psHciContext, &reader_pipe_id);
1999 p_pipe_info = psHciContext->p_pipe_list[reader_pipe_id];
2011 psHciContext, pHwRef
2028 (psHciContext, &reader_pipe_id);
2035 p_pipe_info = psHciContext->p_pipe_list[reader_pipe_id];
2056 psHciContext, pHwRef,
2085 phHciNfc_sContext_t *psHciContext,
2093 if( (NULL == psHciContext) || (NULL == pHwRef) )
2099 if( NULL != psHciContext->p_reader_mgmt_info )
2102 psHciContext->p_reader_mgmt_info ;
2109 psHciContext->p_reader_a_info)->p_pipe_info;
2111 status = phHciNfc_Close_Pipe( psHciContext,
2126 psHciContext->p_reader_b_info)->p_pipe_info;
2128 status = phHciNfc_Close_Pipe( psHciContext,
2144 psHciContext->p_felica_info)->p_pipe_info;
2146 status = phHciNfc_Close_Pipe( psHciContext,
2162 ((phHciNfc_NfcIP_Info_t *)psHciContext->
2171 status = phHciNfc_Open_Pipe( psHciContext,
2207 phHciNfc_sContext_t *psHciContext,
2220 if( (NULL == psHciContext)
2222 ||(NULL == psHciContext->p_pipe_list[pipe_id])
2232 psHciContext->p_pipe_list[pipe_id];
2233 psHciContext->tx_total = 0 ;
2241 hcp_packet = (phHciNfc_HCP_Packet_t *) psHciContext->send_buffer;
2249 hcp_packet = (phHciNfc_HCP_Packet_t *) psHciContext->send_buffer;
2272 psHciContext->tx_total = length;
2275 status = phHciNfc_Send_HCP( psHciContext, pHwRef );
2293 phHciNfc_sContext_t *psHciContext,
2306 if( (NULL == psHciContext)
2308 ||(NULL == psHciContext->p_pipe_list[pipe_id])
2318 psHciContext->p_pipe_list[pipe_id];
2319 psHciContext->tx_total = 0 ;
2326 hcp_packet = (phHciNfc_HCP_Packet_t *) psHciContext->send_buffer;
2343 hcp_packet = (phHciNfc_HCP_Packet_t *) psHciContext->send_buffer;
2353 hcp_packet = (phHciNfc_HCP_Packet_t *) psHciContext->send_buffer;
2377 psHciContext->tx_total = length;
2378 psHciContext->response_pending = TRUE ;
2381 status = phHciNfc_Send_HCP( psHciContext, pHwRef );