Home
last modified time | relevance | path

Searched refs:platform_profile_handler (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.15/include/linux/
Dplatform_profile.h29 struct platform_profile_handler { struct
31 int (*profile_get)(struct platform_profile_handler *pprof, argument
33 int (*profile_set)(struct platform_profile_handler *pprof, argument
37 int platform_profile_register(struct platform_profile_handler *pprof);
/Linux-v5.15/drivers/platform/surface/
Dsurface_platform_profile.c32 struct platform_profile_handler handler;
108 static int ssam_platform_profile_get(struct platform_profile_handler *pprof, in ssam_platform_profile_get()
129 static int ssam_platform_profile_set(struct platform_profile_handler *pprof, in ssam_platform_profile_set()
/Linux-v5.15/drivers/platform/x86/
Dhp-wmi.c169 static struct platform_profile_handler platform_profile_handler; variable
892 static int platform_profile_get(struct platform_profile_handler *pprof, in platform_profile_get()
918 static int platform_profile_set(struct platform_profile_handler *pprof, in platform_profile_set()
960 platform_profile_handler.profile_get = platform_profile_get, in thermal_profile_setup()
961 platform_profile_handler.profile_set = platform_profile_set, in thermal_profile_setup()
963 set_bit(PLATFORM_PROFILE_COOL, platform_profile_handler.choices); in thermal_profile_setup()
964 set_bit(PLATFORM_PROFILE_BALANCED, platform_profile_handler.choices); in thermal_profile_setup()
965 set_bit(PLATFORM_PROFILE_PERFORMANCE, platform_profile_handler.choices); in thermal_profile_setup()
967 err = platform_profile_register(&platform_profile_handler); in thermal_profile_setup()
Dasus-wmi.c223 struct platform_profile_handler platform_profile_handler; member
2172 static int platform_profile_get(struct platform_profile_handler *pprof, in platform_profile_get()
2178 asus = container_of(pprof, struct asus_wmi, platform_profile_handler); in platform_profile_get()
2199 static int platform_profile_set(struct platform_profile_handler *pprof, in platform_profile_set()
2205 asus = container_of(pprof, struct asus_wmi, platform_profile_handler); in platform_profile_set()
2239 asus->platform_profile_handler.profile_get = platform_profile_get; in platform_profile_setup()
2240 asus->platform_profile_handler.profile_set = platform_profile_set; in platform_profile_setup()
2242 set_bit(PLATFORM_PROFILE_QUIET, asus->platform_profile_handler.choices); in platform_profile_setup()
2244 asus->platform_profile_handler.choices); in platform_profile_setup()
2246 asus->platform_profile_handler.choices); in platform_profile_setup()
[all …]
Dideapad-laptop.c113 struct platform_profile_handler pprof;
755 static int dytc_profile_get(struct platform_profile_handler *pprof, in dytc_profile_get()
808 static int dytc_profile_set(struct platform_profile_handler *pprof, in dytc_profile_set()
Dthinkpad_acpi.c10191 static int dytc_profile_get(struct platform_profile_handler *pprof, in dytc_profile_get()
10242 static int dytc_profile_set(struct platform_profile_handler *pprof, in dytc_profile_set()
10307 static struct platform_profile_handler dytc_profile = {
/Linux-v5.15/drivers/acpi/
Dplatform_profile.c12 static struct platform_profile_handler *cur_profile;
139 int platform_profile_register(struct platform_profile_handler *pprof) in platform_profile_register()