Home
last modified time | relevance | path

Searched refs:sclk_tmp (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/radeon/
Dni_dpm.c2073 NISLANDS_SMC_SCLK_VALUE sclk_tmp; in ni_populate_sclk_value() local
2076 ret = ni_calculate_sclk_params(rdev, engine_clock, &sclk_tmp); in ni_populate_sclk_value()
2078 sclk->sclk_value = cpu_to_be32(sclk_tmp.sclk_value); in ni_populate_sclk_value()
2079 sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL); in ni_populate_sclk_value()
2080 sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_2); in ni_populate_sclk_value()
2081 sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_3); in ni_populate_sclk_value()
2082 sclk->vCG_SPLL_FUNC_CNTL_4 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_4); in ni_populate_sclk_value()
2083 sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(sclk_tmp.vCG_SPLL_SPREAD_SPECTRUM); in ni_populate_sclk_value()
2084 sclk->vCG_SPLL_SPREAD_SPECTRUM_2 = cpu_to_be32(sclk_tmp.vCG_SPLL_SPREAD_SPECTRUM_2); in ni_populate_sclk_value()
Dsi_dpm.c4837 SISLANDS_SMC_SCLK_VALUE sclk_tmp; in si_populate_sclk_value() local
4840 ret = si_calculate_sclk_params(rdev, engine_clock, &sclk_tmp); in si_populate_sclk_value()
4842 sclk->sclk_value = cpu_to_be32(sclk_tmp.sclk_value); in si_populate_sclk_value()
4843 sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL); in si_populate_sclk_value()
4844 sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_2); in si_populate_sclk_value()
4845 sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_3); in si_populate_sclk_value()
4846 sclk->vCG_SPLL_FUNC_CNTL_4 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_4); in si_populate_sclk_value()
4847 sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(sclk_tmp.vCG_SPLL_SPREAD_SPECTRUM); in si_populate_sclk_value()
4848 sclk->vCG_SPLL_SPREAD_SPECTRUM_2 = cpu_to_be32(sclk_tmp.vCG_SPLL_SPREAD_SPECTRUM_2); in si_populate_sclk_value()
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.c5339 SISLANDS_SMC_SCLK_VALUE sclk_tmp; in si_populate_sclk_value() local
5342 ret = si_calculate_sclk_params(adev, engine_clock, &sclk_tmp); in si_populate_sclk_value()
5344 sclk->sclk_value = cpu_to_be32(sclk_tmp.sclk_value); in si_populate_sclk_value()
5345 sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL); in si_populate_sclk_value()
5346 sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_2); in si_populate_sclk_value()
5347 sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_3); in si_populate_sclk_value()
5348 sclk->vCG_SPLL_FUNC_CNTL_4 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_4); in si_populate_sclk_value()
5349 sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(sclk_tmp.vCG_SPLL_SPREAD_SPECTRUM); in si_populate_sclk_value()
5350 sclk->vCG_SPLL_SPREAD_SPECTRUM_2 = cpu_to_be32(sclk_tmp.vCG_SPLL_SPREAD_SPECTRUM_2); in si_populate_sclk_value()