Home
last modified time | relevance | path

Searched refs:pprof (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/platform/x86/amd/pmf/
H A Dsps.c146 static int amd_pmf_profile_get(struct platform_profile_handler *pprof, in amd_pmf_profile_get() argument
149 struct amd_pmf_dev *pmf = container_of(pprof, struct amd_pmf_dev, pprof); in amd_pmf_profile_get()
227 static int amd_pmf_profile_set(struct platform_profile_handler *pprof, in amd_pmf_profile_set() argument
230 struct amd_pmf_dev *pmf = container_of(pprof, struct amd_pmf_dev, pprof); in amd_pmf_profile_set()
264 dev->pprof.profile_get = amd_pmf_profile_get; in amd_pmf_init_sps()
265 dev->pprof.profile_set = amd_pmf_profile_set; in amd_pmf_init_sps()
268 set_bit(PLATFORM_PROFILE_LOW_POWER, dev->pprof.choices); in amd_pmf_init_sps()
269 set_bit(PLATFORM_PROFILE_BALANCED, dev->pprof.choices); in amd_pmf_init_sps()
270 set_bit(PLATFORM_PROFILE_PERFORMANCE, dev->pprof.choices); in amd_pmf_init_sps()
273 err = platform_profile_register(&dev->pprof); in amd_pmf_init_sps()
H A Dpmf.h168 struct platform_profile_handler pprof; member
/openbmc/linux/drivers/acpi/
H A Dplatform_profile.c139 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()
/openbmc/linux/include/linux/
H A Dplatform_profile.h31 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);
/openbmc/linux/drivers/platform/surface/
H A Dsurface_platform_profile.c108 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()
/openbmc/linux/drivers/platform/x86/
H A Dideapad-laptop.c116 struct platform_profile_handler pprof; member
745 static int dytc_profile_get(struct platform_profile_handler *pprof, in dytc_profile_get() argument
748 struct ideapad_dytc_priv *dytc = container_of(pprof, struct ideapad_dytc_priv, pprof); in dytc_profile_get()
798 static int dytc_profile_set(struct platform_profile_handler *pprof, in dytc_profile_set() argument
801 struct ideapad_dytc_priv *dytc = container_of(pprof, struct ideapad_dytc_priv, pprof); in dytc_profile_set()
919 priv->dytc->pprof.profile_get = dytc_profile_get; in ideapad_dytc_profile_init()
920 priv->dytc->pprof.profile_set = dytc_profile_set; in ideapad_dytc_profile_init()
923 set_bit(PLATFORM_PROFILE_LOW_POWER, priv->dytc->pprof.choices); in ideapad_dytc_profile_init()
924 set_bit(PLATFORM_PROFILE_BALANCED, priv->dytc->pprof.choices); in ideapad_dytc_profile_init()
925 set_bit(PLATFORM_PROFILE_PERFORMANCE, priv->dytc->pprof.choices); in ideapad_dytc_profile_init()
[all …]
H A Dasus-wmi.c3508 static int asus_wmi_platform_profile_get(struct platform_profile_handler *pprof, in asus_wmi_platform_profile_get() argument
3514 asus = container_of(pprof, struct asus_wmi, platform_profile_handler); in asus_wmi_platform_profile_get()
3534 static int asus_wmi_platform_profile_set(struct platform_profile_handler *pprof, in asus_wmi_platform_profile_set() argument
3540 asus = container_of(pprof, struct asus_wmi, platform_profile_handler); in asus_wmi_platform_profile_set()
H A Dthinkpad_acpi.c10371 static int dytc_profile_get(struct platform_profile_handler *pprof, in dytc_profile_get() argument
10446 static int dytc_profile_set(struct platform_profile_handler *pprof, in dytc_profile_set() argument
/openbmc/linux/drivers/platform/x86/hp/
H A Dhp-wmi.c1175 static int platform_profile_omen_get(struct platform_profile_handler *pprof, in platform_profile_omen_get() argument
1204 static int platform_profile_omen_set(struct platform_profile_handler *pprof, in platform_profile_omen_set() argument
1255 static int hp_wmi_platform_profile_get(struct platform_profile_handler *pprof, in hp_wmi_platform_profile_get() argument
1284 static int hp_wmi_platform_profile_set(struct platform_profile_handler *pprof, in hp_wmi_platform_profile_set() argument
1325 static int platform_profile_victus_get(struct platform_profile_handler *pprof, in platform_profile_victus_get() argument
1351 static int platform_profile_victus_set(struct platform_profile_handler *pprof, in platform_profile_victus_set() argument
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/gperftools/
H A Dgperftools_2.15.bb53 # pprof tool requires Getopt::long and POSIX perl5 modules.