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

/linux-4.4.14/drivers/gpu/drm/radeon/
H A Drv740_dpm.c194 u32 mpll_dq_func_cntl = pi->clk_regs.rv770.mpll_dq_func_cntl; rv740_populate_mclk_value() local
229 mpll_dq_func_cntl &= ~(CLKR_MASK | rv740_populate_mclk_value()
234 mpll_dq_func_cntl |= CLKR(dividers.ref_div); rv740_populate_mclk_value()
235 mpll_dq_func_cntl |= YCLK_POST_DIV(dividers.post_div); rv740_populate_mclk_value()
236 mpll_dq_func_cntl |= CLKF(dividers.whole_fb_div); rv740_populate_mclk_value()
237 mpll_dq_func_cntl |= CLKFRAC(dividers.frac_fb_div); rv740_populate_mclk_value()
238 mpll_dq_func_cntl |= IBIAS(ibias); rv740_populate_mclk_value()
275 mclk->mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); rv740_populate_mclk_value()
304 pi->clk_regs.rv770.mpll_dq_func_cntl = rv740_read_clock_registers()
321 u32 mpll_dq_func_cntl = pi->clk_regs.rv770.mpll_dq_func_cntl; rv740_populate_smc_acpi_state() local
376 table->ACPIState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); rv740_populate_smc_acpi_state()
H A Dcypress_dpm.c484 u32 mpll_dq_func_cntl = cypress_populate_mclk_value() local
485 pi->clk_regs.rv770.mpll_dq_func_cntl; cypress_populate_mclk_value()
531 mpll_dq_func_cntl &= ~(CLKR_MASK | cypress_populate_mclk_value()
536 mpll_dq_func_cntl |= CLKR(dividers.ref_div); cypress_populate_mclk_value()
537 mpll_dq_func_cntl |= YCLK_POST_DIV(dividers.post_div); cypress_populate_mclk_value()
538 mpll_dq_func_cntl |= CLKF(dividers.whole_fb_div); cypress_populate_mclk_value()
539 mpll_dq_func_cntl |= CLKFRAC(dividers.frac_fb_div); cypress_populate_mclk_value()
540 mpll_dq_func_cntl |= IBIAS(ibias); cypress_populate_mclk_value()
543 mpll_dq_func_cntl &= ~PDNB; cypress_populate_mclk_value()
545 mpll_dq_func_cntl |= PDNB; cypress_populate_mclk_value()
600 mclk->mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); cypress_populate_mclk_value()
1248 cpu_to_be32(pi->clk_regs.rv770.mpll_dq_func_cntl); cypress_populate_smc_initial_state()
1339 u32 mpll_dq_func_cntl = cypress_populate_smc_acpi_state() local
1340 pi->clk_regs.rv770.mpll_dq_func_cntl; cypress_populate_smc_acpi_state()
1396 mpll_dq_func_cntl &= ~PDNB; cypress_populate_smc_acpi_state()
1438 cpu_to_be32(mpll_dq_func_cntl); cypress_populate_smc_acpi_state()
H A Drv770_dpm.c396 u32 mpll_dq_func_cntl = rv770_populate_mclk_value() local
397 pi->clk_regs.rv770.mpll_dq_func_cntl; rv770_populate_mclk_value()
456 mpll_dq_func_cntl &= ~(CLKR_MASK | rv770_populate_mclk_value()
461 mpll_dq_func_cntl |= CLKR(encoded_reference_dividers[dividers.ref_div - 1]); rv770_populate_mclk_value()
462 mpll_dq_func_cntl |= YCLK_POST_DIV(postdiv_yclk); rv770_populate_mclk_value()
463 mpll_dq_func_cntl |= CLKF(clkf); rv770_populate_mclk_value()
464 mpll_dq_func_cntl |= CLKFRAC(clkfrac); rv770_populate_mclk_value()
465 mpll_dq_func_cntl |= IBIAS(ibias); rv770_populate_mclk_value()
476 mclk->mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); rv770_populate_mclk_value()
924 u32 mpll_dq_func_cntl = rv770_populate_smc_acpi_state() local
925 pi->clk_regs.rv770.mpll_dq_func_cntl; rv770_populate_smc_acpi_state()
984 table->ACPIState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); rv770_populate_smc_acpi_state()
1036 cpu_to_be32(pi->clk_regs.rv770.mpll_dq_func_cntl); rv770_populate_smc_initial_state()
1535 pi->clk_regs.rv770.mpll_dq_func_cntl = rv770_read_clock_registers()
H A Dsi_dpm.h99 u32 mpll_dq_func_cntl; member in struct:si_clock_registers
H A Dni_dpm.h41 u32 mpll_dq_func_cntl; member in struct:ni_clock_registers
H A Dni_dpm.c1191 ni_pi->clock_registers.mpll_dq_func_cntl = RREG32(MPLL_DQ_FUNC_CNTL); ni_read_clock_registers()
1697 cpu_to_be32(ni_pi->clock_registers.mpll_dq_func_cntl); ni_populate_smc_initial_state()
1800 u32 mpll_dq_func_cntl = ni_pi->clock_registers.mpll_dq_func_cntl; ni_populate_smc_acpi_state() local
1871 mpll_dq_func_cntl &= ~PDNB; ni_populate_smc_acpi_state()
1907 table->ACPIState.levels[0].mclk.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); ni_populate_smc_acpi_state()
2171 u32 mpll_dq_func_cntl = ni_pi->clock_registers.mpll_dq_func_cntl; ni_populate_mclk_value() local
2214 mpll_dq_func_cntl &= ~(CLKR_MASK | ni_populate_mclk_value()
2219 mpll_dq_func_cntl |= CLKR(dividers.ref_div); ni_populate_mclk_value()
2220 mpll_dq_func_cntl |= YCLK_POST_DIV(dividers.post_div); ni_populate_mclk_value()
2221 mpll_dq_func_cntl |= CLKF(dividers.whole_fb_div); ni_populate_mclk_value()
2222 mpll_dq_func_cntl |= CLKFRAC(dividers.frac_fb_div); ni_populate_mclk_value()
2223 mpll_dq_func_cntl |= IBIAS(ibias); ni_populate_mclk_value()
2226 mpll_dq_func_cntl &= ~PDNB; ni_populate_mclk_value()
2228 mpll_dq_func_cntl |= PDNB; ni_populate_mclk_value()
2284 mclk->vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); ni_populate_mclk_value()
H A Drv770_dpm.h36 u32 mpll_dq_func_cntl; member in struct:rv770_clock_registers
H A Dci_dpm.h136 u32 mpll_dq_func_cntl; member in struct:ci_clock_registers
H A Dsi_dpm.c3593 si_pi->clock_registers.mpll_dq_func_cntl = RREG32(MPLL_DQ_FUNC_CNTL); si_read_clock_registers()
4396 cpu_to_be32(si_pi->clock_registers.mpll_dq_func_cntl); si_populate_smc_initial_state()
4514 u32 mpll_dq_func_cntl = si_pi->clock_registers.mpll_dq_func_cntl; si_populate_smc_acpi_state() local
4598 cpu_to_be32(mpll_dq_func_cntl); si_populate_smc_acpi_state()
4897 u32 mpll_dq_func_cntl = si_pi->clock_registers.mpll_dq_func_cntl; si_populate_mclk_value() local
4921 mpll_dq_func_cntl &= ~(YCLK_SEL_MASK | YCLK_POST_DIV_MASK); si_populate_mclk_value()
4922 mpll_dq_func_cntl |= YCLK_SEL(mpll_param.yclk_sel) | si_populate_mclk_value()
4965 mclk->vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); si_populate_mclk_value()
H A Dci_dpm.c1859 pi->clock_registers.mpll_dq_func_cntl = RREG32(MPLL_DQ_FUNC_CNTL); ci_read_clock_registers()
2768 u32 mpll_dq_func_cntl = pi->clock_registers.mpll_dq_func_cntl; ci_calculate_mclk_params() local
2792 mpll_dq_func_cntl &= ~(YCLK_SEL_MASK | YCLK_POST_DIV_MASK); ci_calculate_mclk_params()
2793 mpll_dq_func_cntl |= YCLK_SEL(mpll_param.yclk_sel) | ci_calculate_mclk_params()
2836 mclk->MpllDqFuncCntl = mpll_dq_func_cntl; ci_calculate_mclk_params()
3047 cpu_to_be32(pi->clock_registers.mpll_dq_func_cntl); ci_populate_smc_acpi_level()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Dci_dpm.h137 u32 mpll_dq_func_cntl; member in struct:ci_clock_registers
H A Dci_dpm.c1987 pi->clock_registers.mpll_dq_func_cntl = RREG32(mmMPLL_DQ_FUNC_CNTL); ci_read_clock_registers()
2898 u32 mpll_dq_func_cntl = pi->clock_registers.mpll_dq_func_cntl; ci_calculate_mclk_params() local
2924 mpll_dq_func_cntl &= ~(MPLL_DQ_FUNC_CNTL__YCLK_SEL_MASK | ci_calculate_mclk_params()
2926 mpll_dq_func_cntl |= (mpll_param.yclk_sel << MPLL_DQ_FUNC_CNTL__YCLK_SEL__SHIFT) | ci_calculate_mclk_params()
2971 mclk->MpllDqFuncCntl = mpll_dq_func_cntl; ci_calculate_mclk_params()
3185 cpu_to_be32(pi->clock_registers.mpll_dq_func_cntl); ci_populate_smc_acpi_level()

Completed in 247 milliseconds