Searched refs:mpll_ad_func_cntl (Results 1 - 12 of 12) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/radeon/
H A Drv740_dpm.c192 u32 mpll_ad_func_cntl = pi->clk_regs.rv770.mpll_ad_func_cntl; rv740_populate_mclk_value() local
212 mpll_ad_func_cntl &= ~(CLKR_MASK | rv740_populate_mclk_value()
217 mpll_ad_func_cntl |= CLKR(dividers.ref_div); rv740_populate_mclk_value()
218 mpll_ad_func_cntl |= YCLK_POST_DIV(dividers.post_div); rv740_populate_mclk_value()
219 mpll_ad_func_cntl |= CLKF(dividers.whole_fb_div); rv740_populate_mclk_value()
220 mpll_ad_func_cntl |= CLKFRAC(dividers.frac_fb_div); rv740_populate_mclk_value()
221 mpll_ad_func_cntl |= IBIAS(ibias); rv740_populate_mclk_value()
273 mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); rv740_populate_mclk_value()
300 pi->clk_regs.rv770.mpll_ad_func_cntl = rv740_read_clock_registers()
319 u32 mpll_ad_func_cntl = pi->clk_regs.rv770.mpll_ad_func_cntl; rv740_populate_smc_acpi_state() local
374 table->ACPIState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); rv740_populate_smc_acpi_state()
H A Dcypress_dpm.c480 u32 mpll_ad_func_cntl = cypress_populate_mclk_value() local
481 pi->clk_regs.rv770.mpll_ad_func_cntl; cypress_populate_mclk_value()
514 mpll_ad_func_cntl &= ~(CLKR_MASK | cypress_populate_mclk_value()
519 mpll_ad_func_cntl |= CLKR(dividers.ref_div); cypress_populate_mclk_value()
520 mpll_ad_func_cntl |= YCLK_POST_DIV(dividers.post_div); cypress_populate_mclk_value()
521 mpll_ad_func_cntl |= CLKF(dividers.whole_fb_div); cypress_populate_mclk_value()
522 mpll_ad_func_cntl |= CLKFRAC(dividers.frac_fb_div); cypress_populate_mclk_value()
523 mpll_ad_func_cntl |= IBIAS(ibias); cypress_populate_mclk_value()
598 mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); cypress_populate_mclk_value()
1244 cpu_to_be32(pi->clk_regs.rv770.mpll_ad_func_cntl); cypress_populate_smc_initial_state()
1335 u32 mpll_ad_func_cntl = cypress_populate_smc_acpi_state() local
1336 pi->clk_regs.rv770.mpll_ad_func_cntl; cypress_populate_smc_acpi_state()
1391 mpll_ad_func_cntl &= ~PDNB; cypress_populate_smc_acpi_state()
1434 cpu_to_be32(mpll_ad_func_cntl); cypress_populate_smc_acpi_state()
H A Drv770_dpm.c392 u32 mpll_ad_func_cntl = rv770_populate_mclk_value() local
393 pi->clk_regs.rv770.mpll_ad_func_cntl; rv770_populate_mclk_value()
428 mpll_ad_func_cntl &= ~(CLKR_MASK | rv770_populate_mclk_value()
433 mpll_ad_func_cntl |= CLKR(encoded_reference_dividers[dividers.ref_div - 1]); rv770_populate_mclk_value()
434 mpll_ad_func_cntl |= YCLK_POST_DIV(postdiv_yclk); rv770_populate_mclk_value()
435 mpll_ad_func_cntl |= CLKF(clkf); rv770_populate_mclk_value()
436 mpll_ad_func_cntl |= CLKFRAC(clkfrac); rv770_populate_mclk_value()
437 mpll_ad_func_cntl |= IBIAS(ibias); rv770_populate_mclk_value()
474 mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); rv770_populate_mclk_value()
920 u32 mpll_ad_func_cntl = rv770_populate_smc_acpi_state() local
921 pi->clk_regs.rv770.mpll_ad_func_cntl; rv770_populate_smc_acpi_state()
982 table->ACPIState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); rv770_populate_smc_acpi_state()
1032 cpu_to_be32(pi->clk_regs.rv770.mpll_ad_func_cntl); rv770_populate_smc_initial_state()
1531 pi->clk_regs.rv770.mpll_ad_func_cntl = rv770_read_clock_registers()
H A Dsi_dpm.h98 u32 mpll_ad_func_cntl; member in struct:si_clock_registers
H A Dni_dpm.h39 u32 mpll_ad_func_cntl; member in struct:ni_clock_registers
H A Drv770_dpm.h34 u32 mpll_ad_func_cntl; member in struct:rv770_clock_registers
H A Dci_dpm.h135 u32 mpll_ad_func_cntl; member in struct:ci_clock_registers
H A Dni_dpm.c1189 ni_pi->clock_registers.mpll_ad_func_cntl = RREG32(MPLL_AD_FUNC_CNTL); ni_read_clock_registers()
1693 cpu_to_be32(ni_pi->clock_registers.mpll_ad_func_cntl); ni_populate_smc_initial_state()
1798 u32 mpll_ad_func_cntl = ni_pi->clock_registers.mpll_ad_func_cntl; ni_populate_smc_acpi_state() local
1866 mpll_ad_func_cntl &= ~PDNB; ni_populate_smc_acpi_state()
1905 table->ACPIState.levels[0].mclk.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); ni_populate_smc_acpi_state()
2169 u32 mpll_ad_func_cntl = ni_pi->clock_registers.mpll_ad_func_cntl; ni_populate_mclk_value() local
2197 mpll_ad_func_cntl &= ~(CLKR_MASK | ni_populate_mclk_value()
2202 mpll_ad_func_cntl |= CLKR(dividers.ref_div); ni_populate_mclk_value()
2203 mpll_ad_func_cntl |= YCLK_POST_DIV(dividers.post_div); ni_populate_mclk_value()
2204 mpll_ad_func_cntl |= CLKF(dividers.whole_fb_div); ni_populate_mclk_value()
2205 mpll_ad_func_cntl |= CLKFRAC(dividers.frac_fb_div); ni_populate_mclk_value()
2206 mpll_ad_func_cntl |= IBIAS(ibias); ni_populate_mclk_value()
2282 mclk->vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); ni_populate_mclk_value()
H A Dsi_dpm.c3592 si_pi->clock_registers.mpll_ad_func_cntl = RREG32(MPLL_AD_FUNC_CNTL); si_read_clock_registers()
4394 cpu_to_be32(si_pi->clock_registers.mpll_ad_func_cntl); si_populate_smc_initial_state()
4513 u32 mpll_ad_func_cntl = si_pi->clock_registers.mpll_ad_func_cntl; si_populate_smc_acpi_state() local
4596 cpu_to_be32(mpll_ad_func_cntl); si_populate_smc_acpi_state()
4896 u32 mpll_ad_func_cntl = si_pi->clock_registers.mpll_ad_func_cntl; si_populate_mclk_value() local
4917 mpll_ad_func_cntl &= ~YCLK_POST_DIV_MASK; si_populate_mclk_value()
4918 mpll_ad_func_cntl |= YCLK_POST_DIV(mpll_param.post_div); si_populate_mclk_value()
4964 mclk->vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); si_populate_mclk_value()
H A Dci_dpm.c1858 pi->clock_registers.mpll_ad_func_cntl = RREG32(MPLL_AD_FUNC_CNTL); ci_read_clock_registers()
2767 u32 mpll_ad_func_cntl = pi->clock_registers.mpll_ad_func_cntl; ci_calculate_mclk_params() local
2788 mpll_ad_func_cntl &= ~YCLK_POST_DIV_MASK; ci_calculate_mclk_params()
2789 mpll_ad_func_cntl |= YCLK_POST_DIV(mpll_param.post_div); ci_calculate_mclk_params()
2835 mclk->MpllAdFuncCntl = mpll_ad_func_cntl; ci_calculate_mclk_params()
3045 cpu_to_be32(pi->clock_registers.mpll_ad_func_cntl); ci_populate_smc_acpi_level()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Dci_dpm.h136 u32 mpll_ad_func_cntl; member in struct:ci_clock_registers
H A Dci_dpm.c1986 pi->clock_registers.mpll_ad_func_cntl = RREG32(mmMPLL_AD_FUNC_CNTL); ci_read_clock_registers()
2897 u32 mpll_ad_func_cntl = pi->clock_registers.mpll_ad_func_cntl; ci_calculate_mclk_params() local
2920 mpll_ad_func_cntl &= ~MPLL_AD_FUNC_CNTL__YCLK_POST_DIV_MASK; ci_calculate_mclk_params()
2921 mpll_ad_func_cntl |= (mpll_param.post_div << MPLL_AD_FUNC_CNTL__YCLK_POST_DIV__SHIFT); ci_calculate_mclk_params()
2970 mclk->MpllAdFuncCntl = mpll_ad_func_cntl; ci_calculate_mclk_params()
3183 cpu_to_be32(pi->clock_registers.mpll_ad_func_cntl); ci_populate_smc_acpi_level()

Completed in 326 milliseconds