Lines Matching refs:pprof
116 struct platform_profile_handler pprof;
745 static int dytc_profile_get(struct platform_profile_handler *pprof,
748 struct ideapad_dytc_priv *dytc = container_of(pprof, struct ideapad_dytc_priv, pprof);
798 static int dytc_profile_set(struct platform_profile_handler *pprof,
801 struct ideapad_dytc_priv *dytc = container_of(pprof, struct ideapad_dytc_priv, pprof);
919 priv->dytc->pprof.profile_get = dytc_profile_get;
920 priv->dytc->pprof.profile_set = dytc_profile_set;
923 set_bit(PLATFORM_PROFILE_LOW_POWER, priv->dytc->pprof.choices);
924 set_bit(PLATFORM_PROFILE_BALANCED, priv->dytc->pprof.choices);
925 set_bit(PLATFORM_PROFILE_PERFORMANCE, priv->dytc->pprof.choices);
928 err = platform_profile_register(&priv->dytc->pprof);