Home
last modified time | relevance | path

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

/dragonfly/sys/dev/drm/radeon/
H A Drv740_dpm.c128 u32 spll_func_cntl_3 = pi->clk_regs.rv770.cg_spll_func_cntl_3; in rv740_populate_sclk_value() local
155 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in rv740_populate_sclk_value()
156 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in rv740_populate_sclk_value()
157 spll_func_cntl_3 |= SPLL_DITHEN; in rv740_populate_sclk_value()
180 sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in rv740_populate_sclk_value()
325 u32 spll_func_cntl_3 = pi->clk_regs.rv770.cg_spll_func_cntl_3; in rv740_populate_smc_acpi_state() local
385 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in rv740_populate_smc_acpi_state()
H A Drv730_dpm.c48 u32 spll_func_cntl_3 = pi->clk_regs.rv730.cg_spll_func_cntl_3; in rv730_populate_sclk_value() local
87 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in rv730_populate_sclk_value()
88 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in rv730_populate_sclk_value()
89 spll_func_cntl_3 |= SPLL_DITHEN; in rv730_populate_sclk_value()
112 sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in rv730_populate_sclk_value()
240 u32 spll_func_cntl_3; in rv730_populate_smc_acpi_state() local
289 spll_func_cntl_3 = pi->clk_regs.rv730.cg_spll_func_cntl_3; in rv730_populate_smc_acpi_state()
307 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in rv730_populate_smc_acpi_state()
H A Drv770_dpm.c498 u32 spll_func_cntl_3 = in rv770_populate_sclk_value() local
538 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in rv770_populate_sclk_value()
539 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in rv770_populate_sclk_value()
540 spll_func_cntl_3 |= SPLL_DITHEN; in rv770_populate_sclk_value()
563 sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in rv770_populate_sclk_value()
936 u32 spll_func_cntl_3 = in rv770_populate_smc_acpi_state() local
998 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in rv770_populate_smc_acpi_state()
H A Dni_dpm.c1802 u32 spll_func_cntl_3 = ni_pi->clock_registers.cg_spll_func_cntl_3; in ni_populate_smc_acpi_state() local
1914 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in ni_populate_smc_acpi_state()
2005 u32 spll_func_cntl_3 = ni_pi->clock_registers.cg_spll_func_cntl_3; in ni_calculate_sclk_params() local
2034 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in ni_calculate_sclk_params()
2035 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in ni_calculate_sclk_params()
2036 spll_func_cntl_3 |= SPLL_DITHEN; in ni_calculate_sclk_params()
2059 sclk->vCG_SPLL_FUNC_CNTL_3 = spll_func_cntl_3; in ni_calculate_sclk_params()
H A Dsi_dpm.c4495 u32 spll_func_cntl_3 = si_pi->clock_registers.cg_spll_func_cntl_3; in si_populate_smc_acpi_state() local
4601 cpu_to_be32(spll_func_cntl_3); in si_populate_smc_acpi_state()
4789 u32 spll_func_cntl_3 = si_pi->clock_registers.cg_spll_func_cntl_3; in si_calculate_sclk_params() local
4817 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in si_calculate_sclk_params()
4818 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in si_calculate_sclk_params()
4819 spll_func_cntl_3 |= SPLL_DITHEN; in si_calculate_sclk_params()
4842 sclk->vCG_SPLL_FUNC_CNTL_3 = spll_func_cntl_3; in si_calculate_sclk_params()
H A Dcypress_dpm.c1347 u32 spll_func_cntl_3 = in cypress_populate_smc_acpi_state() local
1452 cpu_to_be32(spll_func_cntl_3); in cypress_populate_smc_acpi_state()
H A Dci_dpm.c3199 u32 spll_func_cntl_3 = pi->clock_registers.cg_spll_func_cntl_3; in ci_calculate_sclk_params() local
3217 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in ci_calculate_sclk_params()
3218 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in ci_calculate_sclk_params()
3219 spll_func_cntl_3 |= SPLL_DITHEN; in ci_calculate_sclk_params()
3240 sclk->CgSpllFuncCntl3 = spll_func_cntl_3; in ci_calculate_sclk_params()
/dragonfly/sys/dev/drm/amd/powerplay/smumgr/
H A Dfiji_smumgr.c873 uint32_t spll_func_cntl_3 = data->clock_registers.vCG_SPLL_FUNC_CNTL_3; in fiji_calculate_sclk_params() local
903 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, CG_SPLL_FUNC_CNTL_3, in fiji_calculate_sclk_params()
907 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, CG_SPLL_FUNC_CNTL_3, in fiji_calculate_sclk_params()
939 sclk->CgSpllFuncCntl3 = spll_func_cntl_3; in fiji_calculate_sclk_params()
H A Diceland_smumgr.c801 uint32_t spll_func_cntl_3 = data->clock_registers.vCG_SPLL_FUNC_CNTL_3; in iceland_calculate_sclk_params() local
831 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, in iceland_calculate_sclk_params()
835 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, in iceland_calculate_sclk_params()
864 sclk->CgSpllFuncCntl3 = spll_func_cntl_3; in iceland_calculate_sclk_params()
H A Dci_smumgr.c301 uint32_t spll_func_cntl_3 = data->clock_registers.vCG_SPLL_FUNC_CNTL_3; in ci_calculate_sclk_params() local
331 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, CG_SPLL_FUNC_CNTL_3, in ci_calculate_sclk_params()
335 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, CG_SPLL_FUNC_CNTL_3, in ci_calculate_sclk_params()
360 sclk->CgSpllFuncCntl3 = spll_func_cntl_3; in ci_calculate_sclk_params()
H A Dtonga_smumgr.c534 uint32_t spll_func_cntl_3 = data->clock_registers.vCG_SPLL_FUNC_CNTL_3; in tonga_calculate_sclk_params() local
564 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, in tonga_calculate_sclk_params()
568 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, in tonga_calculate_sclk_params()
597 sclk->CgSpllFuncCntl3 = spll_func_cntl_3; in tonga_calculate_sclk_params()
/dragonfly/sys/dev/drm/amd/amdgpu/
H A Dsi_dpm.c4958 u32 spll_func_cntl_3 = si_pi->clock_registers.cg_spll_func_cntl_3; in si_populate_smc_acpi_state() local
5065 cpu_to_be32(spll_func_cntl_3); in si_populate_smc_acpi_state()
5252 u32 spll_func_cntl_3 = si_pi->clock_registers.cg_spll_func_cntl_3; in si_calculate_sclk_params() local
5280 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in si_calculate_sclk_params()
5281 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in si_calculate_sclk_params()
5282 spll_func_cntl_3 |= SPLL_DITHEN; in si_calculate_sclk_params()
5305 sclk->vCG_SPLL_FUNC_CNTL_3 = spll_func_cntl_3; in si_calculate_sclk_params()