Home
last modified time | relevance | path

Searched refs:cg_spll_spread_spectrum (Results 1 – 17 of 17) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/radeon/
Drv740_dpm.c127 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()
Drv730_dpm.c46 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()
Drv770_dpm.h33 u32 cg_spll_spread_spectrum; member
49 u32 cg_spll_spread_spectrum; member
Dsi_dpm.h94 u32 cg_spll_spread_spectrum; member
Dni_dpm.h35 u32 cg_spll_spread_spectrum; member
Drv770_dpm.c497 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()
Dci_dpm.h132 u32 cg_spll_spread_spectrum; member
Dni_dpm.c1187 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()
Dci_dpm.c1845 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()
Dsi_dpm.c3556 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()
Dcypress_dpm.c1270 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/
Dsi_dpm.h353 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
Dsi_dpm.c4030 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/
Dfiji_smumgr.c863 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()
Diceland_smumgr.c803 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()
Dci_smumgr.c306 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()
Dtonga_smumgr.c546 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()