Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/radeon/
Drv740_dpm.c125 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()
Drv730_dpm.c44 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()
Drv770_dpm.c493 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()
Dni_dpm.c1801 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()
Dcypress_dpm.c1348 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()
Dsi_dpm.c4475 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()
Dci_dpm.c2957 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()
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dfiji_smumgr.c1308 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()
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()
Dci_smumgr.c1386 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()
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()
/linux-6.6.21/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.c4977 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()