Lines Matching defs:profile
3 /* Platform profile sysfs interface */
56 enum platform_profile_option profile = PLATFORM_PROFILE_BALANCED;
68 err = cur_profile->profile_get(cur_profile, &profile);
73 /* Check that profile is valid index */
74 if (WARN_ON((profile < 0) || (profile >= ARRAY_SIZE(profile_names))))
77 return sysfs_emit(buf, "%s\n", profile_names[profile]);
95 /* Scan for a matching profile */
102 /* Check that platform supports this profile choice */
144 /* We can only have one active profile */
150 /* Sanity check the profile handler field are set */