Home
last modified time | relevance | path

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

/Linux-v6.6/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.6/drivers/platform/x86/hp/
Dhp-wmi.c247 static struct platform_profile_handler platform_profile_handler; variable
1175 static int platform_profile_omen_get(struct platform_profile_handler *pprof, in platform_profile_omen_get()
1204 static int platform_profile_omen_set(struct platform_profile_handler *pprof, in platform_profile_omen_set()
1255 static int hp_wmi_platform_profile_get(struct platform_profile_handler *pprof, in hp_wmi_platform_profile_get()
1284 static int hp_wmi_platform_profile_set(struct platform_profile_handler *pprof, in hp_wmi_platform_profile_set()
1325 static int platform_profile_victus_get(struct platform_profile_handler *pprof, in platform_profile_victus_get()
1351 static int platform_profile_victus_set(struct platform_profile_handler *pprof, in platform_profile_victus_set()
1395 platform_profile_handler.profile_get = platform_profile_omen_get; in thermal_profile_setup()
1396 platform_profile_handler.profile_set = platform_profile_omen_set; in thermal_profile_setup()
1398 set_bit(PLATFORM_PROFILE_COOL, platform_profile_handler.choices); in thermal_profile_setup()
[all …]
/Linux-v6.6/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.6/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.6/drivers/platform/x86/amd/pmf/
Dsps.c146 static int amd_pmf_profile_get(struct platform_profile_handler *pprof, in amd_pmf_profile_get()
227 static int amd_pmf_profile_set(struct platform_profile_handler *pprof, in amd_pmf_profile_set()
Dpmf.h168 struct platform_profile_handler pprof;
/Linux-v6.6/drivers/platform/x86/
Dasus-wmi.c280 struct platform_profile_handler platform_profile_handler; member
3514 static int asus_wmi_platform_profile_get(struct platform_profile_handler *pprof, in asus_wmi_platform_profile_get()
3520 asus = container_of(pprof, struct asus_wmi, platform_profile_handler); in asus_wmi_platform_profile_get()
3541 static int asus_wmi_platform_profile_set(struct platform_profile_handler *pprof, in asus_wmi_platform_profile_set()
3547 asus = container_of(pprof, struct asus_wmi, platform_profile_handler); in asus_wmi_platform_profile_set()
3581 asus->platform_profile_handler.profile_get = asus_wmi_platform_profile_get; in platform_profile_setup()
3582 asus->platform_profile_handler.profile_set = asus_wmi_platform_profile_set; in platform_profile_setup()
3584 set_bit(PLATFORM_PROFILE_QUIET, asus->platform_profile_handler.choices); in platform_profile_setup()
3586 asus->platform_profile_handler.choices); in platform_profile_setup()
3588 asus->platform_profile_handler.choices); in platform_profile_setup()
[all …]
Dideapad-laptop.c116 struct platform_profile_handler pprof;
745 static int dytc_profile_get(struct platform_profile_handler *pprof, in dytc_profile_get()
798 static int dytc_profile_set(struct platform_profile_handler *pprof, in dytc_profile_set()
Dthinkpad_acpi.c10274 static int dytc_profile_get(struct platform_profile_handler *pprof, in dytc_profile_get()
10349 static int dytc_profile_set(struct platform_profile_handler *pprof, in dytc_profile_set()
10430 static struct platform_profile_handler dytc_profile = {