Home
last modified time | relevance | path

Searched refs:Hal4Ctxt (Results 1 – 6 of 6) sorted by relevance

/external/libnfc-nxp/src/
DphHal4Nfc_P2P.c69 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt = NULL; in phHal4Nfc_Send() local
98 Hal4Ctxt = (phHal4Nfc_Hal4Ctxt_t *)psHwReference->hal_context; in phHal4Nfc_Send()
99 if(NULL == Hal4Ctxt->psTrcvCtxtInfo) in phHal4Nfc_Send()
104 else if(NFC_EVT_ACTIVATED == Hal4Ctxt->sTgtConnectInfo.EmulationState) in phHal4Nfc_Send()
106 Hal4Ctxt->sUpperLayerInfo.psUpperLayerCtxt = pContext; in phHal4Nfc_Send()
108 Hal4Ctxt->psTrcvCtxtInfo->pP2PSendCb = pSendCallback; in phHal4Nfc_Send()
111 if (NULL == Hal4Ctxt->psTrcvCtxtInfo->psUpperSendData) in phHal4Nfc_Send()
113 Hal4Ctxt->psTrcvCtxtInfo->psUpperSendData = (phNfc_sData_t *) in phHal4Nfc_Send()
115 if(NULL != Hal4Ctxt->psTrcvCtxtInfo->psUpperSendData) in phHal4Nfc_Send()
117 (void)memset(Hal4Ctxt->psTrcvCtxtInfo->psUpperSendData, 0, in phHal4Nfc_Send()
[all …]
DphHal4Nfc_Reader.c60 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt
66 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt
78 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt = NULL; in phHal4Nfc_Connect() local
111 Hal4Ctxt = (phHal4Nfc_Hal4Ctxt_t *)psHwReference->hal_context; in phHal4Nfc_Connect()
113 Hal4Ctxt->sUpperLayerInfo.psUpperLayerCtxt = pContext; in phHal4Nfc_Connect()
115 Hal4Ctxt->sTgtConnectInfo.pUpperConnectCb = pNotifyConnectCb; in phHal4Nfc_Connect()
117 if((eHal4StateTargetDiscovered == Hal4Ctxt->Hal4CurrentState) in phHal4Nfc_Connect()
118 && (NULL == Hal4Ctxt->sTgtConnectInfo.psConnectedDevice)) in phHal4Nfc_Connect()
120 RemoteDevCount = Hal4Ctxt->psADDCtxtInfo->nbr_of_devices; in phHal4Nfc_Connect()
127 == (Hal4Ctxt->rem_dev_list[RemoteDevCount])) in phHal4Nfc_Connect()
[all …]
DphHal4Nfc_ADD.c50 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt = NULL; in phHal4Nfc_ConfigParameters() local
74 Hal4Ctxt = psHwReference->hal_context; in phHal4Nfc_ConfigParameters()
77 if(Hal4Ctxt->Hal4NextState == eHal4StateConfiguring) in phHal4Nfc_ConfigParameters()
82 else if(Hal4Ctxt->Hal4CurrentState >= eHal4StateOpenAndReady) in phHal4Nfc_ConfigParameters()
85 if (NULL == Hal4Ctxt->psADDCtxtInfo) in phHal4Nfc_ConfigParameters()
87 Hal4Ctxt->psADDCtxtInfo= (pphHal4Nfc_ADDCtxtInfo_t) in phHal4Nfc_ConfigParameters()
90 if(NULL != Hal4Ctxt->psADDCtxtInfo) in phHal4Nfc_ConfigParameters()
92 (void)memset(Hal4Ctxt->psADDCtxtInfo,0, in phHal4Nfc_ConfigParameters()
97 if(NULL == Hal4Ctxt->psADDCtxtInfo) in phHal4Nfc_ConfigParameters()
107 Hal4Ctxt->sUpperLayerInfo.psUpperLayerCfgDiscCtxt = pContext; in phHal4Nfc_ConfigParameters()
[all …]
DphHal4Nfc.c56 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt,
67 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt,
72 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt,
77 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt,
95 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt,
106 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt, in phHal4Nfc_OpenComplete() argument
112 = Hal4Ctxt->sUpperLayerInfo.pUpperOpenCb; in phHal4Nfc_OpenComplete()
114 = Hal4Ctxt->sUpperLayerInfo.psUpperLayerCtxt; in phHal4Nfc_OpenComplete()
119 if(eHal4StateOpenAndReady == Hal4Ctxt->Hal4NextState) in phHal4Nfc_OpenComplete()
122 Hal4Ctxt->psHciHandle, in phHal4Nfc_OpenComplete()
[all …]
DphHal4Nfc_Emulation.c45 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt, in phHal4Nfc_HandleEmulationEvent() argument
54 if(NULL != Hal4Ctxt->sUpperLayerInfo.pEventNotification) in phHal4Nfc_HandleEmulationEvent()
56 Hal4Ctxt->sUpperLayerInfo.pEventNotification( in phHal4Nfc_HandleEmulationEvent()
57 Hal4Ctxt->sUpperLayerInfo.EventNotificationCtxt, in phHal4Nfc_HandleEmulationEvent()
66 if(NULL != Hal4Ctxt->sUpperLayerInfo.pDefaultEventHandler) in phHal4Nfc_HandleEmulationEvent()
68 Hal4Ctxt->sUpperLayerInfo.pDefaultEventHandler( in phHal4Nfc_HandleEmulationEvent()
69 Hal4Ctxt->sUpperLayerInfo.DefaultListenerCtxt, in phHal4Nfc_HandleEmulationEvent()
89 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt = NULL; in phHal4Nfc_Switch_SMX_Mode() local
112 Hal4Ctxt = psHwReference->hal_context; in phHal4Nfc_Switch_SMX_Mode()
115 if(Hal4Ctxt->Hal4NextState == eHal4StateConfiguring) in phHal4Nfc_Switch_SMX_Mode()
[all …]
DphHal4Nfc_Internal.h237 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt,
243 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt,
249 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt,
255 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt,
261 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt,
269 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt,
275 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt,
280 extern void phHal4Nfc_RecvCompleteHandler(phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt,void *pInfo);
283 extern void phHal4Nfc_SendCompleteHandler(phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt,void *pInfo);
287 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt,
[all …]