Lines Matching refs:pprof
113 struct platform_profile_handler pprof; member
774 static int dytc_profile_get(struct platform_profile_handler *pprof, in dytc_profile_get() argument
777 struct ideapad_dytc_priv *dytc = container_of(pprof, struct ideapad_dytc_priv, pprof); in dytc_profile_get()
827 static int dytc_profile_set(struct platform_profile_handler *pprof, in dytc_profile_set() argument
830 struct ideapad_dytc_priv *dytc = container_of(pprof, struct ideapad_dytc_priv, pprof); in dytc_profile_set()
948 priv->dytc->pprof.profile_get = dytc_profile_get; in ideapad_dytc_profile_init()
949 priv->dytc->pprof.profile_set = dytc_profile_set; in ideapad_dytc_profile_init()
952 set_bit(PLATFORM_PROFILE_LOW_POWER, priv->dytc->pprof.choices); in ideapad_dytc_profile_init()
953 set_bit(PLATFORM_PROFILE_BALANCED, priv->dytc->pprof.choices); in ideapad_dytc_profile_init()
954 set_bit(PLATFORM_PROFILE_PERFORMANCE, priv->dytc->pprof.choices); in ideapad_dytc_profile_init()
957 err = platform_profile_register(&priv->dytc->pprof); in ideapad_dytc_profile_init()