Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/drivers/platform/x86/
Dhp-wmi.c227 static struct platform_profile_handler platform_profile_handler; variable
1104 static int platform_profile_omen_get(struct platform_profile_handler *pprof, in platform_profile_omen_get()
1133 static int platform_profile_omen_set(struct platform_profile_handler *pprof, in platform_profile_omen_set()
1184 static int hp_wmi_platform_profile_get(struct platform_profile_handler *pprof, in hp_wmi_platform_profile_get()
1213 static int hp_wmi_platform_profile_set(struct platform_profile_handler *pprof, in hp_wmi_platform_profile_set()
1260 platform_profile_handler.profile_get = platform_profile_omen_get; in thermal_profile_setup()
1261 platform_profile_handler.profile_set = platform_profile_omen_set; in thermal_profile_setup()
1276 platform_profile_handler.profile_get = hp_wmi_platform_profile_get; in thermal_profile_setup()
1277 platform_profile_handler.profile_set = hp_wmi_platform_profile_set; in thermal_profile_setup()
1279 set_bit(PLATFORM_PROFILE_QUIET, platform_profile_handler.choices); in thermal_profile_setup()
[all …]
Dasus-wmi.c253 struct platform_profile_handler platform_profile_handler; member
2934 static int asus_wmi_platform_profile_get(struct platform_profile_handler *pprof, in asus_wmi_platform_profile_get()
2940 asus = container_of(pprof, struct asus_wmi, platform_profile_handler); in asus_wmi_platform_profile_get()
2961 static int asus_wmi_platform_profile_set(struct platform_profile_handler *pprof, in asus_wmi_platform_profile_set()
2967 asus = container_of(pprof, struct asus_wmi, platform_profile_handler); in asus_wmi_platform_profile_set()
3001 asus->platform_profile_handler.profile_get = asus_wmi_platform_profile_get; in platform_profile_setup()
3002 asus->platform_profile_handler.profile_set = asus_wmi_platform_profile_set; in platform_profile_setup()
3004 set_bit(PLATFORM_PROFILE_QUIET, asus->platform_profile_handler.choices); in platform_profile_setup()
3006 asus->platform_profile_handler.choices); in platform_profile_setup()
3008 asus->platform_profile_handler.choices); in platform_profile_setup()
[all …]
Dideapad-laptop.c113 struct platform_profile_handler pprof;
774 static int dytc_profile_get(struct platform_profile_handler *pprof, in dytc_profile_get()
827 static int dytc_profile_set(struct platform_profile_handler *pprof, in dytc_profile_set()
Dthinkpad_acpi.c10385 static int dytc_profile_get(struct platform_profile_handler *pprof, in dytc_profile_get()
10460 static int dytc_profile_set(struct platform_profile_handler *pprof, in dytc_profile_set()
10536 static struct platform_profile_handler dytc_profile = {
/Linux-v6.1/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-v6.1/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()
/Linux-v6.1/drivers/platform/x86/amd/pmf/
Dsps.c73 static int amd_pmf_profile_get(struct platform_profile_handler *pprof, in amd_pmf_profile_get()
104 static int amd_pmf_profile_set(struct platform_profile_handler *pprof, in amd_pmf_profile_set()
Dpmf.h159 struct platform_profile_handler pprof;