Home
last modified time | relevance | path

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

/linux/drivers/acpi/
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()
/linux/include/linux/
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);
/linux/drivers/platform/surface/
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()
/linux/drivers/platform/x86/
A Dideapad-laptop.c113 struct platform_profile_handler pprof; member
755 static int dytc_profile_get(struct platform_profile_handler *pprof, in dytc_profile_get() argument
758 struct ideapad_dytc_priv *dytc = container_of(pprof, struct ideapad_dytc_priv, pprof); in dytc_profile_get()
808 static int dytc_profile_set(struct platform_profile_handler *pprof, in dytc_profile_set() argument
811 struct ideapad_dytc_priv *dytc = container_of(pprof, struct ideapad_dytc_priv, pprof); in dytc_profile_set()
920 priv->dytc->pprof.profile_get = dytc_profile_get; in ideapad_dytc_profile_init()
921 priv->dytc->pprof.profile_set = dytc_profile_set; in ideapad_dytc_profile_init()
924 set_bit(PLATFORM_PROFILE_LOW_POWER, priv->dytc->pprof.choices); in ideapad_dytc_profile_init()
925 set_bit(PLATFORM_PROFILE_BALANCED, priv->dytc->pprof.choices); in ideapad_dytc_profile_init()
926 set_bit(PLATFORM_PROFILE_PERFORMANCE, priv->dytc->pprof.choices); in ideapad_dytc_profile_init()
[all …]
A Dhp-wmi.c1001 static int platform_profile_omen_get(struct platform_profile_handler *pprof, in platform_profile_omen_get() argument
1027 static int platform_profile_omen_set(struct platform_profile_handler *pprof, in platform_profile_omen_set() argument
1064 static int hp_wmi_platform_profile_get(struct platform_profile_handler *pprof, in hp_wmi_platform_profile_get() argument
1090 static int hp_wmi_platform_profile_set(struct platform_profile_handler *pprof, in hp_wmi_platform_profile_set() argument
A Dasus-wmi.c2172 static int asus_wmi_platform_profile_get(struct platform_profile_handler *pprof, in asus_wmi_platform_profile_get() argument
2178 asus = container_of(pprof, struct asus_wmi, platform_profile_handler); in asus_wmi_platform_profile_get()
2199 static int asus_wmi_platform_profile_set(struct platform_profile_handler *pprof, in asus_wmi_platform_profile_set() argument
2205 asus = container_of(pprof, struct asus_wmi, platform_profile_handler); in asus_wmi_platform_profile_set()
A Dthinkpad_acpi.c10095 static int dytc_profile_get(struct platform_profile_handler *pprof, in dytc_profile_get() argument
10146 static int dytc_profile_set(struct platform_profile_handler *pprof, in dytc_profile_set() argument

Completed in 42 milliseconds