Searched refs:perfmode (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | ideapad-laptop.c | 722 static int convert_profile_to_dytc(enum platform_profile_option profile, int *perfmode) in convert_profile_to_dytc() argument 726 *perfmode = DYTC_MODE_LOW_POWER; in convert_profile_to_dytc() 729 *perfmode = DYTC_MODE_BALANCE; in convert_profile_to_dytc() 732 *perfmode = DYTC_MODE_PERFORM; in convert_profile_to_dytc() 816 int perfmode; in dytc_profile_set() local 818 err = convert_profile_to_dytc(profile, &perfmode); in dytc_profile_set() 823 err = dytc_cql_command(priv, DYTC_SET_COMMAND(DYTC_FUNCTION_MMC, perfmode, 1), in dytc_profile_set() 842 int err, perfmode; in dytc_profile_refresh() local 850 perfmode = (output >> DYTC_GET_MODE_BIT) & 0xF; in dytc_profile_refresh() 852 if (convert_dytc_to_profile(perfmode, in dytc_profile_refresh() [all...] |
H A D | thinkpad_acpi.c | 10317 static int convert_profile_to_dytc(enum platform_profile_option profile, int *perfmode) in convert_profile_to_dytc() argument 10322 *perfmode = DYTC_MODE_MMC_LOWPOWER; in convert_profile_to_dytc() 10324 *perfmode = DYTC_MODE_PSC_LOWPOWER; in convert_profile_to_dytc() 10328 *perfmode = DYTC_MODE_MMC_BALANCE; in convert_profile_to_dytc() 10330 *perfmode = DYTC_MODE_PSC_BALANCE; in convert_profile_to_dytc() 10334 *perfmode = DYTC_MODE_MMC_PERFORM; in convert_profile_to_dytc() 10336 *perfmode = DYTC_MODE_PSC_PERFORM; in convert_profile_to_dytc() 10426 int perfmode; in dytc_profile_set() local 10434 err = convert_profile_to_dytc(profile, &perfmode); in dytc_profile_set() 10451 err = dytc_cql_command(DYTC_SET_COMMAND(DYTC_FUNCTION_MMC, perfmode, in dytc_profile_set() 10476 int perfmode, funcmode = 0; dytc_profile_refresh() local [all...] |
Completed in 23 milliseconds