Lines Matching refs:pLibContext
89 pphLibNfc_LibContext_t pLibContext=(pphLibNfc_LibContext_t)gpphLibContext;
111 pLibContext->psHwReference,
114 (void*)pLibContext);
117 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerNtfCb = pSE_NotificationCb;
118 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerCtxt=pContext;
136 pphLibNfc_LibContext_t pLibContext=(pphLibNfc_LibContext_t)context;
141 if(pLibContext != gpphLibContext)
199 (*pLibContext->sSeContext.sSeCallabackInfo.pSeListenerNtfCb)(
200 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerCtxt,
217 (*pLibContext->sSeContext.sSeCallabackInfo.pSeListenerNtfCb)(
218 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerCtxt,
232 (*pLibContext->sSeContext.sSeCallabackInfo.pSeListenerNtfCb)(
233 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerCtxt,
243 (*pLibContext->sSeContext.sSeCallabackInfo.pSeListenerNtfCb)(
244 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerCtxt,
254 (*pLibContext->sSeContext.sSeCallabackInfo.pSeListenerNtfCb)(
255 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerCtxt,
264 (*pLibContext->sSeContext.sSeCallabackInfo.pSeListenerNtfCb)(
265 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerCtxt,
274 (*pLibContext->sSeContext.sSeCallabackInfo.pSeListenerNtfCb)(
275 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerCtxt,
284 (*pLibContext->sSeContext.sSeCallabackInfo.pSeListenerNtfCb)(
285 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerCtxt,
294 (*pLibContext->sSeContext.sSeCallabackInfo.pSeListenerNtfCb)(
295 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerCtxt,
323 pphLibNfc_LibContext_t pLibContext=(pphLibNfc_LibContext_t)gpphLibContext;
341 pLibContext->psHwReference,
343 pLibContext);
349 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerNtfCb=NULL;
350 pLibContext->sSeContext.sSeCallabackInfo.pSeListenerCtxt=NULL;
449 pphLibNfc_LibContext_t pLibContext=(pphLibNfc_LibContext_t)gpphLibContext;
465 else if((pLibContext->status.GenCb_pending_status == TRUE)
466 ||(NULL!=pLibContext->sSeContext.sSeCallabackInfo.pSEsetModeCb))
473 phLibNfc_eSE_ActivationMode originalMode = pLibContext->sSeContext.eActivatedMode;
482 pLibContext->sCardEmulCfg.config.uiccEmuCfg.enableUicc = TRUE;
488 pLibContext->sCardEmulCfg.config.smartMxCfg.enableEmulation = TRUE;
496 if(pLibContext->sSeContext.eActivatedMode != phLibNfc_SE_ActModeWired)
498 pLibContext->sSeContext.eActivatedMode = phLibNfc_SE_ActModeVirtual;
500 pLibContext->sCardEmulCfg.emuType = eEmulationType;
502 pLibContext->psHwReference,
504 (phHal_uConfig_t*)&pLibContext->sCardEmulCfg,
506 pLibContext);
516 pLibContext->sCardEmulCfg.config.smartMxCfg.enableEmulation = TRUE;
517 pLibContext->sSeContext.eActivatedMode = phLibNfc_SE_ActModeVirtualVolatile;
520 pLibContext->psHwReference,
523 pLibContext
530 pLibContext->sCardEmulCfg.config.uiccEmuCfg.enableUicc = TRUE;
531 pLibContext->sSeContext.eActivatedMode = phLibNfc_SE_ActModeVirtualVolatile;
534 pLibContext->psHwReference,
537 pLibContext
551 pLibContext->psHwReference,
554 pLibContext
560 pLibContext->psHwReference,
563 pLibContext
577 if(pLibContext->CBInfo.pClientNtfRegRespCB!=NULL)
580 pLibContext->sCardEmulCfg.config.smartMxCfg.enableEmulation = FALSE;
581 pLibContext->sSeContext.eActivatedMode = phLibNfc_SE_ActModeWired;
584 pLibContext->psHwReference,
587 pLibContext
610 pLibContext->sCardEmulCfg.config.uiccEmuCfg.enableUicc = FALSE;
617 pLibContext->sCardEmulCfg.config.smartMxCfg.enableEmulation=FALSE;
626 pLibContext->sCardEmulCfg.emuType = eEmulationType;
628 if(pLibContext->sSeContext.eActivatedMode != phLibNfc_SE_ActModeWired)
630 pLibContext->sSeContext.eActivatedMode = phLibNfc_SE_ActModeOff;
633 Status = phHal4Nfc_ConfigParameters(pLibContext->psHwReference,
635 (phHal_uConfig_t*)&pLibContext->sCardEmulCfg,
637 pLibContext);
648 pLibContext->sSeContext.hSetemp=hSE_Handle;
649 pLibContext->status.GenCb_pending_status = TRUE;
650 pLibContext->sSeContext.sSeCallabackInfo.pSEsetModeCb = pSE_SetMode_Rsp_cb;
651 pLibContext->sSeContext.sSeCallabackInfo.pSEsetModeCtxt=pContext;
660 pLibContext->sSeContext.eActivatedMode = originalMode;
678 pphLibNfc_LibContext_t pLibContext=gpphLibContext;
694 hSeHandle = pLibContext->sSeContext.hSetemp;
698 if(TRUE==pLibContext->sCardEmulCfg.config.uiccEmuCfg.enableUicc)
701 pLibContext->sSeContext.uUiccActivate = TRUE;
707 pLibContext->sSeContext.uUiccActivate = FALSE;
712 TempState = pLibContext->sSeContext.uUiccActivate;
716 if(TRUE==pLibContext->sCardEmulCfg.config.smartMxCfg.enableEmulation)
719 pLibContext->sSeContext.uSmxActivate = TRUE;
726 pLibContext->sSeContext.uSmxActivate = FALSE;
731 TempState = pLibContext->sSeContext.uSmxActivate;
742 pLibContext->status.GenCb_pending_status = FALSE;
745 pUpperLayerCb = pLibContext->sSeContext.sSeCallabackInfo.pSEsetModeCb;
746 pUpperContext = pLibContext->sSeContext.sSeCallabackInfo.pSEsetModeCtxt;
747 pLibContext->sSeContext.sSeCallabackInfo.pSEsetModeCb = NULL;
748 pLibContext->sSeContext.sSeCallabackInfo.pSEsetModeCtxt = NULL;