/linux-master/include/linux/ |
H A D | platform_profile.h | 31 int (*profile_get)(struct platform_profile_handler *pprof, 33 int (*profile_set)(struct platform_profile_handler *pprof, 37 int platform_profile_register(struct platform_profile_handler *pprof);
|
/linux-master/drivers/acpi/ |
H A D | platform_profile.c | 178 int platform_profile_register(struct platform_profile_handler *pprof) argument 190 if (!pprof || bitmap_empty(pprof->choices, PLATFORM_PROFILE_LAST) || 191 !pprof->profile_set || !pprof->profile_get) { 202 cur_profile = pprof;
|
/linux-master/drivers/platform/x86/amd/pmf/ |
H A D | sps.c | 285 static int amd_pmf_profile_get(struct platform_profile_handler *pprof, argument 288 struct amd_pmf_dev *pmf = container_of(pprof, struct amd_pmf_dev, pprof); 366 static int amd_pmf_profile_set(struct platform_profile_handler *pprof, argument 369 struct amd_pmf_dev *pmf = container_of(pprof, struct amd_pmf_dev, pprof); 408 dev->pprof.profile_get = amd_pmf_profile_get; 409 dev->pprof.profile_set = amd_pmf_profile_set; 412 set_bit(PLATFORM_PROFILE_LOW_POWER, dev->pprof.choices); 413 set_bit(PLATFORM_PROFILE_BALANCED, dev->pprof [all...] |
H A D | pmf.h | 275 struct platform_profile_handler pprof; member in struct:amd_pmf_dev
|
/linux-master/drivers/platform/x86/ |
H A D | inspur_platform_profile.c | 87 static int inspur_platform_profile_set(struct platform_profile_handler *pprof, argument 90 struct inspur_wmi_priv *priv = container_of(pprof, struct inspur_wmi_priv, 135 static int inspur_platform_profile_get(struct platform_profile_handler *pprof, argument 138 struct inspur_wmi_priv *priv = container_of(pprof, struct inspur_wmi_priv,
|
H A D | ideapad-laptop.c | 116 struct platform_profile_handler pprof; member in struct:ideapad_dytc_priv 782 static int dytc_profile_get(struct platform_profile_handler *pprof, argument 785 struct ideapad_dytc_priv *dytc = container_of(pprof, struct ideapad_dytc_priv, pprof); 835 static int dytc_profile_set(struct platform_profile_handler *pprof, argument 838 struct ideapad_dytc_priv *dytc = container_of(pprof, struct ideapad_dytc_priv, pprof); 956 priv->dytc->pprof.profile_get = dytc_profile_get; 957 priv->dytc->pprof.profile_set = dytc_profile_set; 960 set_bit(PLATFORM_PROFILE_LOW_POWER, priv->dytc->pprof [all...] |
H A D | asus-wmi.c | 3725 static int asus_wmi_platform_profile_get(struct platform_profile_handler *pprof, argument 3731 asus = container_of(pprof, struct asus_wmi, platform_profile_handler); 3752 static int asus_wmi_platform_profile_set(struct platform_profile_handler *pprof, argument 3758 asus = container_of(pprof, struct asus_wmi, platform_profile_handler);
|
H A D | acer-wmi.c | 1809 acer_predator_v4_platform_profile_get(struct platform_profile_handler *pprof, argument 1844 acer_predator_v4_platform_profile_set(struct platform_profile_handler *pprof, argument
|
H A D | thinkpad_acpi.c | 10256 static int dytc_profile_get(struct platform_profile_handler *pprof, argument 10331 static int dytc_profile_set(struct platform_profile_handler *pprof, argument
|
/linux-master/drivers/platform/surface/ |
H A D | surface_platform_profile.c | 157 static int ssam_platform_profile_get(struct platform_profile_handler *pprof, argument 164 tpd = container_of(pprof, struct ssam_platform_profile_device, handler); 178 static int ssam_platform_profile_set(struct platform_profile_handler *pprof, argument 184 tpd = container_of(pprof, struct ssam_platform_profile_device, handler);
|
/linux-master/drivers/platform/x86/hp/ |
H A D | hp-wmi.c | 1197 static int platform_profile_omen_get(struct platform_profile_handler *pprof, argument 1248 static int platform_profile_omen_set(struct platform_profile_handler *pprof, argument 1314 static int hp_wmi_platform_profile_get(struct platform_profile_handler *pprof, argument 1343 static int hp_wmi_platform_profile_set(struct platform_profile_handler *pprof, argument 1384 static int platform_profile_victus_get(struct platform_profile_handler *pprof, argument 1410 static int platform_profile_victus_set(struct platform_profile_handler *pprof, argument
|