Home
last modified time | relevance | path

Searched refs:mpll_ss2 (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/radeon/
Drv740_dpm.c197 u32 mpll_ss2 = pi->clk_regs.rv770.mpll_ss2; in rv740_populate_mclk_value() local
259 mpll_ss2 &= ~CLKS_MASK; in rv740_populate_mclk_value()
260 mpll_ss2 |= CLKS(clk_s); in rv740_populate_mclk_value()
278 mclk->mclk770.vMPLL_SS2 = cpu_to_be32(mpll_ss2); in rv740_populate_mclk_value()
310 pi->clk_regs.rv770.mpll_ss2 = RREG32(MPLL_SS2); in rv740_read_clock_registers()
Drv730_dpm.c127 u32 mpll_ss2 = pi->clk_regs.rv730.mpll_ss2; in rv730_populate_mclk_value() local
177 mpll_ss2 &= ~CLK_V_MASK; in rv730_populate_mclk_value()
190 mclk->mclk730.vMPLL_SS2 = cpu_to_be32(mpll_ss2); in rv730_populate_mclk_value()
222 pi->clk_regs.rv730.mpll_ss2 = in rv730_read_clock_registers()
337 cpu_to_be32(pi->clk_regs.rv730.mpll_ss2); in rv730_populate_smc_initial_state()
Drv770_dpm.h42 u32 mpll_ss2; member
57 u32 mpll_ss2; member
Dsi_dpm.h104 u32 mpll_ss2; member
Dni_dpm.h44 u32 mpll_ss2; member
Dci_dpm.h142 u32 mpll_ss2; member
Dcypress_dpm.c492 u32 mpll_ss2 = pi->clk_regs.rv770.mpll_ss2; in cypress_populate_mclk_value() local
567 mpll_ss2 &= ~CLKS_MASK; in cypress_populate_mclk_value()
568 mpll_ss2 |= CLKS(clk_s); in cypress_populate_mclk_value()
604 mclk->mclk770.vMPLL_SS2 = cpu_to_be32(mpll_ss2); in cypress_populate_mclk_value()
1258 cpu_to_be32(pi->clk_regs.rv770.mpll_ss2); in cypress_populate_smc_initial_state()
Dni_dpm.c1196 ni_pi->clock_registers.mpll_ss2 = RREG32(MPLL_SS2); in ni_read_clock_registers()
1705 cpu_to_be32(ni_pi->clock_registers.mpll_ss2); in ni_populate_smc_initial_state()
2176 u32 mpll_ss2 = ni_pi->clock_registers.mpll_ss2; in ni_populate_mclk_value() local
2251 mpll_ss2 &= ~CLKS_MASK; in ni_populate_mclk_value()
2252 mpll_ss2 |= CLKS(clk_s); in ni_populate_mclk_value()
2289 mclk->vMPLL_SS2 = cpu_to_be32(mpll_ss2); in ni_populate_mclk_value()
Dsi_dpm.c3566 si_pi->clock_registers.mpll_ss2 = RREG32(MPLL_SS2); in si_read_clock_registers()
4373 cpu_to_be32(si_pi->clock_registers.mpll_ss2); in si_populate_smc_initial_state()
4575 cpu_to_be32(si_pi->clock_registers.mpll_ss2); in si_populate_smc_acpi_state()
4871 u32 mpll_ss2 = si_pi->clock_registers.mpll_ss2; in si_populate_mclk_value() local
4916 mpll_ss2 &= ~CLKS_MASK; in si_populate_mclk_value()
4917 mpll_ss2 |= CLKS(clks); in si_populate_mclk_value()
4938 mclk->vMPLL_SS2 = cpu_to_be32(mpll_ss2); in si_populate_mclk_value()
Dci_dpm.c1857 pi->clock_registers.mpll_ss2 = RREG32(MPLL_SS2); in ci_read_clock_registers()
2764 u32 mpll_ss2 = pi->clock_registers.mpll_ss2; in ci_calculate_mclk_params() local
2809 mpll_ss2 &= ~CLKS_MASK; in ci_calculate_mclk_params()
2810 mpll_ss2 |= CLKS(clks); in ci_calculate_mclk_params()
2831 mclk->MpllSs2 = mpll_ss2; in ci_calculate_mclk_params()
3046 table->MemoryACPILevel.MpllSs2 = cpu_to_be32(pi->clock_registers.mpll_ss2); in ci_populate_smc_acpi_level()
Drv770_dpm.c1048 cpu_to_be32(pi->clk_regs.rv770.mpll_ss2); in rv770_populate_smc_initial_state()
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.h362 u32 mpll_ss2; member
508 u32 mpll_ss2; member
523 u32 mpll_ss2; member
927 u32 mpll_ss2; member
Dsi_dpm.c4040 si_pi->clock_registers.mpll_ss2 = RREG32(MPLL_SS2); in si_read_clock_registers()
4852 cpu_to_be32(si_pi->clock_registers.mpll_ss2); in si_populate_smc_initial_state()
5078 cpu_to_be32(si_pi->clock_registers.mpll_ss2); in si_populate_smc_acpi_state()
5373 u32 mpll_ss2 = si_pi->clock_registers.mpll_ss2; in si_populate_mclk_value() local
5418 mpll_ss2 &= ~CLKS_MASK; in si_populate_mclk_value()
5419 mpll_ss2 |= CLKS(clks); in si_populate_mclk_value()
5440 mclk->vMPLL_SS2 = cpu_to_be32(mpll_ss2); in si_populate_mclk_value()
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Diceland_smumgr.c1062 uint32_t mpll_ss2 = data->clock_registers.vMPLL_SS2; in iceland_calculate_mclk_params() local
1141 mpll_ss2 = PHM_SET_FIELD(mpll_ss2, MPLL_SS2, CLKS, clks); in iceland_calculate_mclk_params()
1164 mclk->MpllSs2 = mpll_ss2; in iceland_calculate_mclk_params()
Dci_smumgr.c1041 uint32_t mpll_ss2 = data->clock_registers.vMPLL_SS2; in ci_calculate_mclk_params() local
1094 mpll_ss2 = PHM_SET_FIELD(mpll_ss2, MPLL_SS2, CLKS, clks); in ci_calculate_mclk_params()
1115 mclk->MpllSs2 = mpll_ss2; in ci_calculate_mclk_params()
Dtonga_smumgr.c805 uint32_t mpll_ss2 = data->clock_registers.vMPLL_SS2; in tonga_calculate_mclk_params() local
893 mpll_ss2 = PHM_SET_FIELD(mpll_ss2, MPLL_SS2, CLKS, clks); in tonga_calculate_mclk_params()
915 mclk->MpllSs2 = mpll_ss2; in tonga_calculate_mclk_params()