Lines Matching full:sclk
347 u32 highest_engine_clock = ps->levels[ps->num_levels - 1].sclk; in sumo_program_bsp()
350 highest_engine_clock = pi->boost_pl.sclk; in sumo_program_bsp()
411 m_a = asi * ps->levels[i].sclk / 100; in sumo_program_at()
421 m_a = asi * pi->boost_pl.sclk / 100; in sumo_program_at()
555 pl->sclk, false, ÷rs); in sumo_program_power_level()
671 pi->boost_pl.sclk = pi->sys_info.boost_sclk; in sumo_patch_boost_state()
790 pi->acpi_pl.sclk, in sumo_program_acpi_power_level()
844 if (new_ps->levels[new_ps->num_levels - 1].sclk >= in sumo_set_uvd_clock_before_set_eng_clock()
845 current_ps->levels[current_ps->num_levels - 1].sclk) in sumo_set_uvd_clock_before_set_eng_clock()
862 if (new_ps->levels[new_ps->num_levels - 1].sclk < in sumo_set_uvd_clock_after_set_eng_clock()
863 current_ps->levels[current_ps->num_levels - 1].sclk) in sumo_set_uvd_clock_after_set_eng_clock()
1004 u32 sclk, in sumo_get_sleep_divider_id_from_clock() argument
1013 if (sclk < min) in sumo_get_sleep_divider_id_from_clock()
1020 temp = sclk / sumo_get_sleep_divider_from_id(i); in sumo_get_sleep_divider_id_from_clock()
1054 current_sclk = current_ps->levels[current_index].sclk; in sumo_patch_thermal_state()
1057 current_sclk = pi->boot_pl.sclk; in sumo_patch_thermal_state()
1062 if (ps->levels[0].sclk > current_sclk) in sumo_patch_thermal_state()
1063 ps->levels[0].sclk = current_sclk; in sumo_patch_thermal_state()
1066 sumo_get_sleep_divider_id_from_clock(rdev, ps->levels[0].sclk, sclk_in_sr); in sumo_patch_thermal_state()
1069 sumo_get_sleep_divider_id_from_clock(rdev, ps->levels[0].sclk, SUMO_MINIMUM_ENGINE_CLOCK); in sumo_patch_thermal_state()
1115 if (ps->levels[i].sclk < min_sclk) in sumo_apply_state_adjust_rules()
1116 ps->levels[i].sclk = in sumo_apply_state_adjust_rules()
1120 sumo_get_sleep_divider_id_from_clock(rdev, ps->levels[i].sclk, sclk_in_sr); in sumo_apply_state_adjust_rules()
1123 sumo_get_sleep_divider_id_from_clock(rdev, ps->levels[i].sclk, SUMO_MINIMUM_ENGINE_CLOCK); in sumo_apply_state_adjust_rules()
1436 u32 sclk; in sumo_parse_pplib_clock_info() local
1438 sclk = le16_to_cpu(clock_info->sumo.usEngineClockLow); in sumo_parse_pplib_clock_info()
1439 sclk |= clock_info->sumo.ucEngineClockHigh << 16; in sumo_parse_pplib_clock_info()
1440 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()
1805 printk("\t\tpower level %d sclk: %u vddc: %u\n", in sumo_dpm_print_power_state()
1806 i, pl->sclk, in sumo_dpm_print_power_state()
1826 seq_printf(m, "power level %d sclk: %u vddc: %u\n", in sumo_dpm_debugfs_print_current_performance_level()
1827 current_index, pl->sclk, in sumo_dpm_debugfs_print_current_performance_level()
1834 seq_printf(m, "power level %d sclk: %u vddc: %u\n", 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()
1907 return requested_state->levels[0].sclk; in sumo_dpm_get_sclk()
1909 return requested_state->levels[requested_state->num_levels - 1].sclk; in sumo_dpm_get_sclk()