Lines Matching refs:psHciContext
97 phHciNfc_sContext_t *psHciContext,
106 phHciNfc_sContext_t *psHciContext,
119 phHciNfc_sContext_t *psHciContext,
132 phHciNfc_sContext_t *psHciContext,
199 phHciNfc_sContext_t *psHciContext
204 if( NULL == psHciContext )
210 if (NULL != psHciContext->p_nfcip_info)
214 else if(( NULL == psHciContext->p_nfcip_info ) &&
219 psHciContext->p_nfcip_info = p_init_info;
237 phHciNfc_sContext_t *psHciContext,
242 if( (NULL != psHciContext)
244 && ( NULL != psHciContext->p_nfcip_info )
249 psHciContext->p_nfcip_info ;
261 phHciNfc_sContext_t *psHciContext,
267 if( NULL == psHciContext )
271 else if(NULL == psHciContext->p_nfcip_info)
279 psHciContext->p_nfcip_info ;
294 phHciNfc_sContext_t *psHciContext,
300 if( (NULL == psHciContext) || (NULL == pHwRef) )
304 else if((NULL == psHciContext->p_nfcip_info) ||
306 ((phHciNfc_NfcIP_Info_t *)(psHciContext->p_nfcip_info))->nfcip_type))
316 psHciContext->p_nfcip_info ;
333 psHciContext->tx_total = 0 ;
334 hcp_packet = (phHciNfc_HCP_Packet_t *) psHciContext->send_buffer;
342 psHciContext->tx_total = length;
343 psHciContext->response_pending = (uint8_t)TRUE;
346 status = phHciNfc_Send_HCP( psHciContext, pHwRef);
367 phHciNfc_sContext_t *psHciContext =
370 if( (NULL == psHciContext) || (NULL == pHwRef) || (NULL == pResponse)
375 else if(NULL == psHciContext->p_nfcip_info)
385 psHciContext->p_nfcip_info ;
394 status = phHciNfc_Recv_NfcIP_Response(psHciContext,
399 status = phHciNfc_ReaderMgmt_Update_Sequence(psHciContext,
421 phHciNfc_sContext_t *psHciContext =
423 if( (NULL == psHciContext) || (NULL == pHwRef) || (NULL == pEvent)
428 else if(NULL == psHciContext->p_nfcip_info)
440 psHciContext->p_nfcip_info ;
449 psHciContext->host_rf_type = phHal_eNfcIP1_Initiator;
453 psHciContext,
461 phHciNfc_sContext_t *psHciContext
466 if( NULL == psHciContext )
472 if (NULL != psHciContext->p_nfcip_info)
477 ( NULL == psHciContext->p_nfcip_info ) &&
482 psHciContext->p_nfcip_info = p_target_info;
500 phHciNfc_sContext_t *psHciContext,
505 if( (NULL != psHciContext)
507 && ( NULL != psHciContext->p_nfcip_info )
512 psHciContext->p_nfcip_info ;
524 phHciNfc_sContext_t *psHciContext,
530 if( NULL == psHciContext )
534 else if(NULL == psHciContext->p_nfcip_info)
542 psHciContext->p_nfcip_info ;
569 phHciNfc_sContext_t *psHciContext =
572 if( (NULL == psHciContext) || (NULL == pHwRef) || (NULL == pResponse)
577 else if(NULL == psHciContext->p_nfcip_info)
587 psHciContext->p_nfcip_info ;
596 status = phHciNfc_Recv_NfcIP_Response(psHciContext,
601 status = phHciNfc_EmuMgmt_Update_Seq(psHciContext,
623 phHciNfc_sContext_t *psHciContext =
625 if( (NULL == psHciContext) || (NULL == pHwRef) || (NULL == pEvent)
630 else if(NULL == psHciContext->p_nfcip_info)
641 p_nfcip_info = (phHciNfc_NfcIP_Info_t *)psHciContext->p_nfcip_info ;
650 psHciContext->host_rf_type = phHal_eNfcIP1_Target;
654 status = phHciNfc_Recv_NfcIP_Event(psHciContext,
663 phHciNfc_sContext_t *psHciContext,
678 psHciContext->p_nfcip_info ;
699 status = phHciNfc_NfcIP_InfoUpdate(psHciContext,
741 phHciNfc_sContext_t *psHciContext,
760 psHciContext->p_nfcip_info ;
794 phHciNfc_Notify_Event(psHciContext, pHwRef,
822 phHciNfc_Notify_Event(psHciContext, pHwRef,
829 status = phHciNfc_NfcIP_RecvData(psHciContext,
837 /* psHciContext->response_pending = FALSE; */
838 psHciContext->event_pending = FALSE;
854 phHciNfc_sContext_t *psHciContext,
867 if( (NULL == psHciContext)
881 psHciContext->p_nfcip_info;
912 phHciNfc_Notify_Event(psHciContext, pHwRef,
921 phHciNfc_sContext_t *psHciContext,
928 if( (NULL == psHciContext) || (NULL == pHwRef) || (NULL == sData) ||
933 else if((NULL == psHciContext->p_nfcip_info) ||
935 ((phHciNfc_NfcIP_Info_t *)(psHciContext->p_nfcip_info))->nfcip_type))
945 psHciContext->p_nfcip_info ;
965 psHciContext->tx_total = 0 ;
967 hcp_packet = (phHciNfc_HCP_Packet_t *) psHciContext->send_buffer;
985 psHciContext->tx_total = length;
987 status = phHciNfc_Send_HCP( psHciContext, pHwRef);
994 /* psHciContext->response_pending = TRUE; */
995 psHciContext->event_pending = TRUE;
1006 phHciNfc_sContext_t *psHciContext,
1016 if( (NULL == psHciContext)
1022 else if((NULL == psHciContext->p_nfcip_info) ||
1024 ((phHciNfc_NfcIP_Info_t *)(psHciContext->p_nfcip_info))->
1035 psHciContext->p_nfcip_info ;
1054 phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
1069 phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
1084 phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
1100 phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
1116 phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
1124 if (NULL != psHciContext->p_target_info)
1141 if (NULL != psHciContext->p_target_info)
1145 &(psHciContext->p_target_info->RemoteDevInfo);
1194 if (NULL != psHciContext->p_target_info)
1196 CompInfo.info = &(psHciContext->p_target_info);
1203 phHciNfc_Tag_Notify(psHciContext, pHwRef,
1240 phHciNfc_Target_Select_Notify((void *)psHciContext,
1262 phHciNfc_sContext_t *psHciContext,
1272 p_nfcipinfo = (phHciNfc_NfcIP_Info_t *)(psHciContext->p_nfcip_info );
1296 if (NULL != psHciContext->p_target_info)
1301 &(psHciContext->p_target_info->RemoteDevInfo.NfcIP_Info);
1345 if ((NULL != psHciContext->p_target_info) &&
1351 &(psHciContext->p_target_info->RemoteDevInfo.NfcIP_Info);
1378 if ((NULL != psHciContext->p_target_info) &&
1384 &(psHciContext->p_target_info->RemoteDevInfo.NfcIP_Info);
1410 if (NULL != psHciContext->p_target_info)
1415 &(psHciContext->p_target_info->RemoteDevInfo.NfcIP_Info);
1455 if (NULL != psHciContext->p_target_info)
1460 &(psHciContext->p_target_info->RemoteDevInfo.NfcIP_Info);
1557 phHciNfc_sContext_t *psHciContext,
1565 if( (NULL == psHciContext) || (NULL == pHwRef) ||
1574 else if(NULL == psHciContext->p_nfcip_info)
1585 psHciContext->p_nfcip_info ;
1602 status = phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
1611 phHciNfc_sContext_t *psHciContext,
1619 if( (NULL == psHciContext) || (NULL == pHwRef))
1627 else if(NULL == psHciContext->p_nfcip_info)
1638 psHciContext->p_nfcip_info ;
1655 status = phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
1664 phHciNfc_sContext_t *psHciContext,
1671 if( (NULL == psHciContext) || (NULL == pHwRef))
1675 else if(NULL == psHciContext->p_nfcip_info)
1686 psHciContext->p_nfcip_info ;
1701 status = phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
1710 phHciNfc_sContext_t *psHciContext,
1718 if( (NULL == psHciContext) || (NULL == pHwRef))
1726 else if(NULL == psHciContext->p_nfcip_info)
1737 psHciContext->p_nfcip_info ;
1746 status = phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
1754 phHciNfc_sContext_t *psHciContext,
1762 if( (NULL == psHciContext) || (NULL == pHwRef) || (NULL == atr_info) ||
1771 else if(NULL == psHciContext->p_nfcip_info)
1782 psHciContext->p_nfcip_info ;
1802 status = phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
1811 phHciNfc_sContext_t *psHciContext,
1818 if( (NULL == psHciContext) || (NULL == pHwRef))
1822 else if(NULL == psHciContext->p_nfcip_info)
1833 psHciContext->p_nfcip_info ;
1848 status = phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
1857 phHciNfc_sContext_t *psHciContext,
1864 if( (NULL == psHciContext) || (NULL == pHwRef))
1868 else if(NULL == psHciContext->p_nfcip_info)
1879 psHciContext->p_nfcip_info ;
1894 status = phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
1903 phHciNfc_sContext_t *psHciContext,
1910 if( (NULL == psHciContext) || (NULL == pHwRef))
1918 else if(NULL == psHciContext->p_nfcip_info)
1929 psHciContext->p_nfcip_info ;
1943 status = phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
1952 phHciNfc_sContext_t *psHciContext,
1959 if( (NULL == psHciContext) || (NULL == pHwRef))
1967 else if(NULL == psHciContext->p_nfcip_info)
1978 psHciContext->p_nfcip_info ;
1992 status = phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
2001 phHciNfc_sContext_t *psHciContext,
2007 if( (NULL == psHciContext) || (NULL == pHwRef) )
2011 else if(NULL == psHciContext->p_nfcip_info)
2021 psHciContext->p_nfcip_info ;
2023 psHciContext->host_rf_type = phHal_eNfcIP1_Initiator;
2037 psHciContext->tx_total = 0 ;
2038 hcp_packet = (phHciNfc_HCP_Packet_t *) psHciContext->send_buffer;
2046 psHciContext->tx_total = length;
2047 psHciContext->response_pending = (uint8_t)TRUE;
2050 status = phHciNfc_Send_HCP( psHciContext, pHwRef);
2060 phHciNfc_sContext_t *psHciContext,
2067 if( (NULL == psHciContext)
2076 else if(NULL == psHciContext->p_nfcip_info)
2087 psHciContext->p_nfcip_info ;
2107 phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
2116 phHciNfc_sContext_t *psHciContext,
2123 if( (NULL == psHciContext) || (NULL == pHwRef) ||
2128 else if(NULL == psHciContext->p_nfcip_info)
2139 psHciContext->p_nfcip_info ;
2154 status = phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,