Home
last modified time | relevance | path

Searched refs:perfmode (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/platform/x86/lenovo/
H A Dideapad-laptop.c974 static int convert_profile_to_dytc(enum platform_profile_option profile, int *perfmode) in convert_profile_to_dytc() argument
978 *perfmode = DYTC_MODE_LOW_POWER; in convert_profile_to_dytc()
981 *perfmode = DYTC_MODE_BALANCE; in convert_profile_to_dytc()
984 *perfmode = DYTC_MODE_PERFORM; in convert_profile_to_dytc()
1065 int perfmode; in dytc_profile_set() local
1067 err = convert_profile_to_dytc(profile, &perfmode); in dytc_profile_set()
1073 DYTC_SET_COMMAND(DYTC_FUNCTION_MMC, perfmode, 1), in dytc_profile_set()
1100 int err, perfmode; in dytc_profile_refresh() local
1107 perfmode = (output >> DYTC_GET_MODE_BIT) & 0xF; in dytc_profile_refresh()
1109 if (convert_dytc_to_profile(perfmode, &profile)) in dytc_profile_refresh()
H A Dthinkpad_acpi.c10437 static int convert_profile_to_dytc(enum platform_profile_option profile, int *perfmode) in convert_profile_to_dytc() argument
10442 *perfmode = DYTC_MODE_MMC_LOWPOWER; in convert_profile_to_dytc()
10444 *perfmode = platform_psc_profile_lowpower; in convert_profile_to_dytc()
10448 *perfmode = DYTC_MODE_MMC_BALANCE; in convert_profile_to_dytc()
10450 *perfmode = platform_psc_profile_balanced; in convert_profile_to_dytc()
10454 *perfmode = DYTC_MODE_MMC_PERFORM; in convert_profile_to_dytc()
10456 *perfmode = platform_psc_profile_performance; in convert_profile_to_dytc()
10546 int perfmode; in dytc_profile_set() local
10554 err = convert_profile_to_dytc(profile, &perfmode); in dytc_profile_set()
10571 err = dytc_cql_command(DYTC_SET_COMMAND(DYTC_FUNCTION_MMC, perfmode, 1), in dytc_profile_set()
[all …]
/linux/drivers/gpu/drm/msm/adreno/
H A Da6xx_catalog.c936 .perfmode = BIT(3),
1530 .perfmode = BIT(3),
1565 .perfmode = BIT(3),
1601 .perfmode = BIT(3),
1644 .perfmode = BIT(2),
1678 .perfmode = BIT(3),
2430 .perfmode = BIT(2),
2472 .perfmode = BIT(2),
2515 .perfmode = BIT(2),
H A Da6xx_gmu.c1657 u32 perfmode = 0; in a6xx_gmu_rpmh_bw_votes_init() local
1662 perfmode = bcm->perfmode; in a6xx_gmu_rpmh_bw_votes_init()
1664 data[bcm_index] = BCM_TCS_CMD(commit, true, 0, perfmode); in a6xx_gmu_rpmh_bw_votes_init()