Lines Matching refs:pprof
113 struct platform_profile_handler pprof; member
755 static int dytc_profile_get(struct platform_profile_handler *pprof, in dytc_profile_get() argument
758 struct ideapad_dytc_priv *dytc = container_of(pprof, struct ideapad_dytc_priv, pprof); in dytc_profile_get()
808 static int dytc_profile_set(struct platform_profile_handler *pprof, in dytc_profile_set() argument
811 struct ideapad_dytc_priv *dytc = container_of(pprof, struct ideapad_dytc_priv, pprof); in dytc_profile_set()
899 priv->dytc->pprof.profile_get = dytc_profile_get; in ideapad_dytc_profile_init()
900 priv->dytc->pprof.profile_set = dytc_profile_set; in ideapad_dytc_profile_init()
903 set_bit(PLATFORM_PROFILE_LOW_POWER, priv->dytc->pprof.choices); in ideapad_dytc_profile_init()
904 set_bit(PLATFORM_PROFILE_BALANCED, priv->dytc->pprof.choices); in ideapad_dytc_profile_init()
905 set_bit(PLATFORM_PROFILE_PERFORMANCE, priv->dytc->pprof.choices); in ideapad_dytc_profile_init()
908 err = platform_profile_register(&priv->dytc->pprof); in ideapad_dytc_profile_init()