/drivers/platform/x86/amd/pmf/ |
D | sps.c | 91 static int amd_pmf_profile_get(struct platform_profile_handler *pprof, in amd_pmf_profile_get() argument 94 struct amd_pmf_dev *pmf = container_of(pprof, struct amd_pmf_dev, pprof); in amd_pmf_profile_get() 172 static int amd_pmf_profile_set(struct platform_profile_handler *pprof, in amd_pmf_profile_set() argument 175 struct amd_pmf_dev *pmf = container_of(pprof, struct amd_pmf_dev, pprof); in amd_pmf_profile_set() 209 dev->pprof.profile_get = amd_pmf_profile_get; in amd_pmf_init_sps() 210 dev->pprof.profile_set = amd_pmf_profile_set; in amd_pmf_init_sps() 213 set_bit(PLATFORM_PROFILE_LOW_POWER, dev->pprof.choices); in amd_pmf_init_sps() 214 set_bit(PLATFORM_PROFILE_BALANCED, dev->pprof.choices); in amd_pmf_init_sps() 215 set_bit(PLATFORM_PROFILE_PERFORMANCE, dev->pprof.choices); in amd_pmf_init_sps() 218 err = platform_profile_register(&dev->pprof); in amd_pmf_init_sps()
|
D | pmf.h | 168 struct platform_profile_handler pprof; member
|
/drivers/acpi/ |
D | platform_profile.c | 139 int platform_profile_register(struct platform_profile_handler *pprof) in platform_profile_register() argument 151 if (!pprof || bitmap_empty(pprof->choices, PLATFORM_PROFILE_LAST) || in platform_profile_register() 152 !pprof->profile_set || !pprof->profile_get) { in platform_profile_register() 163 cur_profile = pprof; in platform_profile_register()
|
/drivers/platform/surface/ |
D | surface_platform_profile.c | 108 static int ssam_platform_profile_get(struct platform_profile_handler *pprof, in ssam_platform_profile_get() argument 115 tpd = container_of(pprof, struct ssam_tmp_profile_device, handler); in ssam_platform_profile_get() 129 static int ssam_platform_profile_set(struct platform_profile_handler *pprof, in ssam_platform_profile_set() argument 135 tpd = container_of(pprof, struct ssam_tmp_profile_device, handler); in ssam_platform_profile_set()
|
/drivers/platform/x86/ |
D | ideapad-laptop.c | 117 struct platform_profile_handler pprof; member 835 static int dytc_profile_get(struct platform_profile_handler *pprof, in dytc_profile_get() argument 838 struct ideapad_dytc_priv *dytc = container_of(pprof, struct ideapad_dytc_priv, pprof); in dytc_profile_get() 888 static int dytc_profile_set(struct platform_profile_handler *pprof, in dytc_profile_set() argument 891 struct ideapad_dytc_priv *dytc = container_of(pprof, struct ideapad_dytc_priv, pprof); in dytc_profile_set() 1009 priv->dytc->pprof.profile_get = dytc_profile_get; in ideapad_dytc_profile_init() 1010 priv->dytc->pprof.profile_set = dytc_profile_set; in ideapad_dytc_profile_init() 1013 set_bit(PLATFORM_PROFILE_LOW_POWER, priv->dytc->pprof.choices); in ideapad_dytc_profile_init() 1014 set_bit(PLATFORM_PROFILE_BALANCED, priv->dytc->pprof.choices); in ideapad_dytc_profile_init() 1015 set_bit(PLATFORM_PROFILE_PERFORMANCE, priv->dytc->pprof.choices); in ideapad_dytc_profile_init() [all …]
|
D | asus-wmi.c | 2956 static int asus_wmi_platform_profile_get(struct platform_profile_handler *pprof, in asus_wmi_platform_profile_get() argument 2962 asus = container_of(pprof, struct asus_wmi, platform_profile_handler); in asus_wmi_platform_profile_get() 2983 static int asus_wmi_platform_profile_set(struct platform_profile_handler *pprof, in asus_wmi_platform_profile_set() argument 2989 asus = container_of(pprof, struct asus_wmi, platform_profile_handler); in asus_wmi_platform_profile_set()
|
D | thinkpad_acpi.c | 10551 static int dytc_profile_get(struct platform_profile_handler *pprof, in dytc_profile_get() argument 10626 static int dytc_profile_set(struct platform_profile_handler *pprof, in dytc_profile_set() argument
|
/drivers/platform/x86/hp/ |
D | hp-wmi.c | 1109 static int platform_profile_omen_get(struct platform_profile_handler *pprof, in platform_profile_omen_get() argument 1138 static int platform_profile_omen_set(struct platform_profile_handler *pprof, in platform_profile_omen_set() argument 1189 static int hp_wmi_platform_profile_get(struct platform_profile_handler *pprof, in hp_wmi_platform_profile_get() argument 1218 static int hp_wmi_platform_profile_set(struct platform_profile_handler *pprof, in hp_wmi_platform_profile_set() argument
|