/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 | 139 int platform_profile_register(struct platform_profile_handler *pprof) argument 151 if (!pprof || bitmap_empty(pprof->choices, PLATFORM_PROFILE_LAST) || 152 !pprof->profile_set || !pprof->profile_get) { 163 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/surface/ |
H A D | surface_platform_profile.c | 108 static int ssam_platform_profile_get(struct platform_profile_handler *pprof, argument 115 tpd = container_of(pprof, struct ssam_tmp_profile_device, handler); 129 static int ssam_platform_profile_set(struct platform_profile_handler *pprof, argument 135 tpd = container_of(pprof, struct ssam_tmp_profile_device, handler);
|
/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 745 static int dytc_profile_get(struct platform_profile_handler *pprof, argument 748 struct ideapad_dytc_priv *dytc = container_of(pprof, struct ideapad_dytc_priv, pprof); 798 static int dytc_profile_set(struct platform_profile_handler *pprof, argument 801 struct ideapad_dytc_priv *dytc = container_of(pprof, struct ideapad_dytc_priv, pprof); 919 priv->dytc->pprof.profile_get = dytc_profile_get; 920 priv->dytc->pprof.profile_set = dytc_profile_set; 923 set_bit(PLATFORM_PROFILE_LOW_POWER, priv->dytc->pprof [all...] |
H A D | asus-wmi.c | 3530 static int asus_wmi_platform_profile_get(struct platform_profile_handler *pprof, argument 3536 asus = container_of(pprof, struct asus_wmi, platform_profile_handler); 3557 static int asus_wmi_platform_profile_set(struct platform_profile_handler *pprof, argument 3563 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 | 10419 static int dytc_profile_get(struct platform_profile_handler *pprof, argument 10494 static int dytc_profile_set(struct platform_profile_handler *pprof, argument
|
/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
|