/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | rv740_dpm.c | 126 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() 327 u32 spll_func_cntl_2 = pi->clk_regs.rv770.cg_spll_func_cntl_2; in rv740_populate_smc_acpi_state() local 374 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in rv740_populate_smc_acpi_state() 375 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in rv740_populate_smc_acpi_state() 387 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in rv740_populate_smc_acpi_state()
|
H A D | rv730_dpm.c | 46 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()
|
H A D | rv770_dpm.c | 491 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()
|
H A D | cypress_dpm.c | 1350 u32 spll_func_cntl_2 = in cypress_populate_smc_acpi_state() local 1435 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in cypress_populate_smc_acpi_state() 1436 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in cypress_populate_smc_acpi_state() 1455 cpu_to_be32(spll_func_cntl_2); in cypress_populate_smc_acpi_state()
|
H A D | ni_dpm.c | 1802 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()
|
H A D | si_dpm.c | 4478 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()
|
H A D | ci_dpm.c | 2981 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-6.6/drivers/gpu/drm/radeon/ |
H A D | rv740_dpm.c | 125 u32 spll_func_cntl_2 = pi->clk_regs.rv770.cg_spll_func_cntl_2; in rv740_populate_sclk_value() local 150 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in rv740_populate_sclk_value() 151 spll_func_cntl_2 |= SCLK_MUX_SEL(2); in rv740_populate_sclk_value() 177 sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in rv740_populate_sclk_value() 326 u32 spll_func_cntl_2 = pi->clk_regs.rv770.cg_spll_func_cntl_2; in rv740_populate_smc_acpi_state() local 373 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in rv740_populate_smc_acpi_state() 374 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in rv740_populate_smc_acpi_state() 386 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in rv740_populate_smc_acpi_state()
|
H A D | rv730_dpm.c | 44 u32 spll_func_cntl_2 = pi->clk_regs.rv730.cg_spll_func_cntl_2; in rv730_populate_sclk_value() local 81 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in rv730_populate_sclk_value() 82 spll_func_cntl_2 |= SCLK_MUX_SEL(2); in rv730_populate_sclk_value() 108 sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in rv730_populate_sclk_value() 236 u32 spll_func_cntl_2; in rv730_populate_smc_acpi_state() local 285 spll_func_cntl_2 = pi->clk_regs.rv730.cg_spll_func_cntl_2; in rv730_populate_smc_acpi_state() 291 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in rv730_populate_smc_acpi_state() 292 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in rv730_populate_smc_acpi_state() 303 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in rv730_populate_smc_acpi_state()
|
H A D | rv770_dpm.c | 493 u32 spll_func_cntl_2 = in rv770_populate_sclk_value() local 532 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in rv770_populate_sclk_value() 533 spll_func_cntl_2 |= SCLK_MUX_SEL(2); in rv770_populate_sclk_value() 559 sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in rv770_populate_sclk_value() 931 u32 spll_func_cntl_2 = in rv770_populate_smc_acpi_state() local 980 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in rv770_populate_smc_acpi_state() 981 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in rv770_populate_smc_acpi_state() 994 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in rv770_populate_smc_acpi_state()
|
H A D | cypress_dpm.c | 1348 u32 spll_func_cntl_2 = in cypress_populate_smc_acpi_state() local 1433 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in cypress_populate_smc_acpi_state() 1434 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in cypress_populate_smc_acpi_state() 1453 cpu_to_be32(spll_func_cntl_2); in cypress_populate_smc_acpi_state()
|
H A D | ni_dpm.c | 1801 u32 spll_func_cntl_2 = ni_pi->clock_registers.cg_spll_func_cntl_2; in ni_populate_smc_acpi_state() local 1900 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in ni_populate_smc_acpi_state() 1901 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in ni_populate_smc_acpi_state() 1913 table->ACPIState.level.sclk.vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in ni_populate_smc_acpi_state() 2006 u32 spll_func_cntl_2 = ni_pi->clock_registers.cg_spll_func_cntl_2; in ni_calculate_sclk_params() local 2033 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in ni_calculate_sclk_params() 2034 spll_func_cntl_2 |= SCLK_MUX_SEL(2); in ni_calculate_sclk_params() 2060 sclk->vCG_SPLL_FUNC_CNTL_2 = spll_func_cntl_2; in ni_calculate_sclk_params()
|
H A D | si_dpm.c | 4475 u32 spll_func_cntl_2 = si_pi->clock_registers.cg_spll_func_cntl_2; in si_populate_smc_acpi_state() local 4555 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in si_populate_smc_acpi_state() 4556 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in si_populate_smc_acpi_state() 4580 cpu_to_be32(spll_func_cntl_2); in si_populate_smc_acpi_state() 4771 u32 spll_func_cntl_2 = si_pi->clock_registers.cg_spll_func_cntl_2; in si_calculate_sclk_params() local 4797 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in si_calculate_sclk_params() 4798 spll_func_cntl_2 |= SCLK_MUX_SEL(2); in si_calculate_sclk_params() 4824 sclk->vCG_SPLL_FUNC_CNTL_2 = spll_func_cntl_2; in si_calculate_sclk_params()
|
H A D | ci_dpm.c | 2957 u32 spll_func_cntl_2 = pi->clock_registers.cg_spll_func_cntl_2; in ci_populate_smc_acpi_level() local 2986 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in ci_populate_smc_acpi_level() 2987 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in ci_populate_smc_acpi_level() 2990 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/ |
H A D | fiji_smumgr.c | 1309 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()
|
H A D | iceland_smumgr.c | 1432 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()
|
H A D | ci_smumgr.c | 1385 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()
|
H A D | tonga_smumgr.c | 1184 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | fiji_smumgr.c | 1308 uint32_t spll_func_cntl_2 = data->clock_registers.vCG_SPLL_FUNC_CNTL_2; in fiji_populate_smc_acpi_level() local 1347 spll_func_cntl_2 = PHM_SET_FIELD(spll_func_cntl_2, CG_SPLL_FUNC_CNTL_2, in fiji_populate_smc_acpi_level() 1351 table->ACPILevel.CgSpllFuncCntl2 = spll_func_cntl_2; in fiji_populate_smc_acpi_level()
|
H A D | iceland_smumgr.c | 1432 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()
|
H A D | tonga_smumgr.c | 1184 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()
|
H A D | ci_smumgr.c | 1386 uint32_t spll_func_cntl_2 = data->clock_registers.vCG_SPLL_FUNC_CNTL_2; in ci_populate_smc_acpi_level() local 1419 spll_func_cntl_2 = PHM_SET_FIELD(spll_func_cntl_2, in ci_populate_smc_acpi_level() 1423 table->ACPILevel.CgSpllFuncCntl2 = spll_func_cntl_2; in ci_populate_smc_acpi_level()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/ |
H A D | si_dpm.c | 4937 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/legacy-dpm/ |
H A D | si_dpm.c | 4977 u32 spll_func_cntl_2 = si_pi->clock_registers.cg_spll_func_cntl_2; in si_populate_smc_acpi_state() local 5058 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in si_populate_smc_acpi_state() 5059 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in si_populate_smc_acpi_state() 5083 cpu_to_be32(spll_func_cntl_2); in si_populate_smc_acpi_state() 5273 u32 spll_func_cntl_2 = si_pi->clock_registers.cg_spll_func_cntl_2; in si_calculate_sclk_params() local 5299 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in si_calculate_sclk_params() 5300 spll_func_cntl_2 |= SCLK_MUX_SEL(2); in si_calculate_sclk_params() 5326 sclk->vCG_SPLL_FUNC_CNTL_2 = spll_func_cntl_2; in si_calculate_sclk_params()
|