Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Drv740_dpm.c191 u32 mpll_ad_func_cntl = pi->clk_regs.rv770.mpll_ad_func_cntl; in rv740_populate_mclk_value() local
211 mpll_ad_func_cntl &= ~(CLKR_MASK | in rv740_populate_mclk_value()
216 mpll_ad_func_cntl |= CLKR(dividers.ref_div); in rv740_populate_mclk_value()
217 mpll_ad_func_cntl |= YCLK_POST_DIV(dividers.post_div); in rv740_populate_mclk_value()
218 mpll_ad_func_cntl |= CLKF(dividers.whole_fb_div); in rv740_populate_mclk_value()
219 mpll_ad_func_cntl |= CLKFRAC(dividers.frac_fb_div); in rv740_populate_mclk_value()
220 mpll_ad_func_cntl |= IBIAS(ibias); in rv740_populate_mclk_value()
276 mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in rv740_populate_mclk_value()
303 pi->clk_regs.rv770.mpll_ad_func_cntl in rv740_read_clock_registers()
322 u32 mpll_ad_func_cntl = pi->clk_regs.rv770.mpll_ad_func_cntl; rv740_populate_smc_acpi_state() local
[all...]
H A Dcypress_dpm.c481 u32 mpll_ad_func_cntl = in cypress_populate_mclk_value() local
482 pi->clk_regs.rv770.mpll_ad_func_cntl; in cypress_populate_mclk_value()
515 mpll_ad_func_cntl &= ~(CLKR_MASK | in cypress_populate_mclk_value()
520 mpll_ad_func_cntl |= CLKR(dividers.ref_div); in cypress_populate_mclk_value()
521 mpll_ad_func_cntl |= YCLK_POST_DIV(dividers.post_div); in cypress_populate_mclk_value()
522 mpll_ad_func_cntl |= CLKF(dividers.whole_fb_div); in cypress_populate_mclk_value()
523 mpll_ad_func_cntl |= CLKFRAC(dividers.frac_fb_div); in cypress_populate_mclk_value()
524 mpll_ad_func_cntl |= IBIAS(ibias); in cypress_populate_mclk_value()
603 mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in cypress_populate_mclk_value()
1249 cpu_to_be32(pi->clk_regs.rv770.mpll_ad_func_cntl); in cypress_populate_smc_initial_state()
1340 u32 mpll_ad_func_cntl = cypress_populate_smc_acpi_state() local
[all...]
H A Drv770_dpm.c391 u32 mpll_ad_func_cntl = in rv770_populate_mclk_value() local
392 pi->clk_regs.rv770.mpll_ad_func_cntl; in rv770_populate_mclk_value()
427 mpll_ad_func_cntl &= ~(CLKR_MASK | in rv770_populate_mclk_value()
432 mpll_ad_func_cntl |= CLKR(encoded_reference_dividers[dividers.ref_div - 1]); in rv770_populate_mclk_value()
433 mpll_ad_func_cntl |= YCLK_POST_DIV(postdiv_yclk); in rv770_populate_mclk_value()
434 mpll_ad_func_cntl |= CLKF(clkf); in rv770_populate_mclk_value()
435 mpll_ad_func_cntl |= CLKFRAC(clkfrac); in rv770_populate_mclk_value()
436 mpll_ad_func_cntl |= IBIAS(ibias); in rv770_populate_mclk_value()
473 mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in rv770_populate_mclk_value()
919 u32 mpll_ad_func_cntl in rv770_populate_smc_acpi_state() local
[all...]
H A Dsi_dpm.h98 u32 mpll_ad_func_cntl; member
H A Dni_dpm.h39 u32 mpll_ad_func_cntl; member
H A Dni_dpm.c1190 ni_pi->clock_registers.mpll_ad_func_cntl = RREG32(MPLL_AD_FUNC_CNTL); in ni_read_clock_registers()
1692 cpu_to_be32(ni_pi->clock_registers.mpll_ad_func_cntl); in ni_populate_smc_initial_state()
1797 u32 mpll_ad_func_cntl = ni_pi->clock_registers.mpll_ad_func_cntl; in ni_populate_smc_acpi_state() local
1865 mpll_ad_func_cntl &= ~PDNB; in ni_populate_smc_acpi_state()
1904 table->ACPIState.levels[0].mclk.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in ni_populate_smc_acpi_state()
2168 u32 mpll_ad_func_cntl = ni_pi->clock_registers.mpll_ad_func_cntl; in ni_populate_mclk_value() local
2196 mpll_ad_func_cntl &= ~(CLKR_MASK | in ni_populate_mclk_value()
2201 mpll_ad_func_cntl | in ni_populate_mclk_value()
[all...]
H A Dci_dpm.h136 u32 mpll_ad_func_cntl; member
H A Drv770_dpm.h35 u32 mpll_ad_func_cntl; member
H A Dsi_dpm.c3563 si_pi->clock_registers.mpll_ad_func_cntl = RREG32(MPLL_AD_FUNC_CNTL); in si_read_clock_registers()
4364 cpu_to_be32(si_pi->clock_registers.mpll_ad_func_cntl); in si_populate_smc_initial_state()
4483 u32 mpll_ad_func_cntl = si_pi->clock_registers.mpll_ad_func_cntl; in si_populate_smc_acpi_state() local
4566 cpu_to_be32(mpll_ad_func_cntl); in si_populate_smc_acpi_state()
4866 u32 mpll_ad_func_cntl = si_pi->clock_registers.mpll_ad_func_cntl; in si_populate_mclk_value() local
4887 mpll_ad_func_cntl &= ~YCLK_POST_DIV_MASK; in si_populate_mclk_value()
4888 mpll_ad_func_cntl |= YCLK_POST_DIV(mpll_param.post_div); in si_populate_mclk_value()
4934 mclk->vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in si_populate_mclk_value()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Drv740_dpm.c190 u32 mpll_ad_func_cntl = pi->clk_regs.rv770.mpll_ad_func_cntl; in rv740_populate_mclk_value() local
210 mpll_ad_func_cntl &= ~(CLKR_MASK | in rv740_populate_mclk_value()
215 mpll_ad_func_cntl |= CLKR(dividers.ref_div); in rv740_populate_mclk_value()
216 mpll_ad_func_cntl |= YCLK_POST_DIV(dividers.post_div); in rv740_populate_mclk_value()
217 mpll_ad_func_cntl |= CLKF(dividers.whole_fb_div); in rv740_populate_mclk_value()
218 mpll_ad_func_cntl |= CLKFRAC(dividers.frac_fb_div); in rv740_populate_mclk_value()
219 mpll_ad_func_cntl |= IBIAS(ibias); in rv740_populate_mclk_value()
275 mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in rv740_populate_mclk_value()
302 pi->clk_regs.rv770.mpll_ad_func_cntl in rv740_read_clock_registers()
321 u32 mpll_ad_func_cntl = pi->clk_regs.rv770.mpll_ad_func_cntl; rv740_populate_smc_acpi_state() local
[all...]
H A Dcypress_dpm.c479 u32 mpll_ad_func_cntl = in cypress_populate_mclk_value() local
480 pi->clk_regs.rv770.mpll_ad_func_cntl; in cypress_populate_mclk_value()
513 mpll_ad_func_cntl &= ~(CLKR_MASK | in cypress_populate_mclk_value()
518 mpll_ad_func_cntl |= CLKR(dividers.ref_div); in cypress_populate_mclk_value()
519 mpll_ad_func_cntl |= YCLK_POST_DIV(dividers.post_div); in cypress_populate_mclk_value()
520 mpll_ad_func_cntl |= CLKF(dividers.whole_fb_div); in cypress_populate_mclk_value()
521 mpll_ad_func_cntl |= CLKFRAC(dividers.frac_fb_div); in cypress_populate_mclk_value()
522 mpll_ad_func_cntl |= IBIAS(ibias); in cypress_populate_mclk_value()
601 mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in cypress_populate_mclk_value()
1247 cpu_to_be32(pi->clk_regs.rv770.mpll_ad_func_cntl); in cypress_populate_smc_initial_state()
1338 u32 mpll_ad_func_cntl = cypress_populate_smc_acpi_state() local
[all...]
H A Drv770_dpm.c393 u32 mpll_ad_func_cntl = in rv770_populate_mclk_value() local
394 pi->clk_regs.rv770.mpll_ad_func_cntl; in rv770_populate_mclk_value()
429 mpll_ad_func_cntl &= ~(CLKR_MASK | in rv770_populate_mclk_value()
434 mpll_ad_func_cntl |= CLKR(encoded_reference_dividers[dividers.ref_div - 1]); in rv770_populate_mclk_value()
435 mpll_ad_func_cntl |= YCLK_POST_DIV(postdiv_yclk); in rv770_populate_mclk_value()
436 mpll_ad_func_cntl |= CLKF(clkf); in rv770_populate_mclk_value()
437 mpll_ad_func_cntl |= CLKFRAC(clkfrac); in rv770_populate_mclk_value()
438 mpll_ad_func_cntl |= IBIAS(ibias); in rv770_populate_mclk_value()
475 mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in rv770_populate_mclk_value()
921 u32 mpll_ad_func_cntl in rv770_populate_smc_acpi_state() local
[all...]
H A Dsi_dpm.h98 u32 mpll_ad_func_cntl; member
H A Dni_dpm.h39 u32 mpll_ad_func_cntl; member
H A Dni_dpm.c1189 ni_pi->clock_registers.mpll_ad_func_cntl = RREG32(MPLL_AD_FUNC_CNTL); in ni_read_clock_registers()
1691 cpu_to_be32(ni_pi->clock_registers.mpll_ad_func_cntl); in ni_populate_smc_initial_state()
1796 u32 mpll_ad_func_cntl = ni_pi->clock_registers.mpll_ad_func_cntl; in ni_populate_smc_acpi_state() local
1864 mpll_ad_func_cntl &= ~PDNB; in ni_populate_smc_acpi_state()
1903 table->ACPIState.level.mclk.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in ni_populate_smc_acpi_state()
2169 u32 mpll_ad_func_cntl = ni_pi->clock_registers.mpll_ad_func_cntl; in ni_populate_mclk_value() local
2197 mpll_ad_func_cntl &= ~(CLKR_MASK | in ni_populate_mclk_value()
2202 mpll_ad_func_cntl | in ni_populate_mclk_value()
[all...]
H A Drv770_dpm.h35 u32 mpll_ad_func_cntl; member
H A Dci_dpm.h136 u32 mpll_ad_func_cntl; member
H A Dsi_dpm.c3560 si_pi->clock_registers.mpll_ad_func_cntl = RREG32(MPLL_AD_FUNC_CNTL); in si_read_clock_registers()
4361 cpu_to_be32(si_pi->clock_registers.mpll_ad_func_cntl); in si_populate_smc_initial_state()
4480 u32 mpll_ad_func_cntl = si_pi->clock_registers.mpll_ad_func_cntl; in si_populate_smc_acpi_state() local
4563 cpu_to_be32(mpll_ad_func_cntl); in si_populate_smc_acpi_state()
4865 u32 mpll_ad_func_cntl = si_pi->clock_registers.mpll_ad_func_cntl; in si_populate_mclk_value() local
4886 mpll_ad_func_cntl &= ~YCLK_POST_DIV_MASK; in si_populate_mclk_value()
4887 mpll_ad_func_cntl |= YCLK_POST_DIV(mpll_param.post_div); in si_populate_mclk_value()
4933 mclk->vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in si_populate_mclk_value()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/
H A Dsi_dpm.h357 u32 mpll_ad_func_cntl; member
501 u32 mpll_ad_func_cntl; member
914 u32 mpll_ad_func_cntl; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.h357 u32 mpll_ad_func_cntl; member
501 u32 mpll_ad_func_cntl; member
921 u32 mpll_ad_func_cntl; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Diceland_smumgr.c1056 uint32_t mpll_ad_func_cntl = data->clock_registers.vMPLL_AD_FUNC_CNTL; in iceland_calculate_mclk_params() local
1084 mpll_ad_func_cntl = PHM_SET_FIELD(mpll_ad_func_cntl, in iceland_calculate_mclk_params()
1159 mclk->MpllAdFuncCntl = mpll_ad_func_cntl; in iceland_calculate_mclk_params()
H A Dci_smumgr.c1033 uint32_t mpll_ad_func_cntl = data->clock_registers.vMPLL_AD_FUNC_CNTL; in ci_calculate_mclk_params() local
1058 mpll_ad_func_cntl = PHM_SET_FIELD(mpll_ad_func_cntl, in ci_calculate_mclk_params()
1108 mclk->MpllAdFuncCntl = mpll_ad_func_cntl; in ci_calculate_mclk_params()
H A Dtonga_smumgr.c799 uint32_t mpll_ad_func_cntl = data->clock_registers.vMPLL_AD_FUNC_CNTL; in tonga_calculate_mclk_params() local
833 mpll_ad_func_cntl = PHM_SET_FIELD(mpll_ad_func_cntl, in tonga_calculate_mclk_params()
910 mclk->MpllAdFuncCntl = mpll_ad_func_cntl; in tonga_calculate_mclk_params()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Diceland_smumgr.c1056 uint32_t mpll_ad_func_cntl = data->clock_registers.vMPLL_AD_FUNC_CNTL; in iceland_calculate_mclk_params() local
1084 mpll_ad_func_cntl = PHM_SET_FIELD(mpll_ad_func_cntl, in iceland_calculate_mclk_params()
1159 mclk->MpllAdFuncCntl = mpll_ad_func_cntl; in iceland_calculate_mclk_params()
H A Dtonga_smumgr.c799 uint32_t mpll_ad_func_cntl = data->clock_registers.vMPLL_AD_FUNC_CNTL; in tonga_calculate_mclk_params() local
833 mpll_ad_func_cntl = PHM_SET_FIELD(mpll_ad_func_cntl, in tonga_calculate_mclk_params()
910 mclk->MpllAdFuncCntl = mpll_ad_func_cntl; in tonga_calculate_mclk_params()

Completed in 57 milliseconds

12