Searched refs:perfmode (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/drivers/platform/x86/ |
D | ideapad-laptop.c | 751 static int convert_profile_to_dytc(enum platform_profile_option profile, int *perfmode) in convert_profile_to_dytc() argument 755 *perfmode = DYTC_MODE_LOW_POWER; in convert_profile_to_dytc() 758 *perfmode = DYTC_MODE_BALANCE; in convert_profile_to_dytc() 761 *perfmode = DYTC_MODE_PERFORM; in convert_profile_to_dytc() 845 int perfmode; in dytc_profile_set() local 847 err = convert_profile_to_dytc(profile, &perfmode); in dytc_profile_set() 852 err = dytc_cql_command(priv, DYTC_SET_COMMAND(DYTC_FUNCTION_MMC, perfmode, 1), in dytc_profile_set() 871 int err, perfmode; in dytc_profile_refresh() local 879 perfmode = (output >> DYTC_GET_MODE_BIT) & 0xF; in dytc_profile_refresh() 881 if (convert_dytc_to_profile(perfmode, &profile)) in dytc_profile_refresh()
|
D | thinkpad_acpi.c | 10354 static int convert_profile_to_dytc(enum platform_profile_option profile, int *perfmode) in convert_profile_to_dytc() argument 10359 *perfmode = DYTC_MODE_MMC_LOWPOWER; in convert_profile_to_dytc() 10361 *perfmode = DYTC_MODE_PSC_LOWPOWER; in convert_profile_to_dytc() 10365 *perfmode = DYTC_MODE_MMC_BALANCE; in convert_profile_to_dytc() 10367 *perfmode = DYTC_MODE_PSC_BALANCE; in convert_profile_to_dytc() 10371 *perfmode = DYTC_MODE_MMC_PERFORM; in convert_profile_to_dytc() 10373 *perfmode = DYTC_MODE_PSC_PERFORM; in convert_profile_to_dytc() 10463 int perfmode; in dytc_profile_set() local 10471 err = convert_profile_to_dytc(profile, &perfmode); in dytc_profile_set() 10488 err = dytc_cql_command(DYTC_SET_COMMAND(DYTC_FUNCTION_MMC, perfmode, 1), in dytc_profile_set() [all …]
|