Home
last modified time | relevance | path

Searched refs:mpll_func_cntl (Results 1 – 11 of 11) sorted by relevance

/drivers/gpu/drm/radeon/
A Drv730_dpm.c123 u32 mpll_func_cntl = pi->clk_regs.rv730.mpll_func_cntl; in rv730_populate_mclk_value() local
147 mpll_func_cntl |= MPLL_DIVEN; in rv730_populate_mclk_value()
149 mpll_func_cntl &= ~MPLL_DIVEN; in rv730_populate_mclk_value()
152 mpll_func_cntl |= MPLL_REF_DIV(dividers.ref_div); in rv730_populate_mclk_value()
154 mpll_func_cntl |= MPLL_LOLEN(dividers.post_div & 0xf); in rv730_populate_mclk_value()
214 pi->clk_regs.rv730.mpll_func_cntl = in rv730_read_clock_registers()
230 u32 mpll_func_cntl = 0; in rv730_populate_smc_acpi_state() local
255 mpll_func_cntl = pi->clk_regs.rv730.mpll_func_cntl; in rv730_populate_smc_acpi_state()
259 mpll_func_cntl |= MPLL_RESET | MPLL_BYPASS_EN; in rv730_populate_smc_acpi_state()
260 mpll_func_cntl &= ~MPLL_SLEEP; in rv730_populate_smc_acpi_state()
[all …]
A Dsi_dpm.h95 u32 mpll_func_cntl; member
A Dci_dpm.h136 u32 mpll_func_cntl; member
A Drv770_dpm.h53 u32 mpll_func_cntl; member
A Dsi_dpm.c3518 si_pi->clock_registers.mpll_func_cntl = RREG32(MPLL_FUNC_CNTL); in si_read_clock_registers()
4321 cpu_to_be32(si_pi->clock_registers.mpll_func_cntl); in si_populate_smc_initial_state()
4438 u32 mpll_func_cntl = si_pi->clock_registers.mpll_func_cntl; in si_populate_smc_acpi_state() local
4523 cpu_to_be32(mpll_func_cntl); in si_populate_smc_acpi_state()
4823 u32 mpll_func_cntl = si_pi->clock_registers.mpll_func_cntl; in si_populate_mclk_value() local
4835 mpll_func_cntl &= ~BWCTRL_MASK; in si_populate_mclk_value()
4836 mpll_func_cntl |= BWCTRL(mpll_param.bwcntl); in si_populate_mclk_value()
4886 mclk->vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl); in si_populate_mclk_value()
A Dci_dpm.c1848 pi->clock_registers.mpll_func_cntl = RREG32(MPLL_FUNC_CNTL); in ci_read_clock_registers()
2755 u32 mpll_func_cntl = pi->clock_registers.mpll_func_cntl; in ci_calculate_mclk_params() local
2767 mpll_func_cntl &= ~BWCTRL_MASK; in ci_calculate_mclk_params()
2768 mpll_func_cntl |= BWCTRL(mpll_param.bwcntl); in ci_calculate_mclk_params()
2818 mclk->MpllFuncCntl = mpll_func_cntl; in ci_calculate_mclk_params()
3035 cpu_to_be32(pi->clock_registers.mpll_func_cntl); in ci_populate_smc_acpi_level()
/drivers/gpu/drm/amd/pm/legacy-dpm/
A Dsi_dpm.h519 u32 mpll_func_cntl; member
923 u32 mpll_func_cntl; member
A Dsi_dpm.c4055 si_pi->clock_registers.mpll_func_cntl = RREG32(MPLL_FUNC_CNTL); in si_read_clock_registers()
4865 cpu_to_be32(si_pi->clock_registers.mpll_func_cntl); in si_populate_smc_initial_state()
5008 u32 mpll_func_cntl = si_pi->clock_registers.mpll_func_cntl; in si_populate_smc_acpi_state() local
5094 cpu_to_be32(mpll_func_cntl); in si_populate_smc_acpi_state()
5393 u32 mpll_func_cntl = si_pi->clock_registers.mpll_func_cntl; in si_populate_mclk_value() local
5405 mpll_func_cntl &= ~BWCTRL_MASK; in si_populate_mclk_value()
5406 mpll_func_cntl |= BWCTRL(mpll_param.bwcntl); in si_populate_mclk_value()
5456 mclk->vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl); in si_populate_mclk_value()
/drivers/gpu/drm/amd/pm/powerplay/smumgr/
A Diceland_smumgr.c1058 uint32_t mpll_func_cntl = data->clock_registers.vMPLL_FUNC_CNTL; in iceland_calculate_mclk_params() local
1073 mpll_func_cntl = PHM_SET_FIELD(mpll_func_cntl, MPLL_FUNC_CNTL, BWCTRL, mpll_param.bw_ctrl); in iceland_calculate_mclk_params()
1156 mclk->MpllFuncCntl = mpll_func_cntl; in iceland_calculate_mclk_params()
A Dci_smumgr.c1036 uint32_t mpll_func_cntl = data->clock_registers.vMPLL_FUNC_CNTL; in ci_calculate_mclk_params() local
1050 mpll_func_cntl = PHM_SET_FIELD(mpll_func_cntl, MPLL_FUNC_CNTL, BWCTRL, mpll_param.bw_ctrl); in ci_calculate_mclk_params()
1106 mclk->MpllFuncCntl = mpll_func_cntl; in ci_calculate_mclk_params()
A Dtonga_smumgr.c801 uint32_t mpll_func_cntl = data->clock_registers.vMPLL_FUNC_CNTL; in tonga_calculate_mclk_params() local
818 mpll_func_cntl = PHM_SET_FIELD(mpll_func_cntl, MPLL_FUNC_CNTL, BWCTRL, in tonga_calculate_mclk_params()
907 mclk->MpllFuncCntl = mpll_func_cntl; in tonga_calculate_mclk_params()

Completed in 689 milliseconds