Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A 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-6.3-rc2/drivers/platform/x86/hp/
A Dhp-wmi.c232 static struct platform_profile_handler platform_profile_handler; variable
1110 static int platform_profile_omen_get(struct platform_profile_handler *pprof, in platform_profile_omen_get()
1266 platform_profile_handler.profile_get = platform_profile_omen_get; in thermal_profile_setup()
1267 platform_profile_handler.profile_set = platform_profile_omen_set; in thermal_profile_setup()
1282 platform_profile_handler.profile_get = hp_wmi_platform_profile_get; in thermal_profile_setup()
1283 platform_profile_handler.profile_set = hp_wmi_platform_profile_set; in thermal_profile_setup()
1285 set_bit(PLATFORM_PROFILE_QUIET, platform_profile_handler.choices); in thermal_profile_setup()
1288 set_bit(PLATFORM_PROFILE_COOL, platform_profile_handler.choices); in thermal_profile_setup()
1289 set_bit(PLATFORM_PROFILE_BALANCED, platform_profile_handler.choices); in thermal_profile_setup()
1290 set_bit(PLATFORM_PROFILE_PERFORMANCE, platform_profile_handler.choices); in thermal_profile_setup()
[all …]
/linux-6.3-rc2/drivers/platform/surface/
A 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-6.3-rc2/drivers/acpi/
A Dplatform_profile.c12 static struct platform_profile_handler *cur_profile;
139 int platform_profile_register(struct platform_profile_handler *pprof) in platform_profile_register()
/linux-6.3-rc2/drivers/platform/x86/amd/pmf/
A Dsps.c91 static int amd_pmf_profile_get(struct platform_profile_handler *pprof, in amd_pmf_profile_get()
122 static int amd_pmf_profile_set(struct platform_profile_handler *pprof, in amd_pmf_profile_set()
A Dpmf.h159 struct platform_profile_handler pprof;
/linux-6.3-rc2/drivers/platform/x86/
A Dasus-wmi.c254 struct platform_profile_handler platform_profile_handler; member
2946 static int asus_wmi_platform_profile_get(struct platform_profile_handler *pprof, in asus_wmi_platform_profile_get()
2952 asus = container_of(pprof, struct asus_wmi, platform_profile_handler); in asus_wmi_platform_profile_get()
2973 static int asus_wmi_platform_profile_set(struct platform_profile_handler *pprof, in asus_wmi_platform_profile_set()
2979 asus = container_of(pprof, struct asus_wmi, platform_profile_handler); in asus_wmi_platform_profile_set()
3013 asus->platform_profile_handler.profile_get = asus_wmi_platform_profile_get; in platform_profile_setup()
3014 asus->platform_profile_handler.profile_set = asus_wmi_platform_profile_set; in platform_profile_setup()
3016 set_bit(PLATFORM_PROFILE_QUIET, asus->platform_profile_handler.choices); in platform_profile_setup()
3018 asus->platform_profile_handler.choices); in platform_profile_setup()
3020 asus->platform_profile_handler.choices); in platform_profile_setup()
[all …]
A Dideapad-laptop.c117 struct platform_profile_handler pprof;
841 static int dytc_profile_get(struct platform_profile_handler *pprof, in dytc_profile_get()
894 static int dytc_profile_set(struct platform_profile_handler *pprof, in dytc_profile_set()
A Dthinkpad_acpi.c10391 static int dytc_profile_get(struct platform_profile_handler *pprof, in dytc_profile_get()
10466 static int dytc_profile_set(struct platform_profile_handler *pprof, in dytc_profile_set()
10545 static struct platform_profile_handler dytc_profile = {

Completed in 46 milliseconds