Searched refs:perfmode (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/platform/x86/lenovo/ |
H A D | ideapad-laptop.c | 941 static int convert_profile_to_dytc(enum platform_profile_option profile, int *perfmode) in convert_profile_to_dytc() argument 945 *perfmode = DYTC_MODE_LOW_POWER; in convert_profile_to_dytc() 948 *perfmode = DYTC_MODE_BALANCE; in convert_profile_to_dytc() 951 *perfmode = DYTC_MODE_PERFORM; in convert_profile_to_dytc() 1032 int perfmode; in dytc_profile_set() local 1034 err = convert_profile_to_dytc(profile, &perfmode); in dytc_profile_set() 1040 DYTC_SET_COMMAND(DYTC_FUNCTION_MMC, perfmode, 1), in dytc_profile_set() 1067 int err, perfmode; in dytc_profile_refresh() local 1074 perfmode = (output >> DYTC_GET_MODE_BIT) & 0xF; in dytc_profile_refresh() 1076 if (convert_dytc_to_profile(perfmode, &profile)) in dytc_profile_refresh()
|
H A D | thinkpad_acpi.c | 10446 static int convert_profile_to_dytc(enum platform_profile_option profile, int *perfmode) in convert_profile_to_dytc() argument 10451 *perfmode = DYTC_MODE_MMC_LOWPOWER; in convert_profile_to_dytc() 10453 *perfmode = platform_psc_profile_lowpower; in convert_profile_to_dytc() 10457 *perfmode = DYTC_MODE_MMC_BALANCE; in convert_profile_to_dytc() 10459 *perfmode = platform_psc_profile_balanced; in convert_profile_to_dytc() 10463 *perfmode = DYTC_MODE_MMC_PERFORM; in convert_profile_to_dytc() 10465 *perfmode = platform_psc_profile_performance; in convert_profile_to_dytc() 10555 int perfmode; in dytc_profile_set() local 10563 err = convert_profile_to_dytc(profile, &perfmode); in dytc_profile_set() 10580 err = dytc_cql_command(DYTC_SET_COMMAND(DYTC_FUNCTION_MMC, perfmode, 1), in dytc_profile_set() [all …]
|