/linux-5.19.10/drivers/gpu/drm/radeon/ |
D | rv740_dpm.c | 127 u32 cg_spll_spread_spectrum = pi->clk_regs.rv770.cg_spll_spread_spectrum; in rv740_populate_sclk_value() local 166 cg_spll_spread_spectrum &= ~CLK_S_MASK; in rv740_populate_sclk_value() 167 cg_spll_spread_spectrum |= CLK_S(clk_s); in rv740_populate_sclk_value() 168 cg_spll_spread_spectrum |= SSEN; in rv740_populate_sclk_value() 179 sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(cg_spll_spread_spectrum); in rv740_populate_sclk_value() 293 pi->clk_regs.rv770.cg_spll_spread_spectrum = in rv740_read_clock_registers()
|
D | rv730_dpm.c | 46 u32 cg_spll_spread_spectrum = pi->clk_regs.rv730.cg_spll_spread_spectrum; in rv730_populate_sclk_value() local 97 cg_spll_spread_spectrum &= ~CLK_S_MASK; in rv730_populate_sclk_value() 98 cg_spll_spread_spectrum |= CLK_S(clk_s); in rv730_populate_sclk_value() 99 cg_spll_spread_spectrum |= SSEN; in rv730_populate_sclk_value() 110 sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(cg_spll_spread_spectrum); in rv730_populate_sclk_value() 205 pi->clk_regs.rv730.cg_spll_spread_spectrum = in rv730_read_clock_registers() 349 cpu_to_be32(pi->clk_regs.rv730.cg_spll_spread_spectrum); in rv730_populate_smc_initial_state()
|
D | rv770_dpm.h | 33 u32 cg_spll_spread_spectrum; member 49 u32 cg_spll_spread_spectrum; member
|
D | si_dpm.h | 94 u32 cg_spll_spread_spectrum; member
|
D | ni_dpm.h | 35 u32 cg_spll_spread_spectrum; member
|
D | rv770_dpm.c | 497 u32 cg_spll_spread_spectrum = in rv770_populate_sclk_value() local 498 pi->clk_regs.rv770.cg_spll_spread_spectrum; in rv770_populate_sclk_value() 548 cg_spll_spread_spectrum &= ~CLKS_MASK; in rv770_populate_sclk_value() 549 cg_spll_spread_spectrum |= CLKS(clk_s); in rv770_populate_sclk_value() 550 cg_spll_spread_spectrum |= SSEN; in rv770_populate_sclk_value() 561 sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(cg_spll_spread_spectrum); in rv770_populate_sclk_value() 1060 cpu_to_be32(pi->clk_regs.rv770.cg_spll_spread_spectrum); in rv770_populate_smc_initial_state() 1528 pi->clk_regs.rv770.cg_spll_spread_spectrum = in rv770_read_clock_registers()
|
D | ci_dpm.h | 132 u32 cg_spll_spread_spectrum; member
|
D | ni_dpm.c | 1187 ni_pi->clock_registers.cg_spll_spread_spectrum = RREG32(CG_SPLL_SPREAD_SPECTRUM); in ni_read_clock_registers() 1718 cpu_to_be32(ni_pi->clock_registers.cg_spll_spread_spectrum); in ni_populate_smc_initial_state() 2009 u32 cg_spll_spread_spectrum = ni_pi->clock_registers.cg_spll_spread_spectrum; in ni_calculate_sclk_params() local 2049 cg_spll_spread_spectrum &= ~CLK_S_MASK; in ni_calculate_sclk_params() 2050 cg_spll_spread_spectrum |= CLK_S(clk_s); in ni_calculate_sclk_params() 2051 cg_spll_spread_spectrum |= SSEN; in ni_calculate_sclk_params() 2063 sclk->vCG_SPLL_SPREAD_SPECTRUM = cg_spll_spread_spectrum; in ni_calculate_sclk_params()
|
D | ci_dpm.c | 1845 pi->clock_registers.cg_spll_spread_spectrum = in ci_read_clock_registers() 2995 table->ACPILevel.SpllSpreadSpectrum = pi->clock_registers.cg_spll_spread_spectrum; in ci_populate_smc_acpi_level() 3130 u32 cg_spll_spread_spectrum = pi->clock_registers.cg_spll_spread_spectrum; in ci_calculate_sclk_params() local 3159 cg_spll_spread_spectrum &= ~CLK_S_MASK; in ci_calculate_sclk_params() 3160 cg_spll_spread_spectrum |= CLK_S(clk_s); in ci_calculate_sclk_params() 3161 cg_spll_spread_spectrum |= SSEN; in ci_calculate_sclk_params() 3171 sclk->SpllSpreadSpectrum = cg_spll_spread_spectrum; in ci_calculate_sclk_params()
|
D | si_dpm.c | 3556 si_pi->clock_registers.cg_spll_spread_spectrum = RREG32(CG_SPLL_SPREAD_SPECTRUM); in si_read_clock_registers() 4387 cpu_to_be32(si_pi->clock_registers.cg_spll_spread_spectrum); in si_populate_smc_initial_state() 4774 u32 cg_spll_spread_spectrum = si_pi->clock_registers.cg_spll_spread_spectrum; in si_calculate_sclk_params() local 4813 cg_spll_spread_spectrum &= ~CLK_S_MASK; in si_calculate_sclk_params() 4814 cg_spll_spread_spectrum |= CLK_S(clk_s); in si_calculate_sclk_params() 4815 cg_spll_spread_spectrum |= SSEN; in si_calculate_sclk_params() 4827 sclk->vCG_SPLL_SPREAD_SPECTRUM = cg_spll_spread_spectrum; in si_calculate_sclk_params()
|
D | cypress_dpm.c | 1270 cpu_to_be32(pi->clk_regs.rv770.cg_spll_spread_spectrum); in cypress_populate_smc_initial_state()
|
/linux-5.19.10/drivers/gpu/drm/amd/pm/legacy-dpm/ |
D | si_dpm.h | 353 u32 cg_spll_spread_spectrum; member 499 u32 cg_spll_spread_spectrum; member 515 u32 cg_spll_spread_spectrum; member 917 u32 cg_spll_spread_spectrum; member
|
D | si_dpm.c | 4030 si_pi->clock_registers.cg_spll_spread_spectrum = RREG32(CG_SPLL_SPREAD_SPECTRUM); in si_read_clock_registers() 4866 cpu_to_be32(si_pi->clock_registers.cg_spll_spread_spectrum); in si_populate_smc_initial_state() 5276 u32 cg_spll_spread_spectrum = si_pi->clock_registers.cg_spll_spread_spectrum; in si_calculate_sclk_params() local 5315 cg_spll_spread_spectrum &= ~CLK_S_MASK; in si_calculate_sclk_params() 5316 cg_spll_spread_spectrum |= CLK_S(clk_s); in si_calculate_sclk_params() 5317 cg_spll_spread_spectrum |= SSEN; in si_calculate_sclk_params() 5329 sclk->vCG_SPLL_SPREAD_SPECTRUM = cg_spll_spread_spectrum; in si_calculate_sclk_params()
|
/linux-5.19.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
D | fiji_smumgr.c | 863 uint32_t cg_spll_spread_spectrum = data->clock_registers.vCG_SPLL_SPREAD_SPECTRUM; in fiji_calculate_sclk_params() local 917 cg_spll_spread_spectrum = PHM_SET_FIELD(cg_spll_spread_spectrum, in fiji_calculate_sclk_params() 919 cg_spll_spread_spectrum = PHM_SET_FIELD(cg_spll_spread_spectrum, in fiji_calculate_sclk_params() 929 sclk->SpllSpreadSpectrum = cg_spll_spread_spectrum; in fiji_calculate_sclk_params()
|
D | iceland_smumgr.c | 803 uint32_t cg_spll_spread_spectrum = data->clock_registers.vCG_SPLL_SPREAD_SPECTRUM; in iceland_calculate_sclk_params() local 854 cg_spll_spread_spectrum = in iceland_calculate_sclk_params() 855 PHM_SET_FIELD(cg_spll_spread_spectrum, CG_SPLL_SPREAD_SPECTRUM, CLKS, clkS); in iceland_calculate_sclk_params() 856 cg_spll_spread_spectrum = in iceland_calculate_sclk_params() 857 PHM_SET_FIELD(cg_spll_spread_spectrum, CG_SPLL_SPREAD_SPECTRUM, SSEN, 1); in iceland_calculate_sclk_params() 866 sclk->SpllSpreadSpectrum = cg_spll_spread_spectrum; in iceland_calculate_sclk_params()
|
D | ci_smumgr.c | 306 uint32_t cg_spll_spread_spectrum = data->clock_registers.vCG_SPLL_SPREAD_SPECTRUM; in ci_calculate_sclk_params() local 353 cg_spll_spread_spectrum = PHM_SET_FIELD(cg_spll_spread_spectrum, in ci_calculate_sclk_params() 355 cg_spll_spread_spectrum = PHM_SET_FIELD(cg_spll_spread_spectrum, in ci_calculate_sclk_params() 365 sclk->SpllSpreadSpectrum = cg_spll_spread_spectrum; in ci_calculate_sclk_params()
|
D | tonga_smumgr.c | 546 uint32_t cg_spll_spread_spectrum = data->clock_registers.vCG_SPLL_SPREAD_SPECTRUM; in tonga_calculate_sclk_params() local 597 cg_spll_spread_spectrum = in tonga_calculate_sclk_params() 598 PHM_SET_FIELD(cg_spll_spread_spectrum, CG_SPLL_SPREAD_SPECTRUM, CLKS, clkS); in tonga_calculate_sclk_params() 599 cg_spll_spread_spectrum = in tonga_calculate_sclk_params() 600 PHM_SET_FIELD(cg_spll_spread_spectrum, CG_SPLL_SPREAD_SPECTRUM, SSEN, 1); in tonga_calculate_sclk_params() 609 sclk->SpllSpreadSpectrum = cg_spll_spread_spectrum; in tonga_calculate_sclk_params()
|