Home
last modified time | relevance | path

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

/drivers/gpu/drm/radeon/
Drv740_dpm.c193 u32 mpll_dq_func_cntl = pi->clk_regs.rv770.mpll_dq_func_cntl; in rv740_populate_mclk_value() local
228 mpll_dq_func_cntl &= ~(CLKR_MASK | in rv740_populate_mclk_value()
233 mpll_dq_func_cntl |= CLKR(dividers.ref_div); in rv740_populate_mclk_value()
234 mpll_dq_func_cntl |= YCLK_POST_DIV(dividers.post_div); in rv740_populate_mclk_value()
235 mpll_dq_func_cntl |= CLKF(dividers.whole_fb_div); in rv740_populate_mclk_value()
236 mpll_dq_func_cntl |= CLKFRAC(dividers.frac_fb_div); in rv740_populate_mclk_value()
237 mpll_dq_func_cntl |= IBIAS(ibias); in rv740_populate_mclk_value()
274 mclk->mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); in rv740_populate_mclk_value()
303 pi->clk_regs.rv770.mpll_dq_func_cntl = in rv740_read_clock_registers()
320 u32 mpll_dq_func_cntl = pi->clk_regs.rv770.mpll_dq_func_cntl; in rv740_populate_smc_acpi_state() local
[all …]
Dcypress_dpm.c485 u32 mpll_dq_func_cntl = in cypress_populate_mclk_value() local
486 pi->clk_regs.rv770.mpll_dq_func_cntl; in cypress_populate_mclk_value()
532 mpll_dq_func_cntl &= ~(CLKR_MASK | in cypress_populate_mclk_value()
537 mpll_dq_func_cntl |= CLKR(dividers.ref_div); in cypress_populate_mclk_value()
538 mpll_dq_func_cntl |= YCLK_POST_DIV(dividers.post_div); in cypress_populate_mclk_value()
539 mpll_dq_func_cntl |= CLKF(dividers.whole_fb_div); in cypress_populate_mclk_value()
540 mpll_dq_func_cntl |= CLKFRAC(dividers.frac_fb_div); in cypress_populate_mclk_value()
541 mpll_dq_func_cntl |= IBIAS(ibias); in cypress_populate_mclk_value()
544 mpll_dq_func_cntl &= ~PDNB; in cypress_populate_mclk_value()
546 mpll_dq_func_cntl |= PDNB; in cypress_populate_mclk_value()
[all …]
Drv770_dpm.c395 u32 mpll_dq_func_cntl = in rv770_populate_mclk_value() local
396 pi->clk_regs.rv770.mpll_dq_func_cntl; in rv770_populate_mclk_value()
455 mpll_dq_func_cntl &= ~(CLKR_MASK | in rv770_populate_mclk_value()
460 mpll_dq_func_cntl |= CLKR(encoded_reference_dividers[dividers.ref_div - 1]); in rv770_populate_mclk_value()
461 mpll_dq_func_cntl |= YCLK_POST_DIV(postdiv_yclk); in rv770_populate_mclk_value()
462 mpll_dq_func_cntl |= CLKF(clkf); in rv770_populate_mclk_value()
463 mpll_dq_func_cntl |= CLKFRAC(clkfrac); in rv770_populate_mclk_value()
464 mpll_dq_func_cntl |= IBIAS(ibias); in rv770_populate_mclk_value()
475 mclk->mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); in rv770_populate_mclk_value()
923 u32 mpll_dq_func_cntl = in rv770_populate_smc_acpi_state() local
[all …]
Dni_dpm.c1193 ni_pi->clock_registers.mpll_dq_func_cntl = RREG32(MPLL_DQ_FUNC_CNTL); in ni_read_clock_registers()
1697 cpu_to_be32(ni_pi->clock_registers.mpll_dq_func_cntl); in ni_populate_smc_initial_state()
1800 u32 mpll_dq_func_cntl = ni_pi->clock_registers.mpll_dq_func_cntl; in ni_populate_smc_acpi_state() local
1871 mpll_dq_func_cntl &= ~PDNB; in ni_populate_smc_acpi_state()
1907 table->ACPIState.levels[0].mclk.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); 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()
2220 mpll_dq_func_cntl |= YCLK_POST_DIV(dividers.post_div); in ni_populate_mclk_value()
2221 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.h137 u32 mpll_dq_func_cntl; member
Drv770_dpm.h37 u32 mpll_dq_func_cntl; member
Dsi_dpm.c3581 si_pi->clock_registers.mpll_dq_func_cntl = RREG32(MPLL_DQ_FUNC_CNTL); in si_read_clock_registers()
4384 cpu_to_be32(si_pi->clock_registers.mpll_dq_func_cntl); in si_populate_smc_initial_state()
4502 u32 mpll_dq_func_cntl = si_pi->clock_registers.mpll_dq_func_cntl; in si_populate_smc_acpi_state() local
4586 cpu_to_be32(mpll_dq_func_cntl); in si_populate_smc_acpi_state()
4885 u32 mpll_dq_func_cntl = si_pi->clock_registers.mpll_dq_func_cntl; in si_populate_mclk_value() local
4909 mpll_dq_func_cntl &= ~(YCLK_SEL_MASK | YCLK_POST_DIV_MASK); in si_populate_mclk_value()
4910 mpll_dq_func_cntl |= YCLK_SEL(mpll_param.yclk_sel) | in si_populate_mclk_value()
4953 mclk->vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); in si_populate_mclk_value()
Dci_dpm.c1889 pi->clock_registers.mpll_dq_func_cntl = RREG32(MPLL_DQ_FUNC_CNTL); in ci_read_clock_registers()
2798 u32 mpll_dq_func_cntl = pi->clock_registers.mpll_dq_func_cntl; in ci_calculate_mclk_params() local
2822 mpll_dq_func_cntl &= ~(YCLK_SEL_MASK | YCLK_POST_DIV_MASK); in ci_calculate_mclk_params()
2823 mpll_dq_func_cntl |= YCLK_SEL(mpll_param.yclk_sel) | in ci_calculate_mclk_params()
2866 mclk->MpllDqFuncCntl = mpll_dq_func_cntl; in ci_calculate_mclk_params()
3077 cpu_to_be32(pi->clock_registers.mpll_dq_func_cntl); in ci_populate_smc_acpi_level()
/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
Dsi_dpm.c4041 si_pi->clock_registers.mpll_dq_func_cntl = RREG32(MPLL_DQ_FUNC_CNTL); in si_read_clock_registers()
4848 cpu_to_be32(si_pi->clock_registers.mpll_dq_func_cntl); in si_populate_smc_initial_state()
4964 u32 mpll_dq_func_cntl = si_pi->clock_registers.mpll_dq_func_cntl; in si_populate_smc_acpi_state() local
5049 cpu_to_be32(mpll_dq_func_cntl); in si_populate_smc_acpi_state()
5347 u32 mpll_dq_func_cntl = si_pi->clock_registers.mpll_dq_func_cntl; in si_populate_mclk_value() local
5371 mpll_dq_func_cntl &= ~(YCLK_SEL_MASK | YCLK_POST_DIV_MASK); in si_populate_mclk_value()
5372 mpll_dq_func_cntl |= YCLK_SEL(mpll_param.yclk_sel) | in si_populate_mclk_value()
5415 mclk->vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); in si_populate_mclk_value()
/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()
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()
Dci_smumgr.c1033 uint32_t mpll_dq_func_cntl = data->clock_registers.vMPLL_DQ_FUNC_CNTL; in ci_calculate_mclk_params() local
1061 mpll_dq_func_cntl = PHM_SET_FIELD(mpll_dq_func_cntl, in ci_calculate_mclk_params()
1063 mpll_dq_func_cntl = PHM_SET_FIELD(mpll_dq_func_cntl, in ci_calculate_mclk_params()
1108 mclk->MpllDqFuncCntl = mpll_dq_func_cntl; in ci_calculate_mclk_params()