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()
473 phLibNfc_eSE_ActivationMode originalMode = pLibContext->sSeContext.eActivatedMode; in phLibNfc_SE_SetMode()
482 … pLibContext->sCardEmulCfg.config.uiccEmuCfg.enableUicc = TRUE; in phLibNfc_SE_SetMode()
488 … pLibContext->sCardEmulCfg.config.smartMxCfg.enableEmulation = TRUE; in phLibNfc_SE_SetMode()
496 if(pLibContext->sSeContext.eActivatedMode != phLibNfc_SE_ActModeWired) in phLibNfc_SE_SetMode()
498 pLibContext->sSeContext.eActivatedMode = phLibNfc_SE_ActModeVirtual; in phLibNfc_SE_SetMode()
500 pLibContext->sCardEmulCfg.emuType = eEmulationType; in phLibNfc_SE_SetMode()
502 pLibContext->psHwReference, in phLibNfc_SE_SetMode()
504 (phHal_uConfig_t*)&pLibContext->sCardEmulCfg, in phLibNfc_SE_SetMode()
506 pLibContext); in phLibNfc_SE_SetMode()
516 pLibContext->sCardEmulCfg.config.smartMxCfg.enableEmulation = TRUE; in phLibNfc_SE_SetMode()
517 pLibContext->sSeContext.eActivatedMode = phLibNfc_SE_ActModeVirtualVolatile; in phLibNfc_SE_SetMode()
520 pLibContext->psHwReference, in phLibNfc_SE_SetMode()
523 pLibContext in phLibNfc_SE_SetMode()
530 pLibContext->sCardEmulCfg.config.uiccEmuCfg.enableUicc = TRUE; in phLibNfc_SE_SetMode()
531 pLibContext->sSeContext.eActivatedMode = phLibNfc_SE_ActModeVirtualVolatile; in phLibNfc_SE_SetMode()
534 pLibContext->psHwReference, in phLibNfc_SE_SetMode()
537 pLibContext in phLibNfc_SE_SetMode()
551 pLibContext->psHwReference, in phLibNfc_SE_SetMode()
554 pLibContext in phLibNfc_SE_SetMode()
560 pLibContext->psHwReference, in phLibNfc_SE_SetMode()
563 pLibContext in phLibNfc_SE_SetMode()
577 if(pLibContext->CBInfo.pClientNtfRegRespCB!=NULL) in phLibNfc_SE_SetMode()
580 pLibContext->sCardEmulCfg.config.smartMxCfg.enableEmulation = FALSE; in phLibNfc_SE_SetMode()
581 pLibContext->sSeContext.eActivatedMode = phLibNfc_SE_ActModeWired; in phLibNfc_SE_SetMode()
584 pLibContext->psHwReference, in phLibNfc_SE_SetMode()
587 pLibContext in phLibNfc_SE_SetMode()
610 pLibContext->sCardEmulCfg.config.uiccEmuCfg.enableUicc = FALSE; in phLibNfc_SE_SetMode()
617 pLibContext->sCardEmulCfg.config.smartMxCfg.enableEmulation=FALSE; in phLibNfc_SE_SetMode()
626 pLibContext->sCardEmulCfg.emuType = eEmulationType; in phLibNfc_SE_SetMode()
628 if(pLibContext->sSeContext.eActivatedMode != phLibNfc_SE_ActModeWired) in phLibNfc_SE_SetMode()
630 pLibContext->sSeContext.eActivatedMode = phLibNfc_SE_ActModeOff; in phLibNfc_SE_SetMode()
633 Status = phHal4Nfc_ConfigParameters(pLibContext->psHwReference, in phLibNfc_SE_SetMode()
635 … (phHal_uConfig_t*)&pLibContext->sCardEmulCfg, in phLibNfc_SE_SetMode()
637 pLibContext); in phLibNfc_SE_SetMode()
648 pLibContext->sSeContext.hSetemp=hSE_Handle; in phLibNfc_SE_SetMode()
649 pLibContext->status.GenCb_pending_status = TRUE; in phLibNfc_SE_SetMode()
650 pLibContext->sSeContext.sSeCallabackInfo.pSEsetModeCb = pSE_SetMode_Rsp_cb; in phLibNfc_SE_SetMode()
651 pLibContext->sSeContext.sSeCallabackInfo.pSEsetModeCtxt=pContext; in phLibNfc_SE_SetMode()
660 pLibContext->sSeContext.eActivatedMode = originalMode; in phLibNfc_SE_SetMode()
678 pphLibNfc_LibContext_t pLibContext=gpphLibContext; in phLibNfc_SE_SetMode_cb() local
694 hSeHandle = pLibContext->sSeContext.hSetemp; in phLibNfc_SE_SetMode_cb()
698 if(TRUE==pLibContext->sCardEmulCfg.config.uiccEmuCfg.enableUicc) in phLibNfc_SE_SetMode_cb()
701 pLibContext->sSeContext.uUiccActivate = TRUE; in phLibNfc_SE_SetMode_cb()
707 pLibContext->sSeContext.uUiccActivate = FALSE; in phLibNfc_SE_SetMode_cb()
712 TempState = pLibContext->sSeContext.uUiccActivate; in phLibNfc_SE_SetMode_cb()
716 if(TRUE==pLibContext->sCardEmulCfg.config.smartMxCfg.enableEmulation) in phLibNfc_SE_SetMode_cb()
719 pLibContext->sSeContext.uSmxActivate = TRUE; in phLibNfc_SE_SetMode_cb()
726 pLibContext->sSeContext.uSmxActivate = FALSE; in phLibNfc_SE_SetMode_cb()
731 TempState = pLibContext->sSeContext.uSmxActivate; in phLibNfc_SE_SetMode_cb()
742 pLibContext->status.GenCb_pending_status = FALSE; in phLibNfc_SE_SetMode_cb()
745 pUpperLayerCb = pLibContext->sSeContext.sSeCallabackInfo.pSEsetModeCb; in phLibNfc_SE_SetMode_cb()
746 pUpperContext = pLibContext->sSeContext.sSeCallabackInfo.pSEsetModeCtxt; in phLibNfc_SE_SetMode_cb()
747 pLibContext->sSeContext.sSeCallabackInfo.pSEsetModeCb = NULL; in phLibNfc_SE_SetMode_cb()
748 pLibContext->sSeContext.sSeCallabackInfo.pSEsetModeCtxt = NULL; in phLibNfc_SE_SetMode_cb()