Lines Matching defs:profile
164 "Enable DYTC version 4 platform-profile support. "
668 * DYTC Platform profile
703 static int convert_dytc_to_profile(int dytcmode, enum platform_profile_option *profile)
707 *profile = PLATFORM_PROFILE_LOW_POWER;
710 *profile = PLATFORM_PROFILE_BALANCED;
713 *profile = PLATFORM_PROFILE_PERFORMANCE;
722 static int convert_profile_to_dytc(enum platform_profile_option profile, int *perfmode)
724 switch (profile) {
734 default: /* Unknown profile */
743 * handler. Returns current platform profile.
746 enum platform_profile_option *profile)
750 *profile = dytc->current_profile;
796 * handler. Sets current platform profile.
799 enum platform_profile_option profile)
810 if (profile == PLATFORM_PROFILE_BALANCED) {
818 err = convert_profile_to_dytc(profile, &perfmode);
829 /* Success - update current profile */
830 dytc->current_profile = profile;
840 enum platform_profile_option profile;
852 if (convert_dytc_to_profile(perfmode, &profile))
855 if (profile != priv->dytc->current_profile) {
856 priv->dytc->current_profile = profile;
1096 /* Sound profile switch */