Lines Matching refs:Hal4Ctxt
56 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()
132 Hal4Ctxt->Hal4CurrentState = Hal4Ctxt->Hal4NextState; in phHal4Nfc_OpenComplete()
133 Hal4Ctxt->Hal4NextState = eHal4StateInvalid; in phHal4Nfc_OpenComplete()
134 Hal4Ctxt->sUpperLayerInfo.pUpperOpenCb = NULL; in phHal4Nfc_OpenComplete()
138 (*pUpper_OpenCb)(Hal4Ctxt->sUpperLayerInfo.psUpperLayerCtxt, in phHal4Nfc_OpenComplete()
146 Hal4Ctxt->Hal4CurrentState = eHal4StateClosed; in phHal4Nfc_OpenComplete()
147 Hal4Ctxt->Hal4NextState = eHal4StateInvalid; in phHal4Nfc_OpenComplete()
148 Hal4Ctxt->psHciHandle = NULL; in phHal4Nfc_OpenComplete()
149 phOsalNfc_FreeMemory((void *)Hal4Ctxt->pHal4Nfc_LayerCfg); in phHal4Nfc_OpenComplete()
150 Hal4Ctxt->pHal4Nfc_LayerCfg = NULL; in phHal4Nfc_OpenComplete()
151 phOsalNfc_FreeMemory((void *)Hal4Ctxt); in phHal4Nfc_OpenComplete()
171 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt, in phHal4Nfc_CloseComplete() argument
179 pUpper_CloseCb = Hal4Ctxt->sUpperLayerInfo.pUpperCloseCb; in phHal4Nfc_CloseComplete()
180 pUpper_Context = Hal4Ctxt->sUpperLayerInfo.psUpperLayerCtxt; in phHal4Nfc_CloseComplete()
182 Hal4Ctxt->Hal4CurrentState = Hal4Ctxt->Hal4NextState; in phHal4Nfc_CloseComplete()
183 Hal4Ctxt->Hal4NextState = eHal4StateInvalid; in phHal4Nfc_CloseComplete()
187 Hal4Ctxt->psHciHandle = NULL; in phHal4Nfc_CloseComplete()
189 phOsalNfc_FreeMemory((void *)Hal4Ctxt->pHal4Nfc_LayerCfg); in phHal4Nfc_CloseComplete()
190 Hal4Ctxt->pHal4Nfc_LayerCfg = NULL; in phHal4Nfc_CloseComplete()
192 if(NULL != Hal4Ctxt->psADDCtxtInfo) in phHal4Nfc_CloseComplete()
196 if(NULL != Hal4Ctxt->rem_dev_list[RemoteDevNumber]) in phHal4Nfc_CloseComplete()
199 (Hal4Ctxt->rem_dev_list[RemoteDevNumber])); in phHal4Nfc_CloseComplete()
200 Hal4Ctxt->rem_dev_list[RemoteDevNumber] = NULL; in phHal4Nfc_CloseComplete()
204 Hal4Ctxt->psADDCtxtInfo->nbr_of_devices = 0; in phHal4Nfc_CloseComplete()
205 phOsalNfc_FreeMemory(Hal4Ctxt->psADDCtxtInfo); in phHal4Nfc_CloseComplete()
208 if(NULL != Hal4Ctxt->psTrcvCtxtInfo) in phHal4Nfc_CloseComplete()
210 if(NULL != Hal4Ctxt->psTrcvCtxtInfo->sLowerRecvData.buffer) in phHal4Nfc_CloseComplete()
213 Hal4Ctxt->psTrcvCtxtInfo->sLowerRecvData.buffer in phHal4Nfc_CloseComplete()
216 if((NULL == Hal4Ctxt->sTgtConnectInfo.psConnectedDevice) in phHal4Nfc_CloseComplete()
217 && (NULL != Hal4Ctxt->psTrcvCtxtInfo->psUpperSendData)) in phHal4Nfc_CloseComplete()
219 phOsalNfc_FreeMemory(Hal4Ctxt->psTrcvCtxtInfo->psUpperSendData); in phHal4Nfc_CloseComplete()
221 phOsalNfc_FreeMemory(Hal4Ctxt->psTrcvCtxtInfo); in phHal4Nfc_CloseComplete()
226 phOsalNfc_FreeMemory((void *)Hal4Ctxt); in phHal4Nfc_CloseComplete()
354 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt = NULL; in phHal4Nfc_Open() local
382 Hal4Ctxt = (phHal4Nfc_Hal4Ctxt_t *) in phHal4Nfc_Open()
386 ((phHal_sHwReference_t *)psHwReference)->hal_context = Hal4Ctxt; in phHal4Nfc_Open()
390 Hal4Ctxt = ((phHal_sHwReference_t *)psHwReference)->hal_context; in phHal4Nfc_Open()
392 if(NULL == Hal4Ctxt) in phHal4Nfc_Open()
399 (void)memset((void *)Hal4Ctxt, in phHal4Nfc_Open()
403 if( NULL == Hal4Ctxt->pHal4Nfc_LayerCfg ) in phHal4Nfc_Open()
406 &(Hal4Ctxt->pHal4Nfc_LayerCfg) in phHal4Nfc_Open()
413 Hal4Ctxt->Hal4NextState = (HCI_NFC_DEVICE_TEST == eHciInitType? in phHal4Nfc_Open()
416 Hal4Ctxt->sUpperLayerInfo.pUpperOpenCb = pOpenCallback; in phHal4Nfc_Open()
417 Hal4Ctxt->sUpperLayerInfo.psUpperLayerCtxt = pContext; in phHal4Nfc_Open()
418 Hal4Ctxt->sTgtConnectInfo.EmulationState = NFC_EVT_DEACTIVATED; in phHal4Nfc_Open()
422 (void *)&Hal4Ctxt->psHciHandle, in phHal4Nfc_Open()
428 (void *)Hal4Ctxt, in phHal4Nfc_Open()
429 Hal4Ctxt->pHal4Nfc_LayerCfg in phHal4Nfc_Open()
435 phOsalNfc_FreeMemory(Hal4Ctxt->pHal4Nfc_LayerCfg); in phHal4Nfc_Open()
436 phOsalNfc_FreeMemory(Hal4Ctxt); in phHal4Nfc_Open()
437 Hal4Ctxt = NULL; in phHal4Nfc_Open()
442 phOsalNfc_FreeMemory(Hal4Ctxt); in phHal4Nfc_Open()
461 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt = NULL; in phHal4Nfc_Ioctl() local
490 Hal4Ctxt = (phHal4Nfc_Hal4Ctxt_t *) in phHal4Nfc_Ioctl()
494 if(NULL == Hal4Ctxt) in phHal4Nfc_Ioctl()
502 = Hal4Ctxt; in phHal4Nfc_Ioctl()
503 (void)memset((void *)Hal4Ctxt, in phHal4Nfc_Ioctl()
506 …Hal4Ctxt->sUpperLayerInfo.psUpperLayerCtxt = pContext; … in phHal4Nfc_Ioctl()
507 Hal4Ctxt->sUpperLayerInfo.pUpperIoctlCb in phHal4Nfc_Ioctl()
509 Hal4Ctxt->sUpperLayerInfo.pIoctlOutParam = pOutParam; in phHal4Nfc_Ioctl()
514 Hal4Ctxt in phHal4Nfc_Ioctl()
520 phOsalNfc_FreeMemory(Hal4Ctxt); in phHal4Nfc_Ioctl()
534 Hal4Ctxt = psHwReference->hal_context; in phHal4Nfc_Ioctl()
535 Hal4Ctxt->sUpperLayerInfo.pIoctlOutParam = pOutParam; in phHal4Nfc_Ioctl()
542 if(eHal4StateSelfTestMode ==Hal4Ctxt->Hal4CurrentState) in phHal4Nfc_Ioctl()
545 Hal4Ctxt->psHciHandle, in phHal4Nfc_Ioctl()
555 Hal4Ctxt->psHciHandle, in phHal4Nfc_Ioctl()
563 if(eHal4StateSelfTestMode ==Hal4Ctxt->Hal4CurrentState) in phHal4Nfc_Ioctl()
566 Hal4Ctxt->psHciHandle, in phHal4Nfc_Ioctl()
585 Hal4Ctxt->psHciHandle, in phHal4Nfc_Ioctl()
605 Hal4Ctxt->psHciHandle, in phHal4Nfc_Ioctl()
632 Hal4Ctxt->psHciHandle, in phHal4Nfc_Ioctl()
651 Hal4Ctxt->sUpperLayerInfo.psUpperLayerCtxt = pContext; in phHal4Nfc_Ioctl()
652 Hal4Ctxt->sUpperLayerInfo.pUpperIoctlCb= pIoctlCallback; in phHal4Nfc_Ioctl()
654 Hal4Ctxt->Ioctl_Type = IoctlCode; in phHal4Nfc_Ioctl()
672 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt = NULL; in phHal4Nfc_Close() local
693 Hal4Ctxt = (phHal4Nfc_Hal4Ctxt_t *)((phHal_sHwReference_t *) in phHal4Nfc_Close()
696 if(NULL != Hal4Ctxt->psADDCtxtInfo) in phHal4Nfc_Close()
698 Hal4Ctxt->sUpperLayerInfo.pTagDiscoveryNotification = NULL; in phHal4Nfc_Close()
701 Hal4Ctxt->sUpperLayerInfo.pUpperCloseCb = pCloseCallback; in phHal4Nfc_Close()
702 Hal4Ctxt->sUpperLayerInfo.psUpperLayerCtxt = pContext; in phHal4Nfc_Close()
706 (void *)Hal4Ctxt->psHciHandle, in phHal4Nfc_Close()
710 (void *)Hal4Ctxt in phHal4Nfc_Close()
715 Hal4Ctxt->Hal4NextState = eHal4StateClosed; in phHal4Nfc_Close()
716 Hal4Ctxt->sUpperLayerInfo.pTagDiscoveryNotification = NULL; in phHal4Nfc_Close()
733 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt = NULL; in phHal4Nfc_Hal4Reset() local
743 Hal4Ctxt = (phHal4Nfc_Hal4Ctxt_t *)pHwRef->hal_context; in phHal4Nfc_Hal4Reset()
745 Hal4Ctxt->sUpperLayerInfo.psUpperLayerCtxt = pContext; in phHal4Nfc_Hal4Reset()
746 Hal4Ctxt->Hal4NextState = eHal4StateClosed; in phHal4Nfc_Hal4Reset()
747 Hal4Ctxt->sUpperLayerInfo.pTagDiscoveryNotification = NULL; in phHal4Nfc_Hal4Reset()
751 (void *)Hal4Ctxt->psHciHandle, in phHal4Nfc_Hal4Reset()
754 (void *)Hal4Ctxt in phHal4Nfc_Hal4Reset()
756 Hal4Ctxt->Hal4CurrentState = eHal4StateClosed; in phHal4Nfc_Hal4Reset()
757 phOsalNfc_FreeMemory((void *)Hal4Ctxt->pHal4Nfc_LayerCfg); in phHal4Nfc_Hal4Reset()
758 Hal4Ctxt->pHal4Nfc_LayerCfg = NULL; in phHal4Nfc_Hal4Reset()
760 if(NULL != Hal4Ctxt->psADDCtxtInfo) in phHal4Nfc_Hal4Reset()
762 Hal4Ctxt->sUpperLayerInfo.pTagDiscoveryNotification = NULL; in phHal4Nfc_Hal4Reset()
765 if(NULL != Hal4Ctxt->rem_dev_list[RemoteDevNumber]) in phHal4Nfc_Hal4Reset()
768 (Hal4Ctxt->rem_dev_list[RemoteDevNumber])); in phHal4Nfc_Hal4Reset()
769 Hal4Ctxt->rem_dev_list[RemoteDevNumber] = NULL; in phHal4Nfc_Hal4Reset()
773 Hal4Ctxt->psADDCtxtInfo->nbr_of_devices = 0; in phHal4Nfc_Hal4Reset()
774 phOsalNfc_FreeMemory(Hal4Ctxt->psADDCtxtInfo); in phHal4Nfc_Hal4Reset()
777 if(NULL != Hal4Ctxt->psTrcvCtxtInfo) in phHal4Nfc_Hal4Reset()
779 if(NULL != Hal4Ctxt->psTrcvCtxtInfo->sLowerRecvData.buffer) in phHal4Nfc_Hal4Reset()
781 phOsalNfc_FreeMemory(Hal4Ctxt->psTrcvCtxtInfo in phHal4Nfc_Hal4Reset()
784 if((NULL == Hal4Ctxt->sTgtConnectInfo.psConnectedDevice) in phHal4Nfc_Hal4Reset()
785 && (NULL != Hal4Ctxt->psTrcvCtxtInfo->psUpperSendData)) in phHal4Nfc_Hal4Reset()
787 phOsalNfc_FreeMemory(Hal4Ctxt->psTrcvCtxtInfo->psUpperSendData); in phHal4Nfc_Hal4Reset()
789 phOsalNfc_FreeMemory(Hal4Ctxt->psTrcvCtxtInfo); in phHal4Nfc_Hal4Reset()
791 phOsalNfc_FreeMemory(Hal4Ctxt);/*Free the context*/ in phHal4Nfc_Hal4Reset()
884 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt = NULL; in phHal4Nfc_LowerNotificationHandler() local
896 Hal4Ctxt = (phHal4Nfc_Hal4Ctxt_t *)gpphHal4Nfc_Hwref->hal_context; in phHal4Nfc_LowerNotificationHandler()
897 if(NFC_INVALID_RELEASE_TYPE == Hal4Ctxt->sTgtConnectInfo.ReleaseType) in phHal4Nfc_LowerNotificationHandler()
899 Hal4Ctxt = (phHal4Nfc_Hal4Ctxt_t *)pContext; in phHal4Nfc_LowerNotificationHandler()
906 Hal4Ctxt = (phHal4Nfc_Hal4Ctxt_t *)pContext; in phHal4Nfc_LowerNotificationHandler()
915 phHal4Nfc_OpenComplete(Hal4Ctxt,pInfo); in phHal4Nfc_LowerNotificationHandler()
919 phHal4Nfc_IoctlComplete(Hal4Ctxt,pInfo); in phHal4Nfc_LowerNotificationHandler()
922 phHal4Nfc_SelfTestComplete(Hal4Ctxt,pInfo); in phHal4Nfc_LowerNotificationHandler()
926 phHal4Nfc_CloseComplete(Hal4Ctxt,pInfo); in phHal4Nfc_LowerNotificationHandler()
933 phHal4Nfc_ConfigureComplete(Hal4Ctxt,pInfo,type); in phHal4Nfc_LowerNotificationHandler()
937 phHal4Nfc_TargetDiscoveryComplete(Hal4Ctxt,pInfo); in phHal4Nfc_LowerNotificationHandler()
940 phHal4Nfc_ReactivationComplete(Hal4Ctxt,pInfo); in phHal4Nfc_LowerNotificationHandler()
944 phHal4Nfc_HandleEvent(Hal4Ctxt,pInfo); in phHal4Nfc_LowerNotificationHandler()
948 phHal4Nfc_ConnectComplete(Hal4Ctxt,pInfo); in phHal4Nfc_LowerNotificationHandler()
954 if(Hal4Ctxt->Hal4NextState == eHal4StatePresenceCheck) in phHal4Nfc_LowerNotificationHandler()
956 phHal4Nfc_PresenceChkComplete(Hal4Ctxt,pInfo); in phHal4Nfc_LowerNotificationHandler()
960 phHal4Nfc_DisconnectComplete(Hal4Ctxt,pInfo); in phHal4Nfc_LowerNotificationHandler()
967 if(NULL != Hal4Ctxt->psTrcvCtxtInfo) in phHal4Nfc_LowerNotificationHandler()
970 if(Hal4Ctxt->psTrcvCtxtInfo->TransactionTimerId in phHal4Nfc_LowerNotificationHandler()
974 Hal4Ctxt->psTrcvCtxtInfo->TransactionTimerId in phHal4Nfc_LowerNotificationHandler()
977 Hal4Ctxt->psTrcvCtxtInfo->TransactionTimerId in phHal4Nfc_LowerNotificationHandler()
979 Hal4Ctxt->psTrcvCtxtInfo->TransactionTimerId in phHal4Nfc_LowerNotificationHandler()
983 phHal4Nfc_TransceiveComplete(Hal4Ctxt,pInfo); in phHal4Nfc_LowerNotificationHandler()
988 if(NULL != Hal4Ctxt->psTrcvCtxtInfo) in phHal4Nfc_LowerNotificationHandler()
990 phHal4Nfc_SendCompleteHandler(Hal4Ctxt,pInfo); in phHal4Nfc_LowerNotificationHandler()
994 phHal4Nfc_HandleEmulationEvent(Hal4Ctxt,pInfo); in phHal4Nfc_LowerNotificationHandler()
999 if(NULL != Hal4Ctxt->psTrcvCtxtInfo) in phHal4Nfc_LowerNotificationHandler()
1001 if(Hal4Ctxt->psTrcvCtxtInfo->TransactionTimerId in phHal4Nfc_LowerNotificationHandler()
1005 Hal4Ctxt->psTrcvCtxtInfo->TransactionTimerId in phHal4Nfc_LowerNotificationHandler()
1008 Hal4Ctxt->psTrcvCtxtInfo->TransactionTimerId in phHal4Nfc_LowerNotificationHandler()
1010 Hal4Ctxt->psTrcvCtxtInfo->TransactionTimerId in phHal4Nfc_LowerNotificationHandler()
1014 phHal4Nfc_RecvCompleteHandler(Hal4Ctxt,pInfo); in phHal4Nfc_LowerNotificationHandler()
1017 phHal4Nfc_PresenceChkComplete(Hal4Ctxt,pInfo); in phHal4Nfc_LowerNotificationHandler()
1023 = Hal4Ctxt->sUpperLayerInfo.pUpperOpenCb; in phHal4Nfc_LowerNotificationHandler()
1025 = Hal4Ctxt->sUpperLayerInfo.psUpperLayerCtxt; in phHal4Nfc_LowerNotificationHandler()
1027 if(NULL != Hal4Ctxt->sUpperLayerInfo.pDefaultEventHandler) in phHal4Nfc_LowerNotificationHandler()
1029 Hal4Ctxt->Hal4NextState = eHal4StateInvalid; in phHal4Nfc_LowerNotificationHandler()
1030 Hal4Ctxt->sUpperLayerInfo.pDefaultEventHandler( in phHal4Nfc_LowerNotificationHandler()
1031 Hal4Ctxt->sUpperLayerInfo.DefaultListenerCtxt, in phHal4Nfc_LowerNotificationHandler()
1037 else if (( eHal4StateSelfTestMode == Hal4Ctxt->Hal4NextState ) in phHal4Nfc_LowerNotificationHandler()
1038 || ( eHal4StateOpenAndReady == Hal4Ctxt->Hal4NextState ) ) in phHal4Nfc_LowerNotificationHandler()
1040 Hal4Ctxt->Hal4CurrentState = eHal4StateClosed; in phHal4Nfc_LowerNotificationHandler()
1041 Hal4Ctxt->Hal4NextState = eHal4StateInvalid; in phHal4Nfc_LowerNotificationHandler()
1042 (void)phHciNfc_Release((void *)Hal4Ctxt->psHciHandle, in phHal4Nfc_LowerNotificationHandler()
1044 (void *)Hal4Ctxt);/*Clean up Hci*/ in phHal4Nfc_LowerNotificationHandler()
1045 Hal4Ctxt->psHciHandle = NULL; in phHal4Nfc_LowerNotificationHandler()
1046 phOsalNfc_FreeMemory((void *)Hal4Ctxt->pHal4Nfc_LayerCfg); in phHal4Nfc_LowerNotificationHandler()
1047 Hal4Ctxt->pHal4Nfc_LayerCfg = NULL; in phHal4Nfc_LowerNotificationHandler()
1048 phOsalNfc_FreeMemory((void *)Hal4Ctxt); in phHal4Nfc_LowerNotificationHandler()
1061 Hal4Ctxt->Hal4NextState = eHal4StateInvalid; in phHal4Nfc_LowerNotificationHandler()
1073 switch(Hal4Ctxt->Hal4NextState) in phHal4Nfc_LowerNotificationHandler()
1076 phHal4Nfc_CloseComplete(Hal4Ctxt,pInfo); in phHal4Nfc_LowerNotificationHandler()
1079 phHal4Nfc_SelfTestComplete(Hal4Ctxt,pInfo); in phHal4Nfc_LowerNotificationHandler()
1082 phHal4Nfc_ConfigureComplete(Hal4Ctxt,pInfo,type); in phHal4Nfc_LowerNotificationHandler()
1087 if(NULL != Hal4Ctxt->sTgtConnectInfo.pUpperConnectCb) in phHal4Nfc_LowerNotificationHandler()
1089 if(NULL == Hal4Ctxt->sTgtConnectInfo.psConnectedDevice) in phHal4Nfc_LowerNotificationHandler()
1091 phHal4Nfc_ConfigureComplete(Hal4Ctxt,pInfo,type); in phHal4Nfc_LowerNotificationHandler()
1095 phHal4Nfc_ConnectComplete(Hal4Ctxt,pInfo); in phHal4Nfc_LowerNotificationHandler()
1100 phHal4Nfc_TargetDiscoveryComplete(Hal4Ctxt,pInfo); in phHal4Nfc_LowerNotificationHandler()
1105 phHal4Nfc_ConnectComplete(Hal4Ctxt,pInfo); in phHal4Nfc_LowerNotificationHandler()
1108 phHal4Nfc_DisconnectComplete(Hal4Ctxt,pInfo); in phHal4Nfc_LowerNotificationHandler()
1111 phHal4Nfc_PresenceChkComplete(Hal4Ctxt,pInfo); in phHal4Nfc_LowerNotificationHandler()
1130 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt, in phHal4Nfc_HandleEvent() argument
1139 if(eHal4StateClosed != Hal4Ctxt->Hal4NextState) in phHal4Nfc_HandleEvent()
1150 phHal4Nfc_P2PActivateComplete(Hal4Ctxt,pInfo); in phHal4Nfc_HandleEvent()
1158 phHal4Nfc_HandleEmulationEvent(Hal4Ctxt,pInfo); in phHal4Nfc_HandleEvent()
1173 phHal4Nfc_HandleP2PDeActivate(Hal4Ctxt,pInfo); in phHal4Nfc_HandleEvent()
1181 phHal4Nfc_HandleEmulationEvent(Hal4Ctxt,pInfo); in phHal4Nfc_HandleEvent()
1196 if(FALSE == Hal4Ctxt->Ignore_Event_Protected) in phHal4Nfc_HandleEvent()
1198 Hal4Ctxt->Ignore_Event_Protected = TRUE; in phHal4Nfc_HandleEvent()
1204 phHal4Nfc_HandleEmulationEvent(Hal4Ctxt,pInfo); in phHal4Nfc_HandleEvent()
1227 if (NULL == Hal4Ctxt->psADDCtxtInfo) in phHal4Nfc_HandleEvent()
1229 Hal4Ctxt->psADDCtxtInfo= (pphHal4Nfc_ADDCtxtInfo_t) in phHal4Nfc_HandleEvent()
1232 if(NULL != Hal4Ctxt->psADDCtxtInfo) in phHal4Nfc_HandleEvent()
1234 (void)memset(Hal4Ctxt->psADDCtxtInfo,0, in phHal4Nfc_HandleEvent()
1239 if(NULL != Hal4Ctxt->psADDCtxtInfo) in phHal4Nfc_HandleEvent()
1241 Hal4Ctxt->psADDCtxtInfo->sADDCfg.PollDevInfo.PollEnabled in phHal4Nfc_HandleEvent()
1245 (void *)Hal4Ctxt->psHciHandle, in phHal4Nfc_HandleEvent()
1247 &(Hal4Ctxt->psADDCtxtInfo->sADDCfg) in phHal4Nfc_HandleEvent()
1249 Hal4Ctxt->Hal4NextState = (NFCSTATUS_PENDING == RetStatus? in phHal4Nfc_HandleEvent()
1251 Hal4Ctxt->Hal4NextState); in phHal4Nfc_HandleEvent()
1266 if(NULL != Hal4Ctxt->sUpperLayerInfo.pDefaultEventHandler) in phHal4Nfc_HandleEvent()
1270 Hal4Ctxt->sUpperLayerInfo.pDefaultEventHandler( in phHal4Nfc_HandleEvent()
1271 Hal4Ctxt->sUpperLayerInfo.DefaultListenerCtxt, in phHal4Nfc_HandleEvent()
1293 phHal4Nfc_HandleEmulationEvent(Hal4Ctxt,pInfo); in phHal4Nfc_HandleEvent()
1296 Hal4Ctxt->psEventInfo = sNotificationInfo.info = psEventInfo; in phHal4Nfc_HandleEvent()
1301 phHal4Nfc_HandleEmulationEvent(Hal4Ctxt,pInfo); in phHal4Nfc_HandleEvent()
1305 Hal4Ctxt->Ignore_Event_Protected = FALSE; in phHal4Nfc_HandleEvent()
1307 Hal4Ctxt->psEventInfo = sNotificationInfo.info = psEventInfo; in phHal4Nfc_HandleEvent()
1312 phHal4Nfc_HandleEmulationEvent(Hal4Ctxt,pInfo); in phHal4Nfc_HandleEvent()
1325 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt, in phHal4Nfc_SelfTestComplete() argument
1333 = Hal4Ctxt->sUpperLayerInfo.pUpperIoctlCb; in phHal4Nfc_SelfTestComplete()
1334 void *pUpper_Context = Hal4Ctxt->sUpperLayerInfo.psUpperLayerCtxt; in phHal4Nfc_SelfTestComplete()
1336 if(( DEVMGMT_SWP_TEST == Hal4Ctxt->Ioctl_Type ) in phHal4Nfc_SelfTestComplete()
1337 || ( DEVMGMT_ANTENNA_TEST == Hal4Ctxt->Ioctl_Type )) in phHal4Nfc_SelfTestComplete()
1354 (void)memcpy(Hal4Ctxt->sUpperLayerInfo.pIoctlOutParam->buffer, in phHal4Nfc_SelfTestComplete()
1357 Hal4Ctxt->sUpperLayerInfo.pIoctlOutParam->length in phHal4Nfc_SelfTestComplete()
1362 Hal4Ctxt->sUpperLayerInfo.pIoctlOutParam, in phHal4Nfc_SelfTestComplete()
1370 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt, in phHal4Nfc_IoctlComplete() argument
1377 = Hal4Ctxt->sUpperLayerInfo.pUpperIoctlCb; in phHal4Nfc_IoctlComplete()
1380 Hal4Ctxt->sUpperLayerInfo.pConfigCallback; in phHal4Nfc_IoctlComplete()
1382 void *pUpper_Context = Hal4Ctxt->sUpperLayerInfo.psUpperLayerCtxt; in phHal4Nfc_IoctlComplete()
1383 Hal4Ctxt->sUpperLayerInfo.pUpperIoctlCb = NULL; in phHal4Nfc_IoctlComplete()
1385 if(eHal4StateOpenAndReady == Hal4Ctxt->Hal4NextState) in phHal4Nfc_IoctlComplete()
1387 Hal4Ctxt->Hal4CurrentState = Hal4Ctxt->Hal4NextState; in phHal4Nfc_IoctlComplete()
1388 Hal4Ctxt->Hal4NextState = eHal4StateInvalid; in phHal4Nfc_IoctlComplete()
1390 (*Hal4Ctxt->sUpperLayerInfo.pUpperOpenCb)( in phHal4Nfc_IoctlComplete()
1391 Hal4Ctxt->sUpperLayerInfo.psUpperLayerCtxt, in phHal4Nfc_IoctlComplete()
1397 else if((eHal4StateConfiguring == Hal4Ctxt->Hal4NextState) in phHal4Nfc_IoctlComplete()
1400 Hal4Ctxt->sUpperLayerInfo.pConfigCallback = NULL; in phHal4Nfc_IoctlComplete()
1401 Hal4Ctxt->Hal4NextState = eHal4StateInvalid; in phHal4Nfc_IoctlComplete()
1403 Hal4Ctxt->sUpperLayerInfo.psUpperLayerCtxt,status in phHal4Nfc_IoctlComplete()
1410 if ((NFC_MEM_READ == Hal4Ctxt->Ioctl_Type) in phHal4Nfc_IoctlComplete()
1411 || (NFC_GPIO_READ == Hal4Ctxt->Ioctl_Type) in phHal4Nfc_IoctlComplete()
1414 Hal4Ctxt->sUpperLayerInfo.pIoctlOutParam->length in phHal4Nfc_IoctlComplete()
1422 Hal4Ctxt->sUpperLayerInfo.pIoctlOutParam, in phHal4Nfc_IoctlComplete()
1439 phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt = NULL; in phHal4Nfc_DownloadComplete() local
1453 Hal4Ctxt = (phHal4Nfc_Hal4Ctxt_t *)pContext; in phHal4Nfc_DownloadComplete()
1455 pUpper_Context = Hal4Ctxt->sUpperLayerInfo.psUpperLayerCtxt; in phHal4Nfc_DownloadComplete()
1456 pIoctlOutParam = Hal4Ctxt->sUpperLayerInfo.pIoctlOutParam; in phHal4Nfc_DownloadComplete()
1457 pUpper_DnldCb = Hal4Ctxt->sUpperLayerInfo.pUpperIoctlCb; in phHal4Nfc_DownloadComplete()
1458 Hal4Ctxt->sUpperLayerInfo.pUpperIoctlCb = NULL; in phHal4Nfc_DownloadComplete()