Home | History | Annotate | Download | only in src

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);
1193 if (NULL != psHciContext->p_target_info)
1195 CompInfo.info = &(psHciContext->p_target_info);
1202 phHciNfc_Tag_Notify(psHciContext, pHwRef,
1239 phHciNfc_Target_Select_Notify((void *)psHciContext,
1261 phHciNfc_sContext_t *psHciContext,
1271 p_nfcipinfo = (phHciNfc_NfcIP_Info_t *)(psHciContext->p_nfcip_info );
1295 if (NULL != psHciContext->p_target_info)
1300 &(psHciContext->p_target_info->RemoteDevInfo.NfcIP_Info);
1344 if ((NULL != psHciContext->p_target_info) &&
1350 &(psHciContext->p_target_info->RemoteDevInfo.NfcIP_Info);
1377 if ((NULL != psHciContext->p_target_info) &&
1383 &(psHciContext->p_target_info->RemoteDevInfo.NfcIP_Info);
1439 if (NULL != psHciContext->p_target_info)
1444 &(psHciContext->p_target_info->RemoteDevInfo.NfcIP_Info);
1490 if (NULL != psHciContext->p_target_info)
1495 &(psHciContext->p_target_info->RemoteDevInfo.NfcIP_Info);
1592 phHciNfc_sContext_t *psHciContext,
1600 if( (NULL == psHciContext) || (NULL == pHwRef) ||
1609 else if(NULL == psHciContext->p_nfcip_info)
1620 psHciContext->p_nfcip_info ;
1637 status = phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
1646 phHciNfc_sContext_t *psHciContext,
1654 if( (NULL == psHciContext) || (NULL == pHwRef))
1662 else if(NULL == psHciContext->p_nfcip_info)
1673 psHciContext->p_nfcip_info ;
1690 status = phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
1699 phHciNfc_sContext_t *psHciContext,
1706 if( (NULL == psHciContext) || (NULL == pHwRef))
1710 else if(NULL == psHciContext->p_nfcip_info)
1721 psHciContext->p_nfcip_info ;
1736 status = phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
1745 psHciContext,
1753 if( (NULL == psHciContext) || (NULL == pHwRef))
1761 else if(NULL == psHciContext->p_nfcip_info)
1772 psHciContext->p_nfcip_info ;
1781 status = phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
1789 phHciNfc_sContext_t *psHciContext,
1797 if( (NULL == psHciContext) || (NULL == pHwRef) || (NULL == atr_info) ||
1806 else if(NULL == psHciContext->p_nfcip_info)
1817 psHciContext->p_nfcip_info ;
1837 status = phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
1846 phHciNfc_sContext_t *psHciContext,
1853 if( (NULL == psHciContext) || (NULL == pHwRef))
1857 else if(NULL == psHciContext->p_nfcip_info)
1868 psHciContext->p_nfcip_info ;
1883 status = phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
1892 phHciNfc_sContext_t *psHciContext,
1899 if( (NULL == psHciContext) || (NULL == pHwRef))
1903 else if(NULL == psHciContext->p_nfcip_info)
1914 psHciContext->p_nfcip_info ;
1929 status = phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
1938 phHciNfc_sContext_t *psHciContext,
1945 if( (NULL == psHciContext) || (NULL == pHwRef))
1953 else if(NULL == psHciContext->p_nfcip_info)
1964 psHciContext->p_nfcip_info ;
1978 status = phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
1987 phHciNfc_sContext_t *psHciContext,
1994 if( (NULL == psHciContext) || (NULL == pHwRef))
2002 else if(NULL == psHciContext->p_nfcip_info)
2013 psHciContext->p_nfcip_info ;
2027 status = phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
2036 phHciNfc_sContext_t *psHciContext,
2042 if( (NULL == psHciContext) || (NULL == pHwRef) )
2046 else if(NULL == psHciContext->p_nfcip_info)
2056 psHciContext->p_nfcip_info ;
2058 psHciContext->host_rf_type = phHal_eNfcIP1_Initiator;
2072 psHciContext->tx_total = 0 ;
2073 hcp_packet = (phHciNfc_HCP_Packet_t *) psHciContext->send_buffer;
2081 psHciContext->tx_total = length;
2082 psHciContext->response_pending = (uint8_t)TRUE;
2085 status = phHciNfc_Send_HCP( psHciContext, pHwRef);
2095 phHciNfc_sContext_t *psHciContext,
2102 if( (NULL == psHciContext)
2111 else if(NULL == psHciContext->p_nfcip_info)
2122 psHciContext->p_nfcip_info ;
2142 phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,
2151 phHciNfc_sContext_t *psHciContext,
2158 if( (NULL == psHciContext) || (NULL == pHwRef) ||
2163 else if(NULL == psHciContext->p_nfcip_info)
2174 psHciContext->p_nfcip_info ;
2189 status = phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef,