Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/radeon/
A Drv740_dpm.c192 u32 mpll_dq_func_cntl = pi->clk_regs.rv770.mpll_dq_func_cntl; in rv740_populate_mclk_value() local
227 mpll_dq_func_cntl &= ~(CLKR_MASK | in rv740_populate_mclk_value()
232 mpll_dq_func_cntl |= CLKR(dividers.ref_div); in rv740_populate_mclk_value()
233 mpll_dq_func_cntl |= YCLK_POST_DIV(dividers.post_div); in rv740_populate_mclk_value()
234 mpll_dq_func_cntl |= CLKF(dividers.whole_fb_div); in rv740_populate_mclk_value()
235 mpll_dq_func_cntl |= CLKFRAC(dividers.frac_fb_div); in rv740_populate_mclk_value()
236 mpll_dq_func_cntl |= IBIAS(ibias); in rv740_populate_mclk_value()
273 mclk->mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); in rv740_populate_mclk_value()
302 pi->clk_regs.rv770.mpll_dq_func_cntl = in rv740_read_clock_registers()
319 u32 mpll_dq_func_cntl = pi->clk_regs.rv770.mpll_dq_func_cntl; in rv740_populate_smc_acpi_state() local
[all …]
A Dcypress_dpm.c483 u32 mpll_dq_func_cntl = in cypress_populate_mclk_value() local
484 pi->clk_regs.rv770.mpll_dq_func_cntl; in cypress_populate_mclk_value()
530 mpll_dq_func_cntl &= ~(CLKR_MASK | in cypress_populate_mclk_value()
535 mpll_dq_func_cntl |= CLKR(dividers.ref_div); in cypress_populate_mclk_value()
539 mpll_dq_func_cntl |= IBIAS(ibias); in cypress_populate_mclk_value()
542 mpll_dq_func_cntl &= ~PDNB; in cypress_populate_mclk_value()
544 mpll_dq_func_cntl |= PDNB; in cypress_populate_mclk_value()
1338 u32 mpll_dq_func_cntl = in cypress_populate_smc_acpi_state() local
1339 pi->clk_regs.rv770.mpll_dq_func_cntl; in cypress_populate_smc_acpi_state()
1395 mpll_dq_func_cntl &= ~PDNB; in cypress_populate_smc_acpi_state()
[all …]
A Drv770_dpm.c397 u32 mpll_dq_func_cntl = in rv770_populate_mclk_value() local
398 pi->clk_regs.rv770.mpll_dq_func_cntl; in rv770_populate_mclk_value()
457 mpll_dq_func_cntl &= ~(CLKR_MASK | in rv770_populate_mclk_value()
463 mpll_dq_func_cntl |= YCLK_POST_DIV(postdiv_yclk); in rv770_populate_mclk_value()
464 mpll_dq_func_cntl |= CLKF(clkf); in rv770_populate_mclk_value()
465 mpll_dq_func_cntl |= CLKFRAC(clkfrac); in rv770_populate_mclk_value()
466 mpll_dq_func_cntl |= IBIAS(ibias); in rv770_populate_mclk_value()
925 u32 mpll_dq_func_cntl = in rv770_populate_smc_acpi_state() local
926 pi->clk_regs.rv770.mpll_dq_func_cntl; in rv770_populate_smc_acpi_state()
1037 cpu_to_be32(pi->clk_regs.rv770.mpll_dq_func_cntl); in rv770_populate_smc_initial_state()
[all …]
A Dni_dpm.c1695 cpu_to_be32(ni_pi->clock_registers.mpll_dq_func_cntl); in ni_populate_smc_initial_state()
1798 u32 mpll_dq_func_cntl = ni_pi->clock_registers.mpll_dq_func_cntl; in ni_populate_smc_acpi_state() local
1869 mpll_dq_func_cntl &= ~PDNB; in ni_populate_smc_acpi_state()
2171 u32 mpll_dq_func_cntl = ni_pi->clock_registers.mpll_dq_func_cntl; in ni_populate_mclk_value() local
2214 mpll_dq_func_cntl &= ~(CLKR_MASK | in ni_populate_mclk_value()
2219 mpll_dq_func_cntl |= CLKR(dividers.ref_div); in ni_populate_mclk_value()
2221 mpll_dq_func_cntl |= CLKF(dividers.whole_fb_div); in ni_populate_mclk_value()
2222 mpll_dq_func_cntl |= CLKFRAC(dividers.frac_fb_div); in ni_populate_mclk_value()
2223 mpll_dq_func_cntl |= IBIAS(ibias); in ni_populate_mclk_value()
2226 mpll_dq_func_cntl &= ~PDNB; in ni_populate_mclk_value()
[all …]
A Dsi_dpm.h99 u32 mpll_dq_func_cntl; member
A Dni_dpm.h41 u32 mpll_dq_func_cntl; member
A Dci_dpm.h137 u32 mpll_dq_func_cntl; member
A Drv770_dpm.h37 u32 mpll_dq_func_cntl; member
A Dsi_dpm.c3561 si_pi->clock_registers.mpll_dq_func_cntl = RREG32(MPLL_DQ_FUNC_CNTL); in si_read_clock_registers()
4363 cpu_to_be32(si_pi->clock_registers.mpll_dq_func_cntl); in si_populate_smc_initial_state()
4481 u32 mpll_dq_func_cntl = si_pi->clock_registers.mpll_dq_func_cntl; in si_populate_smc_acpi_state() local
4565 cpu_to_be32(mpll_dq_func_cntl); in si_populate_smc_acpi_state()
4866 u32 mpll_dq_func_cntl = si_pi->clock_registers.mpll_dq_func_cntl; in si_populate_mclk_value() local
4890 mpll_dq_func_cntl &= ~(YCLK_SEL_MASK | YCLK_POST_DIV_MASK); in si_populate_mclk_value()
4891 mpll_dq_func_cntl |= YCLK_SEL(mpll_param.yclk_sel) | in si_populate_mclk_value()
4934 mclk->vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); in si_populate_mclk_value()
A Dci_dpm.c1852 pi->clock_registers.mpll_dq_func_cntl = RREG32(MPLL_DQ_FUNC_CNTL); in ci_read_clock_registers()
2761 u32 mpll_dq_func_cntl = pi->clock_registers.mpll_dq_func_cntl; in ci_calculate_mclk_params() local
2785 mpll_dq_func_cntl &= ~(YCLK_SEL_MASK | YCLK_POST_DIV_MASK); in ci_calculate_mclk_params()
2786 mpll_dq_func_cntl |= YCLK_SEL(mpll_param.yclk_sel) | in ci_calculate_mclk_params()
2829 mclk->MpllDqFuncCntl = mpll_dq_func_cntl; in ci_calculate_mclk_params()
3040 cpu_to_be32(pi->clock_registers.mpll_dq_func_cntl); in ci_populate_smc_acpi_level()
/linux/drivers/gpu/drm/amd/pm/powerplay/
A Dsi_dpm.h359 u32 mpll_dq_func_cntl; member
503 u32 mpll_dq_func_cntl; member
915 u32 mpll_dq_func_cntl; member
A Dsi_dpm.c4020 si_pi->clock_registers.mpll_dq_func_cntl = RREG32(MPLL_DQ_FUNC_CNTL); in si_read_clock_registers()
4827 cpu_to_be32(si_pi->clock_registers.mpll_dq_func_cntl); in si_populate_smc_initial_state()
4943 u32 mpll_dq_func_cntl = si_pi->clock_registers.mpll_dq_func_cntl; in si_populate_smc_acpi_state() local
5028 cpu_to_be32(mpll_dq_func_cntl); in si_populate_smc_acpi_state()
5328 u32 mpll_dq_func_cntl = si_pi->clock_registers.mpll_dq_func_cntl; in si_populate_mclk_value() local
5352 mpll_dq_func_cntl &= ~(YCLK_SEL_MASK | YCLK_POST_DIV_MASK); in si_populate_mclk_value()
5353 mpll_dq_func_cntl |= YCLK_SEL(mpll_param.yclk_sel) | in si_populate_mclk_value()
5396 mclk->vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); in si_populate_mclk_value()
/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
A Diceland_smumgr.c1057 uint32_t mpll_dq_func_cntl = data->clock_registers.vMPLL_DQ_FUNC_CNTL; in iceland_calculate_mclk_params() local
1089 mpll_dq_func_cntl = PHM_SET_FIELD(mpll_dq_func_cntl, in iceland_calculate_mclk_params()
1091 mpll_dq_func_cntl = PHM_SET_FIELD(mpll_dq_func_cntl, in iceland_calculate_mclk_params()
1160 mclk->MpllDqFuncCntl = mpll_dq_func_cntl; in iceland_calculate_mclk_params()
A Dci_smumgr.c1034 uint32_t mpll_dq_func_cntl = data->clock_registers.vMPLL_DQ_FUNC_CNTL; in ci_calculate_mclk_params() local
1062 mpll_dq_func_cntl = PHM_SET_FIELD(mpll_dq_func_cntl, in ci_calculate_mclk_params()
1064 mpll_dq_func_cntl = PHM_SET_FIELD(mpll_dq_func_cntl, in ci_calculate_mclk_params()
1109 mclk->MpllDqFuncCntl = mpll_dq_func_cntl; in ci_calculate_mclk_params()
A Dtonga_smumgr.c800 uint32_t mpll_dq_func_cntl = data->clock_registers.vMPLL_DQ_FUNC_CNTL; in tonga_calculate_mclk_params() local
839 mpll_dq_func_cntl = PHM_SET_FIELD(mpll_dq_func_cntl, in tonga_calculate_mclk_params()
842 mpll_dq_func_cntl = PHM_SET_FIELD(mpll_dq_func_cntl, in tonga_calculate_mclk_params()
911 mclk->MpllDqFuncCntl = mpll_dq_func_cntl; in tonga_calculate_mclk_params()

Completed in 103 milliseconds