Lines Matching refs:profile
169 "Enable DYTC version 4 platform-profile support. "
705 * DYTC Platform profile
740 static int convert_dytc_to_profile(int dytcmode, enum platform_profile_option *profile)
744 *profile = PLATFORM_PROFILE_LOW_POWER;
747 *profile = PLATFORM_PROFILE_BALANCED;
750 *profile = PLATFORM_PROFILE_PERFORMANCE;
759 static int convert_profile_to_dytc(enum platform_profile_option profile, int *perfmode)
761 switch (profile) {
771 default: /* Unknown profile */
780 * handler. Returns current platform profile.
783 enum platform_profile_option *profile)
787 *profile = dytc->current_profile;
833 * handler. Sets current platform profile.
836 enum platform_profile_option profile)
847 if (profile == PLATFORM_PROFILE_BALANCED) {
855 err = convert_profile_to_dytc(profile, &perfmode);
866 /* Success - update current profile */
867 dytc->current_profile = profile;
877 enum platform_profile_option profile;
889 if (convert_dytc_to_profile(perfmode, &profile))
892 if (profile != priv->dytc->current_profile) {
893 priv->dytc->current_profile = profile;
1135 /* Sound profile switch */