Home
last modified time | relevance | path

Searched refs:mpll_ad_func_cntl (Results 1 – 15 of 15) sorted by relevance

/dragonfly/sys/dev/drm/radeon/
H A Drv740_dpm.c192 u32 mpll_ad_func_cntl = pi->clk_regs.rv770.mpll_ad_func_cntl; in rv740_populate_mclk_value() local
212 mpll_ad_func_cntl &= ~(CLKR_MASK | in rv740_populate_mclk_value()
217 mpll_ad_func_cntl |= CLKR(dividers.ref_div); in rv740_populate_mclk_value()
218 mpll_ad_func_cntl |= YCLK_POST_DIV(dividers.post_div); in rv740_populate_mclk_value()
219 mpll_ad_func_cntl |= CLKF(dividers.whole_fb_div); in rv740_populate_mclk_value()
220 mpll_ad_func_cntl |= CLKFRAC(dividers.frac_fb_div); in rv740_populate_mclk_value()
221 mpll_ad_func_cntl |= IBIAS(ibias); in rv740_populate_mclk_value()
273 mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in rv740_populate_mclk_value()
300 pi->clk_regs.rv770.mpll_ad_func_cntl = in rv740_read_clock_registers()
319 u32 mpll_ad_func_cntl = pi->clk_regs.rv770.mpll_ad_func_cntl; in rv740_populate_smc_acpi_state() local
[all …]
H A Dcypress_dpm.c480 u32 mpll_ad_func_cntl = in cypress_populate_mclk_value() local
481 pi->clk_regs.rv770.mpll_ad_func_cntl; in cypress_populate_mclk_value()
514 mpll_ad_func_cntl &= ~(CLKR_MASK | in cypress_populate_mclk_value()
519 mpll_ad_func_cntl |= CLKR(dividers.ref_div); in cypress_populate_mclk_value()
521 mpll_ad_func_cntl |= CLKF(dividers.whole_fb_div); in cypress_populate_mclk_value()
522 mpll_ad_func_cntl |= CLKFRAC(dividers.frac_fb_div); in cypress_populate_mclk_value()
523 mpll_ad_func_cntl |= IBIAS(ibias); in cypress_populate_mclk_value()
1335 u32 mpll_ad_func_cntl = in cypress_populate_smc_acpi_state() local
1336 pi->clk_regs.rv770.mpll_ad_func_cntl; in cypress_populate_smc_acpi_state()
1391 mpll_ad_func_cntl &= ~PDNB; in cypress_populate_smc_acpi_state()
[all …]
H A Drv770_dpm.c396 u32 mpll_ad_func_cntl = in rv770_populate_mclk_value() local
397 pi->clk_regs.rv770.mpll_ad_func_cntl; in rv770_populate_mclk_value()
432 mpll_ad_func_cntl &= ~(CLKR_MASK | in rv770_populate_mclk_value()
438 mpll_ad_func_cntl |= YCLK_POST_DIV(postdiv_yclk); in rv770_populate_mclk_value()
439 mpll_ad_func_cntl |= CLKF(clkf); in rv770_populate_mclk_value()
440 mpll_ad_func_cntl |= CLKFRAC(clkfrac); in rv770_populate_mclk_value()
441 mpll_ad_func_cntl |= IBIAS(ibias); in rv770_populate_mclk_value()
924 u32 mpll_ad_func_cntl = in rv770_populate_smc_acpi_state() local
925 pi->clk_regs.rv770.mpll_ad_func_cntl; in rv770_populate_smc_acpi_state()
1036 cpu_to_be32(pi->clk_regs.rv770.mpll_ad_func_cntl); in rv770_populate_smc_initial_state()
[all …]
H A Dni_dpm.c1691 cpu_to_be32(ni_pi->clock_registers.mpll_ad_func_cntl); in ni_populate_smc_initial_state()
1796 u32 mpll_ad_func_cntl = ni_pi->clock_registers.mpll_ad_func_cntl; in ni_populate_smc_acpi_state() local
1864 mpll_ad_func_cntl &= ~PDNB; in ni_populate_smc_acpi_state()
2167 u32 mpll_ad_func_cntl = ni_pi->clock_registers.mpll_ad_func_cntl; in ni_populate_mclk_value() local
2195 mpll_ad_func_cntl &= ~(CLKR_MASK | in ni_populate_mclk_value()
2200 mpll_ad_func_cntl |= CLKR(dividers.ref_div); in ni_populate_mclk_value()
2201 mpll_ad_func_cntl |= YCLK_POST_DIV(dividers.post_div); in ni_populate_mclk_value()
2202 mpll_ad_func_cntl |= CLKF(dividers.whole_fb_div); in ni_populate_mclk_value()
2203 mpll_ad_func_cntl |= CLKFRAC(dividers.frac_fb_div); in ni_populate_mclk_value()
2204 mpll_ad_func_cntl |= IBIAS(ibias); in ni_populate_mclk_value()
[all …]
H A Dsi_dpm.h98 u32 mpll_ad_func_cntl; member
H A Dni_dpm.h39 u32 mpll_ad_func_cntl; member
H A Dci_dpm.h135 u32 mpll_ad_func_cntl; member
H A Drv770_dpm.h34 u32 mpll_ad_func_cntl; member
H A Dsi_dpm.c3578 si_pi->clock_registers.mpll_ad_func_cntl = RREG32(MPLL_AD_FUNC_CNTL); in si_read_clock_registers()
4380 cpu_to_be32(si_pi->clock_registers.mpll_ad_func_cntl); in si_populate_smc_initial_state()
4499 u32 mpll_ad_func_cntl = si_pi->clock_registers.mpll_ad_func_cntl; in si_populate_smc_acpi_state() local
4582 cpu_to_be32(mpll_ad_func_cntl); in si_populate_smc_acpi_state()
4882 u32 mpll_ad_func_cntl = si_pi->clock_registers.mpll_ad_func_cntl; in si_populate_mclk_value() local
4903 mpll_ad_func_cntl &= ~YCLK_POST_DIV_MASK; in si_populate_mclk_value()
4904 mpll_ad_func_cntl |= YCLK_POST_DIV(mpll_param.post_div); in si_populate_mclk_value()
4950 mclk->vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in si_populate_mclk_value()
H A Dci_dpm.c1922 pi->clock_registers.mpll_ad_func_cntl = RREG32(MPLL_AD_FUNC_CNTL); in ci_read_clock_registers()
2831 u32 mpll_ad_func_cntl = pi->clock_registers.mpll_ad_func_cntl; in ci_calculate_mclk_params() local
2852 mpll_ad_func_cntl &= ~YCLK_POST_DIV_MASK; in ci_calculate_mclk_params()
2853 mpll_ad_func_cntl |= YCLK_POST_DIV(mpll_param.post_div); in ci_calculate_mclk_params()
2899 mclk->MpllAdFuncCntl = mpll_ad_func_cntl; in ci_calculate_mclk_params()
3109 cpu_to_be32(pi->clock_registers.mpll_ad_func_cntl); in ci_populate_smc_acpi_level()
/dragonfly/sys/dev/drm/amd/amdgpu/
H A Dsi_dpm.h357 u32 mpll_ad_func_cntl; member
501 u32 mpll_ad_func_cntl; member
914 u32 mpll_ad_func_cntl; member
H A Dsi_dpm.c4038 si_pi->clock_registers.mpll_ad_func_cntl = RREG32(MPLL_AD_FUNC_CNTL); in si_read_clock_registers()
4845 cpu_to_be32(si_pi->clock_registers.mpll_ad_func_cntl); in si_populate_smc_initial_state()
4962 u32 mpll_ad_func_cntl = si_pi->clock_registers.mpll_ad_func_cntl; in si_populate_smc_acpi_state() local
5046 cpu_to_be32(mpll_ad_func_cntl); in si_populate_smc_acpi_state()
5345 u32 mpll_ad_func_cntl = si_pi->clock_registers.mpll_ad_func_cntl; in si_populate_mclk_value() local
5366 mpll_ad_func_cntl &= ~YCLK_POST_DIV_MASK; in si_populate_mclk_value()
5367 mpll_ad_func_cntl |= YCLK_POST_DIV(mpll_param.post_div); in si_populate_mclk_value()
5413 mclk->vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in si_populate_mclk_value()
/dragonfly/sys/dev/drm/amd/powerplay/smumgr/
H A Diceland_smumgr.c1056 uint32_t mpll_ad_func_cntl = data->clock_registers.vMPLL_AD_FUNC_CNTL; in iceland_calculate_mclk_params() local
1084 mpll_ad_func_cntl = PHM_SET_FIELD(mpll_ad_func_cntl, in iceland_calculate_mclk_params()
1159 mclk->MpllAdFuncCntl = mpll_ad_func_cntl; in iceland_calculate_mclk_params()
H A Dci_smumgr.c1032 uint32_t mpll_ad_func_cntl = data->clock_registers.vMPLL_AD_FUNC_CNTL; in ci_calculate_mclk_params() local
1057 mpll_ad_func_cntl = PHM_SET_FIELD(mpll_ad_func_cntl, in ci_calculate_mclk_params()
1107 mclk->MpllAdFuncCntl = mpll_ad_func_cntl; in ci_calculate_mclk_params()
H A Dtonga_smumgr.c789 uint32_t mpll_ad_func_cntl = data->clock_registers.vMPLL_AD_FUNC_CNTL; in tonga_calculate_mclk_params() local
823 mpll_ad_func_cntl = PHM_SET_FIELD(mpll_ad_func_cntl, in tonga_calculate_mclk_params()
900 mclk->MpllAdFuncCntl = mpll_ad_func_cntl; in tonga_calculate_mclk_params()