Searched refs:pprof (Results 1 – 6 of 6) sorted by relevance
/drivers/acpi/ |
D | platform_profile.c | 139 int platform_profile_register(struct platform_profile_handler *pprof) in platform_profile_register() argument 151 if (!pprof || bitmap_empty(pprof->choices, PLATFORM_PROFILE_LAST) || in platform_profile_register() 152 !pprof->profile_set || !pprof->profile_get) { in platform_profile_register() 163 cur_profile = pprof; in platform_profile_register()
|
/drivers/platform/surface/ |
D | surface_platform_profile.c | 108 static int ssam_platform_profile_get(struct platform_profile_handler *pprof, in ssam_platform_profile_get() argument 115 tpd = container_of(pprof, struct ssam_tmp_profile_device, handler); in ssam_platform_profile_get() 129 static int ssam_platform_profile_set(struct platform_profile_handler *pprof, in ssam_platform_profile_set() argument 135 tpd = container_of(pprof, struct ssam_tmp_profile_device, handler); in ssam_platform_profile_set()
|
/drivers/platform/x86/ |
D | ideapad-laptop.c | 113 struct platform_profile_handler pprof; member 756 static int dytc_profile_get(struct platform_profile_handler *pprof, in dytc_profile_get() argument 759 struct ideapad_dytc_priv *dytc = container_of(pprof, struct ideapad_dytc_priv, pprof); in dytc_profile_get() 809 static int dytc_profile_set(struct platform_profile_handler *pprof, in dytc_profile_set() argument 812 struct ideapad_dytc_priv *dytc = container_of(pprof, struct ideapad_dytc_priv, pprof); in dytc_profile_set() 900 priv->dytc->pprof.profile_get = dytc_profile_get; in ideapad_dytc_profile_init() 901 priv->dytc->pprof.profile_set = dytc_profile_set; in ideapad_dytc_profile_init() 904 set_bit(PLATFORM_PROFILE_LOW_POWER, priv->dytc->pprof.choices); in ideapad_dytc_profile_init() 905 set_bit(PLATFORM_PROFILE_BALANCED, priv->dytc->pprof.choices); in ideapad_dytc_profile_init() 906 set_bit(PLATFORM_PROFILE_PERFORMANCE, priv->dytc->pprof.choices); in ideapad_dytc_profile_init() [all …]
|
D | asus-wmi.c | 2197 static int platform_profile_get(struct platform_profile_handler *pprof, in platform_profile_get() argument 2203 asus = container_of(pprof, struct asus_wmi, platform_profile_handler); in platform_profile_get() 2224 static int platform_profile_set(struct platform_profile_handler *pprof, in platform_profile_set() argument 2230 asus = container_of(pprof, struct asus_wmi, platform_profile_handler); in platform_profile_set()
|
D | thinkpad_acpi.c | 10181 static int dytc_profile_get(struct platform_profile_handler *pprof, in dytc_profile_get() argument 10232 static int dytc_profile_set(struct platform_profile_handler *pprof, in dytc_profile_set() argument
|
/drivers/platform/x86/hp/ |
D | hp-wmi.c | 901 static int platform_profile_get(struct platform_profile_handler *pprof, in platform_profile_get() argument 927 static int platform_profile_set(struct platform_profile_handler *pprof, in platform_profile_set() argument
|