Lines Matching defs:profile
10271 enum platform_profile_option *profile)
10277 *profile = PLATFORM_PROFILE_LOW_POWER;
10281 *profile = PLATFORM_PROFILE_BALANCED;
10284 *profile = PLATFORM_PROFILE_PERFORMANCE;
10293 *profile = PLATFORM_PROFILE_LOW_POWER;
10296 *profile = PLATFORM_PROFILE_BALANCED;
10299 *profile = PLATFORM_PROFILE_PERFORMANCE;
10307 *profile = PLATFORM_PROFILE_BALANCED;
10317 static int convert_profile_to_dytc(enum platform_profile_option profile, int *perfmode)
10319 switch (profile) {
10338 default: /* Unknown profile */
10346 * handler. Returns current platform profile.
10349 enum platform_profile_option *profile)
10351 *profile = dytc_current_profile;
10421 * handler. Sets current platform profile.
10424 enum platform_profile_option profile)
10434 err = convert_profile_to_dytc(profile, &perfmode);
10439 if (profile == PLATFORM_PROFILE_BALANCED) {
10463 dytc_control_amt(profile == PLATFORM_PROFILE_BALANCED);
10465 /* Success - update current profile */
10466 dytc_current_profile = profile;
10474 enum platform_profile_option profile;
10489 } else { /* Unknown profile mode */
10497 err = convert_dytc_to_profile(funcmode, perfmode, &profile);
10498 if (!err && profile != dytc_current_profile) {
10499 dytc_current_profile = profile;
10534 /* Check if user wants to override the profile selection */
10596 .name = "dytc-profile",
11611 MODULE_PARM_DESC(profile_force, "Force profile mode. -1=off, 1=MMC, 2=PSC");