Lines Matching refs:pprof
117 struct platform_profile_handler pprof; member
841 static int dytc_profile_get(struct platform_profile_handler *pprof, in dytc_profile_get() argument
844 struct ideapad_dytc_priv *dytc = container_of(pprof, struct ideapad_dytc_priv, pprof); in dytc_profile_get()
894 static int dytc_profile_set(struct platform_profile_handler *pprof, in dytc_profile_set() argument
897 struct ideapad_dytc_priv *dytc = container_of(pprof, struct ideapad_dytc_priv, pprof); in dytc_profile_set()
1015 priv->dytc->pprof.profile_get = dytc_profile_get; in ideapad_dytc_profile_init()
1016 priv->dytc->pprof.profile_set = dytc_profile_set; in ideapad_dytc_profile_init()
1019 set_bit(PLATFORM_PROFILE_LOW_POWER, priv->dytc->pprof.choices); in ideapad_dytc_profile_init()
1020 set_bit(PLATFORM_PROFILE_BALANCED, priv->dytc->pprof.choices); in ideapad_dytc_profile_init()
1021 set_bit(PLATFORM_PROFILE_PERFORMANCE, priv->dytc->pprof.choices); in ideapad_dytc_profile_init()
1024 err = platform_profile_register(&priv->dytc->pprof); in ideapad_dytc_profile_init()