Home
last modified time | relevance | path

Searched refs:spll_func_cntl_2 (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Drv740_dpm.c126 u32 spll_func_cntl_2 = pi->clk_regs.rv770.cg_spll_func_cntl_2; in rv740_populate_sclk_value() local
151 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in rv740_populate_sclk_value()
152 spll_func_cntl_2 |= SCLK_MUX_SEL(2); in rv740_populate_sclk_value()
178 sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in rv740_populate_sclk_value()
323 u32 spll_func_cntl_2 = pi->clk_regs.rv770.cg_spll_func_cntl_2; in rv740_populate_smc_acpi_state() local
370 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in rv740_populate_smc_acpi_state()
371 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in rv740_populate_smc_acpi_state()
383 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in rv740_populate_smc_acpi_state()
Drv730_dpm.c46 u32 spll_func_cntl_2 = pi->clk_regs.rv730.cg_spll_func_cntl_2; in rv730_populate_sclk_value() local
83 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in rv730_populate_sclk_value()
84 spll_func_cntl_2 |= SCLK_MUX_SEL(2); in rv730_populate_sclk_value()
110 sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in rv730_populate_sclk_value()
238 u32 spll_func_cntl_2; in rv730_populate_smc_acpi_state() local
287 spll_func_cntl_2 = pi->clk_regs.rv730.cg_spll_func_cntl_2; in rv730_populate_smc_acpi_state()
293 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in rv730_populate_smc_acpi_state()
294 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in rv730_populate_smc_acpi_state()
305 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in rv730_populate_smc_acpi_state()
Drv770_dpm.c491 u32 spll_func_cntl_2 = in rv770_populate_sclk_value() local
530 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in rv770_populate_sclk_value()
531 spll_func_cntl_2 |= SCLK_MUX_SEL(2); in rv770_populate_sclk_value()
557 sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in rv770_populate_sclk_value()
929 u32 spll_func_cntl_2 = in rv770_populate_smc_acpi_state() local
978 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in rv770_populate_smc_acpi_state()
979 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in rv770_populate_smc_acpi_state()
992 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in rv770_populate_smc_acpi_state()
Dni_dpm.c1802 u32 spll_func_cntl_2 = ni_pi->clock_registers.cg_spll_func_cntl_2; in ni_populate_smc_acpi_state() local
1901 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in ni_populate_smc_acpi_state()
1902 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in ni_populate_smc_acpi_state()
1914 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in ni_populate_smc_acpi_state()
2005 u32 spll_func_cntl_2 = ni_pi->clock_registers.cg_spll_func_cntl_2; in ni_calculate_sclk_params() local
2032 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in ni_calculate_sclk_params()
2033 spll_func_cntl_2 |= SCLK_MUX_SEL(2); in ni_calculate_sclk_params()
2059 sclk->vCG_SPLL_FUNC_CNTL_2 = spll_func_cntl_2; in ni_calculate_sclk_params()
Dcypress_dpm.c1346 u32 spll_func_cntl_2 = in cypress_populate_smc_acpi_state() local
1431 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in cypress_populate_smc_acpi_state()
1432 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in cypress_populate_smc_acpi_state()
1451 cpu_to_be32(spll_func_cntl_2); in cypress_populate_smc_acpi_state()
Dsi_dpm.c4478 u32 spll_func_cntl_2 = si_pi->clock_registers.cg_spll_func_cntl_2; in si_populate_smc_acpi_state() local
4558 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in si_populate_smc_acpi_state()
4559 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in si_populate_smc_acpi_state()
4583 cpu_to_be32(spll_func_cntl_2); in si_populate_smc_acpi_state()
4772 u32 spll_func_cntl_2 = si_pi->clock_registers.cg_spll_func_cntl_2; in si_calculate_sclk_params() local
4798 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in si_calculate_sclk_params()
4799 spll_func_cntl_2 |= SCLK_MUX_SEL(2); in si_calculate_sclk_params()
4825 sclk->vCG_SPLL_FUNC_CNTL_2 = spll_func_cntl_2; in si_calculate_sclk_params()
Dci_dpm.c2981 u32 spll_func_cntl_2 = pi->clock_registers.cg_spll_func_cntl_2; in ci_populate_smc_acpi_level() local
3010 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in ci_populate_smc_acpi_level()
3011 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in ci_populate_smc_acpi_level()
3014 table->ACPILevel.CgSpllFuncCntl2 = spll_func_cntl_2; in ci_populate_smc_acpi_level()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dfiji_smumgr.c1309 uint32_t spll_func_cntl_2 = data->clock_registers.vCG_SPLL_FUNC_CNTL_2; in fiji_populate_smc_acpi_level() local
1348 spll_func_cntl_2 = PHM_SET_FIELD(spll_func_cntl_2, CG_SPLL_FUNC_CNTL_2, in fiji_populate_smc_acpi_level()
1352 table->ACPILevel.CgSpllFuncCntl2 = spll_func_cntl_2; in fiji_populate_smc_acpi_level()
Diceland_smumgr.c1432 uint32_t spll_func_cntl_2 = data->clock_registers.vCG_SPLL_FUNC_CNTL_2; in iceland_populate_smc_acpi_level() local
1465 spll_func_cntl_2 = PHM_SET_FIELD(spll_func_cntl_2, in iceland_populate_smc_acpi_level()
1469 table->ACPILevel.CgSpllFuncCntl2 = spll_func_cntl_2; in iceland_populate_smc_acpi_level()
Dtonga_smumgr.c1184 uint32_t spll_func_cntl_2 = data->clock_registers.vCG_SPLL_FUNC_CNTL_2; in tonga_populate_smc_acpi_level() local
1214 spll_func_cntl_2 = PHM_SET_FIELD(spll_func_cntl_2, CG_SPLL_FUNC_CNTL_2, in tonga_populate_smc_acpi_level()
1218 table->ACPILevel.CgSpllFuncCntl2 = spll_func_cntl_2; in tonga_populate_smc_acpi_level()
Dci_smumgr.c1385 uint32_t spll_func_cntl_2 = data->clock_registers.vCG_SPLL_FUNC_CNTL_2; in ci_populate_smc_acpi_level() local
1418 spll_func_cntl_2 = PHM_SET_FIELD(spll_func_cntl_2, in ci_populate_smc_acpi_level()
1422 table->ACPILevel.CgSpllFuncCntl2 = spll_func_cntl_2; in ci_populate_smc_acpi_level()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/
Dsi_dpm.c4937 u32 spll_func_cntl_2 = si_pi->clock_registers.cg_spll_func_cntl_2; in si_populate_smc_acpi_state() local
5018 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in si_populate_smc_acpi_state()
5019 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in si_populate_smc_acpi_state()
5043 cpu_to_be32(spll_func_cntl_2); in si_populate_smc_acpi_state()
5231 u32 spll_func_cntl_2 = si_pi->clock_registers.cg_spll_func_cntl_2; in si_calculate_sclk_params() local
5257 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in si_calculate_sclk_params()
5258 spll_func_cntl_2 |= SCLK_MUX_SEL(2); in si_calculate_sclk_params()
5284 sclk->vCG_SPLL_FUNC_CNTL_2 = spll_func_cntl_2; in si_calculate_sclk_params()