Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/radeon/
Drv740_dpm.c127 u32 spll_func_cntl_2 = pi->clk_regs.rv770.cg_spll_func_cntl_2; in rv740_populate_sclk_value() local
152 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in rv740_populate_sclk_value()
153 spll_func_cntl_2 |= SCLK_MUX_SEL(2); in rv740_populate_sclk_value()
179 sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in rv740_populate_sclk_value()
324 u32 spll_func_cntl_2 = pi->clk_regs.rv770.cg_spll_func_cntl_2; in rv740_populate_smc_acpi_state() local
371 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in rv740_populate_smc_acpi_state()
372 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in rv740_populate_smc_acpi_state()
384 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.c47 u32 spll_func_cntl_2 = pi->clk_regs.rv730.cg_spll_func_cntl_2; in rv730_populate_sclk_value() local
84 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in rv730_populate_sclk_value()
85 spll_func_cntl_2 |= SCLK_MUX_SEL(2); in rv730_populate_sclk_value()
111 sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in rv730_populate_sclk_value()
239 u32 spll_func_cntl_2; in rv730_populate_smc_acpi_state() local
288 spll_func_cntl_2 = pi->clk_regs.rv730.cg_spll_func_cntl_2; in rv730_populate_smc_acpi_state()
294 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in rv730_populate_smc_acpi_state()
295 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in rv730_populate_smc_acpi_state()
306 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.c492 u32 spll_func_cntl_2 = in rv770_populate_sclk_value() local
531 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in rv770_populate_sclk_value()
532 spll_func_cntl_2 |= SCLK_MUX_SEL(2); in rv770_populate_sclk_value()
558 sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in rv770_populate_sclk_value()
930 u32 spll_func_cntl_2 = in rv770_populate_smc_acpi_state() local
979 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in rv770_populate_smc_acpi_state()
980 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in rv770_populate_smc_acpi_state()
993 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.levels[0].sclk.vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in ni_populate_smc_acpi_state()
2004 u32 spll_func_cntl_2 = ni_pi->clock_registers.cg_spll_func_cntl_2; in ni_calculate_sclk_params() local
2031 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in ni_calculate_sclk_params()
2032 spll_func_cntl_2 |= SCLK_MUX_SEL(2); in ni_calculate_sclk_params()
2058 sclk->vCG_SPLL_FUNC_CNTL_2 = spll_func_cntl_2; in ni_calculate_sclk_params()
Dcypress_dpm.c1345 u32 spll_func_cntl_2 = in cypress_populate_smc_acpi_state() local
1430 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in cypress_populate_smc_acpi_state()
1431 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in cypress_populate_smc_acpi_state()
1450 cpu_to_be32(spll_func_cntl_2); in cypress_populate_smc_acpi_state()
Dsi_dpm.c4493 u32 spll_func_cntl_2 = si_pi->clock_registers.cg_spll_func_cntl_2; in si_populate_smc_acpi_state() local
4573 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in si_populate_smc_acpi_state()
4574 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in si_populate_smc_acpi_state()
4598 cpu_to_be32(spll_func_cntl_2); in si_populate_smc_acpi_state()
4787 u32 spll_func_cntl_2 = si_pi->clock_registers.cg_spll_func_cntl_2; in si_calculate_sclk_params() local
4813 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in si_calculate_sclk_params()
4814 spll_func_cntl_2 |= SCLK_MUX_SEL(2); in si_calculate_sclk_params()
4840 sclk->vCG_SPLL_FUNC_CNTL_2 = spll_func_cntl_2; in si_calculate_sclk_params()
Dci_dpm.c2994 u32 spll_func_cntl_2 = pi->clock_registers.cg_spll_func_cntl_2; in ci_populate_smc_acpi_level() local
3023 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in ci_populate_smc_acpi_level()
3024 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in ci_populate_smc_acpi_level()
3027 table->ACPILevel.CgSpllFuncCntl2 = spll_func_cntl_2; in ci_populate_smc_acpi_level()
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/smumgr/
Dfiji_smumgr.c1321 uint32_t spll_func_cntl_2 = data->clock_registers.vCG_SPLL_FUNC_CNTL_2; in fiji_populate_smc_acpi_level() local
1360 spll_func_cntl_2 = PHM_SET_FIELD(spll_func_cntl_2, CG_SPLL_FUNC_CNTL_2, in fiji_populate_smc_acpi_level()
1364 table->ACPILevel.CgSpllFuncCntl2 = spll_func_cntl_2; in fiji_populate_smc_acpi_level()
Diceland_smumgr.c1431 uint32_t spll_func_cntl_2 = data->clock_registers.vCG_SPLL_FUNC_CNTL_2; in iceland_populate_smc_acpi_level() local
1464 spll_func_cntl_2 = PHM_SET_FIELD(spll_func_cntl_2, in iceland_populate_smc_acpi_level()
1468 table->ACPILevel.CgSpllFuncCntl2 = spll_func_cntl_2; in iceland_populate_smc_acpi_level()
Dci_smumgr.c1382 uint32_t spll_func_cntl_2 = data->clock_registers.vCG_SPLL_FUNC_CNTL_2; in ci_populate_smc_acpi_level() local
1415 spll_func_cntl_2 = PHM_SET_FIELD(spll_func_cntl_2, in ci_populate_smc_acpi_level()
1419 table->ACPILevel.CgSpllFuncCntl2 = spll_func_cntl_2; in ci_populate_smc_acpi_level()
Dtonga_smumgr.c1173 uint32_t spll_func_cntl_2 = data->clock_registers.vCG_SPLL_FUNC_CNTL_2; in tonga_populate_smc_acpi_level() local
1203 spll_func_cntl_2 = PHM_SET_FIELD(spll_func_cntl_2, CG_SPLL_FUNC_CNTL_2, in tonga_populate_smc_acpi_level()
1207 table->ACPILevel.CgSpllFuncCntl2 = spll_func_cntl_2; in tonga_populate_smc_acpi_level()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Dsi_dpm.c4957 u32 spll_func_cntl_2 = si_pi->clock_registers.cg_spll_func_cntl_2; in si_populate_smc_acpi_state() local
5038 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in si_populate_smc_acpi_state()
5039 spll_func_cntl_2 |= SCLK_MUX_SEL(4); in si_populate_smc_acpi_state()
5063 cpu_to_be32(spll_func_cntl_2); in si_populate_smc_acpi_state()
5251 u32 spll_func_cntl_2 = si_pi->clock_registers.cg_spll_func_cntl_2; in si_calculate_sclk_params() local
5277 spll_func_cntl_2 &= ~SCLK_MUX_SEL_MASK; in si_calculate_sclk_params()
5278 spll_func_cntl_2 |= SCLK_MUX_SEL(2); in si_calculate_sclk_params()
5304 sclk->vCG_SPLL_FUNC_CNTL_2 = spll_func_cntl_2; in si_calculate_sclk_params()
Dci_dpm.c3138 u32 spll_func_cntl_2 = pi->clock_registers.cg_spll_func_cntl_2; in ci_populate_smc_acpi_level() local
3167 spll_func_cntl_2 &= ~CG_SPLL_FUNC_CNTL_2__SCLK_MUX_SEL_MASK; in ci_populate_smc_acpi_level()
3168 spll_func_cntl_2 |= (4 << CG_SPLL_FUNC_CNTL_2__SCLK_MUX_SEL__SHIFT); in ci_populate_smc_acpi_level()
3171 table->ACPILevel.CgSpllFuncCntl2 = spll_func_cntl_2; in ci_populate_smc_acpi_level()