Lines Matching refs:sclk
348 u32 highest_engine_clock = ps->levels[ps->num_levels - 1].sclk; in sumo_program_bsp()
351 highest_engine_clock = pi->boost_pl.sclk; in sumo_program_bsp()
412 m_a = asi * ps->levels[i].sclk / 100; in sumo_program_at()
422 m_a = asi * pi->boost_pl.sclk / 100; in sumo_program_at()
556 pl->sclk, false, ÷rs); in sumo_program_power_level()
672 pi->boost_pl.sclk = pi->sys_info.boost_sclk; in sumo_patch_boost_state()
791 pi->acpi_pl.sclk, in sumo_program_acpi_power_level()
845 if (new_ps->levels[new_ps->num_levels - 1].sclk >= in sumo_set_uvd_clock_before_set_eng_clock()
846 current_ps->levels[current_ps->num_levels - 1].sclk) in sumo_set_uvd_clock_before_set_eng_clock()
863 if (new_ps->levels[new_ps->num_levels - 1].sclk < in sumo_set_uvd_clock_after_set_eng_clock()
864 current_ps->levels[current_ps->num_levels - 1].sclk) in sumo_set_uvd_clock_after_set_eng_clock()
1005 u32 sclk, in sumo_get_sleep_divider_id_from_clock() argument
1014 if (sclk < min) in sumo_get_sleep_divider_id_from_clock()
1021 temp = sclk / sumo_get_sleep_divider_from_id(i); in sumo_get_sleep_divider_id_from_clock()
1055 current_sclk = current_ps->levels[current_index].sclk; in sumo_patch_thermal_state()
1058 current_sclk = pi->boot_pl.sclk; in sumo_patch_thermal_state()
1063 if (ps->levels[0].sclk > current_sclk) in sumo_patch_thermal_state()
1064 ps->levels[0].sclk = current_sclk; in sumo_patch_thermal_state()
1067 sumo_get_sleep_divider_id_from_clock(rdev, ps->levels[0].sclk, sclk_in_sr); in sumo_patch_thermal_state()
1070 sumo_get_sleep_divider_id_from_clock(rdev, ps->levels[0].sclk, SUMO_MINIMUM_ENGINE_CLOCK); in sumo_patch_thermal_state()
1116 if (ps->levels[i].sclk < min_sclk) in sumo_apply_state_adjust_rules()
1117 ps->levels[i].sclk = in sumo_apply_state_adjust_rules()
1121 sumo_get_sleep_divider_id_from_clock(rdev, ps->levels[i].sclk, sclk_in_sr); in sumo_apply_state_adjust_rules()
1124 sumo_get_sleep_divider_id_from_clock(rdev, ps->levels[i].sclk, SUMO_MINIMUM_ENGINE_CLOCK); in sumo_apply_state_adjust_rules()
1437 u32 sclk; in sumo_parse_pplib_clock_info() local
1439 sclk = le16_to_cpu(clock_info->sumo.usEngineClockLow); in sumo_parse_pplib_clock_info()
1440 sclk |= clock_info->sumo.ucEngineClockHigh << 16; in sumo_parse_pplib_clock_info()
1441 pl->sclk = sclk; in sumo_parse_pplib_clock_info()
1730 pi->boot_pl.sclk = pi->sys_info.bootup_sclk; in sumo_construct_boot_and_acpi_state()
1806 i, pl->sclk, in sumo_dpm_print_power_state()
1827 current_index, pl->sclk, in sumo_dpm_debugfs_print_current_performance_level()
1835 current_index, pl->sclk, in sumo_dpm_debugfs_print_current_performance_level()
1852 return pl->sclk; in sumo_dpm_get_current_sclk()
1857 return pl->sclk; in sumo_dpm_get_current_sclk()
1887 return requested_state->levels[0].sclk; in sumo_dpm_get_sclk()
1889 return requested_state->levels[requested_state->num_levels - 1].sclk; in sumo_dpm_get_sclk()