Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/radeon/
Drv730_dpm.c126 u32 mpll_func_cntl = pi->clk_regs.rv730.mpll_func_cntl; in rv730_populate_mclk_value() local
150 mpll_func_cntl |= MPLL_DIVEN; in rv730_populate_mclk_value()
152 mpll_func_cntl &= ~MPLL_DIVEN; in rv730_populate_mclk_value()
154 mpll_func_cntl &= ~(MPLL_REF_DIV_MASK | MPLL_HILEN_MASK | MPLL_LOLEN_MASK); in rv730_populate_mclk_value()
155 mpll_func_cntl |= MPLL_REF_DIV(dividers.ref_div); in rv730_populate_mclk_value()
156 mpll_func_cntl |= MPLL_HILEN((dividers.post_div >> 4) & 0xf); in rv730_populate_mclk_value()
157 mpll_func_cntl |= MPLL_LOLEN(dividers.post_div & 0xf); in rv730_populate_mclk_value()
189 mclk->mclk730.vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl); in rv730_populate_mclk_value()
217 pi->clk_regs.rv730.mpll_func_cntl = in rv730_read_clock_registers()
233 u32 mpll_func_cntl = 0; in rv730_populate_smc_acpi_state() local
[all …]
Dsi_dpm.h100 u32 mpll_func_cntl; member
Dci_dpm.h137 u32 mpll_func_cntl; member
Drv770_dpm.h52 u32 mpll_func_cntl; member
Dsi_dpm.c3579 si_pi->clock_registers.mpll_func_cntl = RREG32(MPLL_FUNC_CNTL); in si_read_clock_registers()
4383 cpu_to_be32(si_pi->clock_registers.mpll_func_cntl); in si_populate_smc_initial_state()
4500 u32 mpll_func_cntl = si_pi->clock_registers.mpll_func_cntl; in si_populate_smc_acpi_state() local
4585 cpu_to_be32(mpll_func_cntl); in si_populate_smc_acpi_state()
4883 u32 mpll_func_cntl = si_pi->clock_registers.mpll_func_cntl; in si_populate_mclk_value() local
4895 mpll_func_cntl &= ~BWCTRL_MASK; in si_populate_mclk_value()
4896 mpll_func_cntl |= BWCTRL(mpll_param.bwcntl); in si_populate_mclk_value()
4946 mclk->vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl); in si_populate_mclk_value()
Dci_dpm.c1888 pi->clock_registers.mpll_func_cntl = RREG32(MPLL_FUNC_CNTL); in ci_read_clock_registers()
2797 u32 mpll_func_cntl = pi->clock_registers.mpll_func_cntl; in ci_calculate_mclk_params() local
2809 mpll_func_cntl &= ~BWCTRL_MASK; in ci_calculate_mclk_params()
2810 mpll_func_cntl |= BWCTRL(mpll_param.bwcntl); in ci_calculate_mclk_params()
2860 mclk->MpllFuncCntl = mpll_func_cntl; in ci_calculate_mclk_params()
3077 cpu_to_be32(pi->clock_registers.mpll_func_cntl); in ci_populate_smc_acpi_level()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Dci_dpm.h138 u32 mpll_func_cntl; member
Dsi_dpm.h519 u32 mpll_func_cntl; member
916 u32 mpll_func_cntl; member
Dsi_dpm.c4040 si_pi->clock_registers.mpll_func_cntl = RREG32(MPLL_FUNC_CNTL); in si_read_clock_registers()
4849 cpu_to_be32(si_pi->clock_registers.mpll_func_cntl); in si_populate_smc_initial_state()
4964 u32 mpll_func_cntl = si_pi->clock_registers.mpll_func_cntl; in si_populate_smc_acpi_state() local
5050 cpu_to_be32(mpll_func_cntl); in si_populate_smc_acpi_state()
5347 u32 mpll_func_cntl = si_pi->clock_registers.mpll_func_cntl; in si_populate_mclk_value() local
5359 mpll_func_cntl &= ~BWCTRL_MASK; in si_populate_mclk_value()
5360 mpll_func_cntl |= BWCTRL(mpll_param.bwcntl); in si_populate_mclk_value()
5410 mclk->vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl); in si_populate_mclk_value()
Dci_dpm.c2022 pi->clock_registers.mpll_func_cntl = RREG32(mmMPLL_FUNC_CNTL); in ci_read_clock_registers()
2935 u32 mpll_func_cntl = pi->clock_registers.mpll_func_cntl; in ci_calculate_mclk_params() local
2947 mpll_func_cntl &= ~MPLL_FUNC_CNTL__BWCTRL_MASK; in ci_calculate_mclk_params()
2948 mpll_func_cntl |= (mpll_param.bwcntl << MPLL_FUNC_CNTL__BWCTRL__SHIFT); in ci_calculate_mclk_params()
3003 mclk->MpllFuncCntl = mpll_func_cntl; in ci_calculate_mclk_params()
3223 cpu_to_be32(pi->clock_registers.mpll_func_cntl); in ci_populate_smc_acpi_level()
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/smumgr/
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()
Dci_smumgr.c1033 uint32_t mpll_func_cntl = data->clock_registers.vMPLL_FUNC_CNTL; in ci_calculate_mclk_params() local
1047 mpll_func_cntl = PHM_SET_FIELD(mpll_func_cntl, MPLL_FUNC_CNTL, BWCTRL, mpll_param.bw_ctrl); in ci_calculate_mclk_params()
1103 mclk->MpllFuncCntl = mpll_func_cntl; in ci_calculate_mclk_params()
Dtonga_smumgr.c791 uint32_t mpll_func_cntl = data->clock_registers.vMPLL_FUNC_CNTL; in tonga_calculate_mclk_params() local
808 mpll_func_cntl = PHM_SET_FIELD(mpll_func_cntl, MPLL_FUNC_CNTL, BWCTRL, in tonga_calculate_mclk_params()
897 mclk->MpllFuncCntl = mpll_func_cntl; in tonga_calculate_mclk_params()