Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/radeon/
Drv740_dpm.c194 u32 mpll_dq_func_cntl = pi->clk_regs.rv770.mpll_dq_func_cntl; in rv740_populate_mclk_value() local
229 mpll_dq_func_cntl &= ~(CLKR_MASK | in rv740_populate_mclk_value()
234 mpll_dq_func_cntl |= CLKR(dividers.ref_div); in rv740_populate_mclk_value()
235 mpll_dq_func_cntl |= YCLK_POST_DIV(dividers.post_div); in rv740_populate_mclk_value()
236 mpll_dq_func_cntl |= CLKF(dividers.whole_fb_div); in rv740_populate_mclk_value()
237 mpll_dq_func_cntl |= CLKFRAC(dividers.frac_fb_div); in rv740_populate_mclk_value()
238 mpll_dq_func_cntl |= IBIAS(ibias); in rv740_populate_mclk_value()
275 mclk->mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); in rv740_populate_mclk_value()
304 pi->clk_regs.rv770.mpll_dq_func_cntl = in rv740_read_clock_registers()
321 u32 mpll_dq_func_cntl = pi->clk_regs.rv770.mpll_dq_func_cntl; in rv740_populate_smc_acpi_state() local
[all …]
Dcypress_dpm.c484 u32 mpll_dq_func_cntl = in cypress_populate_mclk_value() local
485 pi->clk_regs.rv770.mpll_dq_func_cntl; in cypress_populate_mclk_value()
531 mpll_dq_func_cntl &= ~(CLKR_MASK | in cypress_populate_mclk_value()
536 mpll_dq_func_cntl |= CLKR(dividers.ref_div); in cypress_populate_mclk_value()
537 mpll_dq_func_cntl |= YCLK_POST_DIV(dividers.post_div); in cypress_populate_mclk_value()
538 mpll_dq_func_cntl |= CLKF(dividers.whole_fb_div); in cypress_populate_mclk_value()
539 mpll_dq_func_cntl |= CLKFRAC(dividers.frac_fb_div); in cypress_populate_mclk_value()
540 mpll_dq_func_cntl |= IBIAS(ibias); in cypress_populate_mclk_value()
543 mpll_dq_func_cntl &= ~PDNB; in cypress_populate_mclk_value()
545 mpll_dq_func_cntl |= PDNB; in cypress_populate_mclk_value()
[all …]
Drv770_dpm.c396 u32 mpll_dq_func_cntl = in rv770_populate_mclk_value() local
397 pi->clk_regs.rv770.mpll_dq_func_cntl; in rv770_populate_mclk_value()
456 mpll_dq_func_cntl &= ~(CLKR_MASK | in rv770_populate_mclk_value()
461 mpll_dq_func_cntl |= CLKR(encoded_reference_dividers[dividers.ref_div - 1]); in rv770_populate_mclk_value()
462 mpll_dq_func_cntl |= YCLK_POST_DIV(postdiv_yclk); in rv770_populate_mclk_value()
463 mpll_dq_func_cntl |= CLKF(clkf); in rv770_populate_mclk_value()
464 mpll_dq_func_cntl |= CLKFRAC(clkfrac); in rv770_populate_mclk_value()
465 mpll_dq_func_cntl |= IBIAS(ibias); in rv770_populate_mclk_value()
476 mclk->mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); in rv770_populate_mclk_value()
924 u32 mpll_dq_func_cntl = in rv770_populate_smc_acpi_state() local
[all …]
Dni_dpm.c1191 ni_pi->clock_registers.mpll_dq_func_cntl = RREG32(MPLL_DQ_FUNC_CNTL); in ni_read_clock_registers()
1695 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()
1905 table->ACPIState.levels[0].mclk.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); in ni_populate_smc_acpi_state()
2169 u32 mpll_dq_func_cntl = ni_pi->clock_registers.mpll_dq_func_cntl; in ni_populate_mclk_value() local
2212 mpll_dq_func_cntl &= ~(CLKR_MASK | in ni_populate_mclk_value()
2217 mpll_dq_func_cntl |= CLKR(dividers.ref_div); in ni_populate_mclk_value()
2218 mpll_dq_func_cntl |= YCLK_POST_DIV(dividers.post_div); in ni_populate_mclk_value()
2219 mpll_dq_func_cntl |= CLKF(dividers.whole_fb_div); in ni_populate_mclk_value()
[all …]
Dsi_dpm.h99 u32 mpll_dq_func_cntl; member
Dni_dpm.h41 u32 mpll_dq_func_cntl; member
Dci_dpm.h136 u32 mpll_dq_func_cntl; member
Drv770_dpm.h36 u32 mpll_dq_func_cntl; member
Dsi_dpm.c3578 si_pi->clock_registers.mpll_dq_func_cntl = RREG32(MPLL_DQ_FUNC_CNTL); in si_read_clock_registers()
4381 cpu_to_be32(si_pi->clock_registers.mpll_dq_func_cntl); in si_populate_smc_initial_state()
4499 u32 mpll_dq_func_cntl = si_pi->clock_registers.mpll_dq_func_cntl; in si_populate_smc_acpi_state() local
4583 cpu_to_be32(mpll_dq_func_cntl); in si_populate_smc_acpi_state()
4882 u32 mpll_dq_func_cntl = si_pi->clock_registers.mpll_dq_func_cntl; in si_populate_mclk_value() local
4906 mpll_dq_func_cntl &= ~(YCLK_SEL_MASK | YCLK_POST_DIV_MASK); in si_populate_mclk_value()
4907 mpll_dq_func_cntl |= YCLK_SEL(mpll_param.yclk_sel) | in si_populate_mclk_value()
4950 mclk->vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); in si_populate_mclk_value()
Dci_dpm.c1887 pi->clock_registers.mpll_dq_func_cntl = RREG32(MPLL_DQ_FUNC_CNTL); in ci_read_clock_registers()
2796 u32 mpll_dq_func_cntl = pi->clock_registers.mpll_dq_func_cntl; in ci_calculate_mclk_params() local
2820 mpll_dq_func_cntl &= ~(YCLK_SEL_MASK | YCLK_POST_DIV_MASK); in ci_calculate_mclk_params()
2821 mpll_dq_func_cntl |= YCLK_SEL(mpll_param.yclk_sel) | in ci_calculate_mclk_params()
2864 mclk->MpllDqFuncCntl = mpll_dq_func_cntl; in ci_calculate_mclk_params()
3075 cpu_to_be32(pi->clock_registers.mpll_dq_func_cntl); in ci_populate_smc_acpi_level()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Dsi_dpm.h359 u32 mpll_dq_func_cntl; member
503 u32 mpll_dq_func_cntl; member
915 u32 mpll_dq_func_cntl; member
Dci_dpm.h137 u32 mpll_dq_func_cntl; member
Dsi_dpm.c4039 si_pi->clock_registers.mpll_dq_func_cntl = RREG32(MPLL_DQ_FUNC_CNTL); in si_read_clock_registers()
4847 cpu_to_be32(si_pi->clock_registers.mpll_dq_func_cntl); in si_populate_smc_initial_state()
4963 u32 mpll_dq_func_cntl = si_pi->clock_registers.mpll_dq_func_cntl; in si_populate_smc_acpi_state() local
5048 cpu_to_be32(mpll_dq_func_cntl); in si_populate_smc_acpi_state()
5346 u32 mpll_dq_func_cntl = si_pi->clock_registers.mpll_dq_func_cntl; in si_populate_mclk_value() local
5370 mpll_dq_func_cntl &= ~(YCLK_SEL_MASK | YCLK_POST_DIV_MASK); in si_populate_mclk_value()
5371 mpll_dq_func_cntl |= YCLK_SEL(mpll_param.yclk_sel) | in si_populate_mclk_value()
5414 mclk->vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); in si_populate_mclk_value()
Dci_dpm.c2021 pi->clock_registers.mpll_dq_func_cntl = RREG32(mmMPLL_DQ_FUNC_CNTL); in ci_read_clock_registers()
2934 u32 mpll_dq_func_cntl = pi->clock_registers.mpll_dq_func_cntl; in ci_calculate_mclk_params() local
2960 mpll_dq_func_cntl &= ~(MPLL_DQ_FUNC_CNTL__YCLK_SEL_MASK | in ci_calculate_mclk_params()
2962 mpll_dq_func_cntl |= (mpll_param.yclk_sel << MPLL_DQ_FUNC_CNTL__YCLK_SEL__SHIFT) | in ci_calculate_mclk_params()
3007 mclk->MpllDqFuncCntl = mpll_dq_func_cntl; in ci_calculate_mclk_params()
3221 cpu_to_be32(pi->clock_registers.mpll_dq_func_cntl); in ci_populate_smc_acpi_level()
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/smumgr/
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()
Dci_smumgr.c1032 uint32_t mpll_dq_func_cntl = data->clock_registers.vMPLL_DQ_FUNC_CNTL; in ci_calculate_mclk_params() local
1060 mpll_dq_func_cntl = PHM_SET_FIELD(mpll_dq_func_cntl, in ci_calculate_mclk_params()
1062 mpll_dq_func_cntl = PHM_SET_FIELD(mpll_dq_func_cntl, in ci_calculate_mclk_params()
1107 mclk->MpllDqFuncCntl = mpll_dq_func_cntl; in ci_calculate_mclk_params()
Dtonga_smumgr.c790 uint32_t mpll_dq_func_cntl = data->clock_registers.vMPLL_DQ_FUNC_CNTL; in tonga_calculate_mclk_params() local
829 mpll_dq_func_cntl = PHM_SET_FIELD(mpll_dq_func_cntl, in tonga_calculate_mclk_params()
832 mpll_dq_func_cntl = PHM_SET_FIELD(mpll_dq_func_cntl, in tonga_calculate_mclk_params()
901 mclk->MpllDqFuncCntl = mpll_dq_func_cntl; in tonga_calculate_mclk_params()