Lines Matching refs:pLibContext
89 pphLibNfc_LibContext_t pLibContext=(pphLibNfc_LibContext_t)gpphLibContext; in phLibNfc_SE_NtfRegister() local
111 pLibContext->psHwReference, in phLibNfc_SE_NtfRegister()
114 (void*)pLibContext); in phLibNfc_SE_NtfRegister()
117 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerNtfCb = pSE_NotificationCb; in phLibNfc_SE_NtfRegister()
118 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerCtxt=pContext; in phLibNfc_SE_NtfRegister()
136 pphLibNfc_LibContext_t pLibContext=(pphLibNfc_LibContext_t)context; in phLibNfc_SeNotification() local
141 if(pLibContext != gpphLibContext) in phLibNfc_SeNotification()
199 (*pLibContext->sSeContext.sSeCallabackInfo.pSeListenerNtfCb)( in phLibNfc_SeNotification()
200 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerCtxt, in phLibNfc_SeNotification()
217 (*pLibContext->sSeContext.sSeCallabackInfo.pSeListenerNtfCb)( in phLibNfc_SeNotification()
218 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerCtxt, in phLibNfc_SeNotification()
232 (*pLibContext->sSeContext.sSeCallabackInfo.pSeListenerNtfCb)( in phLibNfc_SeNotification()
233 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerCtxt, in phLibNfc_SeNotification()
243 (*pLibContext->sSeContext.sSeCallabackInfo.pSeListenerNtfCb)( in phLibNfc_SeNotification()
244 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerCtxt, in phLibNfc_SeNotification()
254 (*pLibContext->sSeContext.sSeCallabackInfo.pSeListenerNtfCb)( in phLibNfc_SeNotification()
255 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerCtxt, in phLibNfc_SeNotification()
264 (*pLibContext->sSeContext.sSeCallabackInfo.pSeListenerNtfCb)( in phLibNfc_SeNotification()
265 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerCtxt, in phLibNfc_SeNotification()
274 (*pLibContext->sSeContext.sSeCallabackInfo.pSeListenerNtfCb)( in phLibNfc_SeNotification()
275 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerCtxt, in phLibNfc_SeNotification()
284 (*pLibContext->sSeContext.sSeCallabackInfo.pSeListenerNtfCb)( in phLibNfc_SeNotification()
285 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerCtxt, in phLibNfc_SeNotification()
294 (*pLibContext->sSeContext.sSeCallabackInfo.pSeListenerNtfCb)( in phLibNfc_SeNotification()
295 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerCtxt, in phLibNfc_SeNotification()
323 pphLibNfc_LibContext_t pLibContext=(pphLibNfc_LibContext_t)gpphLibContext; in phLibNfc_SE_NtfUnregister() local
341 pLibContext->psHwReference, in phLibNfc_SE_NtfUnregister()
343 pLibContext); in phLibNfc_SE_NtfUnregister()
349 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerNtfCb=NULL; in phLibNfc_SE_NtfUnregister()
350 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerCtxt=NULL; in phLibNfc_SE_NtfUnregister()
449 pphLibNfc_LibContext_t pLibContext=(pphLibNfc_LibContext_t)gpphLibContext; in phLibNfc_SE_SetMode() local
465 else if((pLibContext->status.GenCb_pending_status == TRUE) in phLibNfc_SE_SetMode()
466 ||(NULL!=pLibContext->sSeContext.sSeCallabackInfo.pSEsetModeCb)) in phLibNfc_SE_SetMode()
481 … pLibContext->sCardEmulCfg.config.uiccEmuCfg.enableUicc = TRUE; in phLibNfc_SE_SetMode()
487 … pLibContext->sCardEmulCfg.config.smartMxCfg.enableEmulation = TRUE; in phLibNfc_SE_SetMode()
495 if(pLibContext->sSeContext.eActivatedMode != phLibNfc_SE_ActModeWired) in phLibNfc_SE_SetMode()
497 pLibContext->sSeContext.eActivatedMode = phLibNfc_SE_ActModeVirtual; in phLibNfc_SE_SetMode()
499 pLibContext->sCardEmulCfg.emuType = eEmulationType; in phLibNfc_SE_SetMode()
501 pLibContext->psHwReference, in phLibNfc_SE_SetMode()
503 (phHal_uConfig_t*)&pLibContext->sCardEmulCfg, in phLibNfc_SE_SetMode()
505 pLibContext); in phLibNfc_SE_SetMode()
515 pLibContext->sCardEmulCfg.config.smartMxCfg.enableEmulation = TRUE; in phLibNfc_SE_SetMode()
516 pLibContext->sSeContext.eActivatedMode = phLibNfc_SE_ActModeVirtualVolatile; in phLibNfc_SE_SetMode()
519 pLibContext->psHwReference, in phLibNfc_SE_SetMode()
522 pLibContext in phLibNfc_SE_SetMode()
529 pLibContext->sCardEmulCfg.config.uiccEmuCfg.enableUicc = TRUE; in phLibNfc_SE_SetMode()
530 pLibContext->sSeContext.eActivatedMode = phLibNfc_SE_ActModeVirtualVolatile; in phLibNfc_SE_SetMode()
533 pLibContext->psHwReference, in phLibNfc_SE_SetMode()
536 pLibContext in phLibNfc_SE_SetMode()
550 pLibContext->psHwReference, in phLibNfc_SE_SetMode()
553 pLibContext in phLibNfc_SE_SetMode()
559 pLibContext->psHwReference, in phLibNfc_SE_SetMode()
562 pLibContext in phLibNfc_SE_SetMode()
576 if(pLibContext->CBInfo.pClientNtfRegRespCB!=NULL) in phLibNfc_SE_SetMode()
579 pLibContext->sCardEmulCfg.config.smartMxCfg.enableEmulation = FALSE; in phLibNfc_SE_SetMode()
580 pLibContext->sSeContext.eActivatedMode = phLibNfc_SE_ActModeWired; in phLibNfc_SE_SetMode()
583 pLibContext->psHwReference, in phLibNfc_SE_SetMode()
586 pLibContext in phLibNfc_SE_SetMode()
609 pLibContext->sCardEmulCfg.config.uiccEmuCfg.enableUicc = FALSE; in phLibNfc_SE_SetMode()
616 pLibContext->sCardEmulCfg.config.smartMxCfg.enableEmulation=FALSE; in phLibNfc_SE_SetMode()
625 pLibContext->sCardEmulCfg.emuType = eEmulationType; in phLibNfc_SE_SetMode()
627 if(pLibContext->sSeContext.eActivatedMode != phLibNfc_SE_ActModeWired) in phLibNfc_SE_SetMode()
629 pLibContext->sSeContext.eActivatedMode = phLibNfc_SE_ActModeOff; in phLibNfc_SE_SetMode()
632 Status = phHal4Nfc_ConfigParameters(pLibContext->psHwReference, in phLibNfc_SE_SetMode()
634 … (phHal_uConfig_t*)&pLibContext->sCardEmulCfg, in phLibNfc_SE_SetMode()
636 pLibContext); in phLibNfc_SE_SetMode()
647 pLibContext->sSeContext.hSetemp=hSE_Handle; in phLibNfc_SE_SetMode()
648 pLibContext->status.GenCb_pending_status = TRUE; in phLibNfc_SE_SetMode()
649 pLibContext->sSeContext.sSeCallabackInfo.pSEsetModeCb = pSE_SetMode_Rsp_cb; in phLibNfc_SE_SetMode()
650 pLibContext->sSeContext.sSeCallabackInfo.pSEsetModeCtxt=pContext; in phLibNfc_SE_SetMode()
675 pphLibNfc_LibContext_t pLibContext=gpphLibContext; in phLibNfc_SE_SetMode_cb() local
691 hSeHandle = pLibContext->sSeContext.hSetemp; in phLibNfc_SE_SetMode_cb()
695 if(TRUE==pLibContext->sCardEmulCfg.config.uiccEmuCfg.enableUicc) in phLibNfc_SE_SetMode_cb()
698 pLibContext->sSeContext.uUiccActivate = TRUE; in phLibNfc_SE_SetMode_cb()
704 pLibContext->sSeContext.uUiccActivate = FALSE; in phLibNfc_SE_SetMode_cb()
709 TempState = pLibContext->sSeContext.uUiccActivate; in phLibNfc_SE_SetMode_cb()
713 if(TRUE==pLibContext->sCardEmulCfg.config.smartMxCfg.enableEmulation) in phLibNfc_SE_SetMode_cb()
716 pLibContext->sSeContext.uSmxActivate = TRUE; in phLibNfc_SE_SetMode_cb()
723 pLibContext->sSeContext.uSmxActivate = FALSE; in phLibNfc_SE_SetMode_cb()
728 TempState = pLibContext->sSeContext.uSmxActivate; in phLibNfc_SE_SetMode_cb()
739 pLibContext->status.GenCb_pending_status = FALSE; in phLibNfc_SE_SetMode_cb()
742 pUpperLayerCb = pLibContext->sSeContext.sSeCallabackInfo.pSEsetModeCb; in phLibNfc_SE_SetMode_cb()
743 pUpperContext = pLibContext->sSeContext.sSeCallabackInfo.pSEsetModeCtxt; in phLibNfc_SE_SetMode_cb()
744 pLibContext->sSeContext.sSeCallabackInfo.pSEsetModeCb = NULL; in phLibNfc_SE_SetMode_cb()
745 pLibContext->sSeContext.sSeCallabackInfo.pSEsetModeCtxt = NULL; in phLibNfc_SE_SetMode_cb()