/Linux-v5.4/drivers/gpu/drm/radeon/ |
D | rv740_dpm.c | 128 u32 cg_spll_spread_spectrum = pi->clk_regs.rv770.cg_spll_spread_spectrum; in rv740_populate_sclk_value() local 167 cg_spll_spread_spectrum &= ~CLK_S_MASK; in rv740_populate_sclk_value() 168 cg_spll_spread_spectrum |= CLK_S(clk_s); in rv740_populate_sclk_value() 169 cg_spll_spread_spectrum |= SSEN; in rv740_populate_sclk_value() 180 sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(cg_spll_spread_spectrum); in rv740_populate_sclk_value() 294 pi->clk_regs.rv770.cg_spll_spread_spectrum = in rv740_read_clock_registers()
|
D | rv730_dpm.c | 48 u32 cg_spll_spread_spectrum = pi->clk_regs.rv730.cg_spll_spread_spectrum; in rv730_populate_sclk_value() local 99 cg_spll_spread_spectrum &= ~CLK_S_MASK; in rv730_populate_sclk_value() 100 cg_spll_spread_spectrum |= CLK_S(clk_s); in rv730_populate_sclk_value() 101 cg_spll_spread_spectrum |= SSEN; in rv730_populate_sclk_value() 112 sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(cg_spll_spread_spectrum); in rv730_populate_sclk_value() 207 pi->clk_regs.rv730.cg_spll_spread_spectrum = in rv730_read_clock_registers() 351 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 | 495 u32 cg_spll_spread_spectrum = in rv770_populate_sclk_value() local 496 pi->clk_regs.rv770.cg_spll_spread_spectrum; in rv770_populate_sclk_value() 546 cg_spll_spread_spectrum &= ~CLKS_MASK; in rv770_populate_sclk_value() 547 cg_spll_spread_spectrum |= CLKS(clk_s); in rv770_populate_sclk_value() 548 cg_spll_spread_spectrum |= SSEN; in rv770_populate_sclk_value() 559 sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(cg_spll_spread_spectrum); in rv770_populate_sclk_value() 1058 cpu_to_be32(pi->clk_regs.rv770.cg_spll_spread_spectrum); in rv770_populate_smc_initial_state() 1526 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 | 1189 ni_pi->clock_registers.cg_spll_spread_spectrum = RREG32(CG_SPLL_SPREAD_SPECTRUM); in ni_read_clock_registers() 1720 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 | si_dpm.c | 3576 si_pi->clock_registers.cg_spll_spread_spectrum = RREG32(CG_SPLL_SPREAD_SPECTRUM); in si_read_clock_registers() 4408 cpu_to_be32(si_pi->clock_registers.cg_spll_spread_spectrum); in si_populate_smc_initial_state() 4793 u32 cg_spll_spread_spectrum = si_pi->clock_registers.cg_spll_spread_spectrum; in si_calculate_sclk_params() local 4832 cg_spll_spread_spectrum &= ~CLK_S_MASK; in si_calculate_sclk_params() 4833 cg_spll_spread_spectrum |= CLK_S(clk_s); in si_calculate_sclk_params() 4834 cg_spll_spread_spectrum |= SSEN; in si_calculate_sclk_params() 4846 sclk->vCG_SPLL_SPREAD_SPECTRUM = cg_spll_spread_spectrum; in si_calculate_sclk_params()
|
D | ci_dpm.c | 1882 pi->clock_registers.cg_spll_spread_spectrum = in ci_read_clock_registers() 3032 table->ACPILevel.SpllSpreadSpectrum = pi->clock_registers.cg_spll_spread_spectrum; in ci_populate_smc_acpi_level() 3167 u32 cg_spll_spread_spectrum = pi->clock_registers.cg_spll_spread_spectrum; in ci_calculate_sclk_params() local 3196 cg_spll_spread_spectrum &= ~CLK_S_MASK; in ci_calculate_sclk_params() 3197 cg_spll_spread_spectrum |= CLK_S(clk_s); in ci_calculate_sclk_params() 3198 cg_spll_spread_spectrum |= SSEN; in ci_calculate_sclk_params() 3208 sclk->SpllSpreadSpectrum = cg_spll_spread_spectrum; in ci_calculate_sclk_params()
|
D | cypress_dpm.c | 1272 cpu_to_be32(pi->clk_regs.rv770.cg_spll_spread_spectrum); in cypress_populate_smc_initial_state()
|
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
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 910 u32 cg_spll_spread_spectrum; member
|
D | si_dpm.c | 4036 si_pi->clock_registers.cg_spll_spread_spectrum = RREG32(CG_SPLL_SPREAD_SPECTRUM); in si_read_clock_registers() 4872 cpu_to_be32(si_pi->clock_registers.cg_spll_spread_spectrum); in si_populate_smc_initial_state() 5255 u32 cg_spll_spread_spectrum = si_pi->clock_registers.cg_spll_spread_spectrum; in si_calculate_sclk_params() local 5294 cg_spll_spread_spectrum &= ~CLK_S_MASK; in si_calculate_sclk_params() 5295 cg_spll_spread_spectrum |= CLK_S(clk_s); in si_calculate_sclk_params() 5296 cg_spll_spread_spectrum |= SSEN; in si_calculate_sclk_params() 5308 sclk->vCG_SPLL_SPREAD_SPECTRUM = cg_spll_spread_spectrum; in si_calculate_sclk_params()
|
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/ |
D | fiji_smumgr.c | 865 uint32_t cg_spll_spread_spectrum = data->clock_registers.vCG_SPLL_SPREAD_SPECTRUM; in fiji_calculate_sclk_params() local 919 cg_spll_spread_spectrum = PHM_SET_FIELD(cg_spll_spread_spectrum, in fiji_calculate_sclk_params() 921 cg_spll_spread_spectrum = PHM_SET_FIELD(cg_spll_spread_spectrum, in fiji_calculate_sclk_params() 931 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 | 303 uint32_t cg_spll_spread_spectrum = data->clock_registers.vCG_SPLL_SPREAD_SPECTRUM; in ci_calculate_sclk_params() local 350 cg_spll_spread_spectrum = PHM_SET_FIELD(cg_spll_spread_spectrum, in ci_calculate_sclk_params() 352 cg_spll_spread_spectrum = PHM_SET_FIELD(cg_spll_spread_spectrum, in ci_calculate_sclk_params() 362 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()
|