Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/radeon/
H 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()
151 mpll_func_cntl &= ~(MPLL_REF_DIV_MASK | MPLL_HILEN_MASK | MPLL_LOLEN_MASK); in rv730_populate_mclk_value()
152 mpll_func_cntl |= MPLL_REF_DIV(dividers.ref_div); in rv730_populate_mclk_value()
153 mpll_func_cntl |= MPLL_HILEN((dividers.post_div >> 4) & 0xf); in rv730_populate_mclk_value()
154 mpll_func_cntl |= MPLL_LOLEN(dividers.post_div & 0xf); in rv730_populate_mclk_value()
186 mclk->mclk730.vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl); 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
[all …]
H A Dsi_dpm.h95 u32 mpll_func_cntl; member
H A Dci_dpm.h136 u32 mpll_func_cntl; member
H A Drv770_dpm.h53 u32 mpll_func_cntl; member
H 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()
H 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()
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.h519 u32 mpll_func_cntl; member
923 u32 mpll_func_cntl; member
H A Dsi_dpm.c4036 si_pi->clock_registers.mpll_func_cntl = RREG32(MPLL_FUNC_CNTL); in si_read_clock_registers()
4846 cpu_to_be32(si_pi->clock_registers.mpll_func_cntl); in si_populate_smc_initial_state()
4986 u32 mpll_func_cntl = si_pi->clock_registers.mpll_func_cntl; in si_populate_smc_acpi_state() local
5072 cpu_to_be32(mpll_func_cntl); in si_populate_smc_acpi_state()
5371 u32 mpll_func_cntl = si_pi->clock_registers.mpll_func_cntl; in si_populate_mclk_value() local
5383 mpll_func_cntl &= ~BWCTRL_MASK; in si_populate_mclk_value()
5384 mpll_func_cntl |= BWCTRL(mpll_param.bwcntl); in si_populate_mclk_value()
5434 mclk->vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl); in si_populate_mclk_value()
/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H 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()
H 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()
H 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()