Lines Matching full:profile
3 /* Platform profile sysfs interface */
56 enum platform_profile_option profile = PLATFORM_PROFILE_BALANCED; in platform_profile_show() local
68 err = cur_profile->profile_get(cur_profile, &profile); in platform_profile_show()
73 /* Check that profile is valid index */ in platform_profile_show()
74 if (WARN_ON((profile < 0) || (profile >= ARRAY_SIZE(profile_names)))) in platform_profile_show()
77 return sysfs_emit(buf, "%s\n", profile_names[profile]); in platform_profile_show()
95 /* Scan for a matching profile */ in platform_profile_store()
102 /* Check that platform supports this profile choice */ in platform_profile_store()
141 enum platform_profile_option profile; in platform_profile_cycle() local
154 err = cur_profile->profile_get(cur_profile, &profile); in platform_profile_cycle()
161 profile + 1); in platform_profile_cycle()
183 /* We can only have one active profile */ in platform_profile_register()
189 /* Sanity check the profile handler field are set */ in platform_profile_register()
220 MODULE_DESCRIPTION("ACPI platform profile sysfs interface");