Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/radeon/
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()
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()
Drv770_dpm.c494 u32 spll_func_cntl_3 = in rv770_populate_sclk_value() local
534 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in rv770_populate_sclk_value()
535 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in rv770_populate_sclk_value()
536 spll_func_cntl_3 |= SPLL_DITHEN; in rv770_populate_sclk_value()
559 sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in rv770_populate_sclk_value()
932 u32 spll_func_cntl_3 = in rv770_populate_smc_acpi_state() local
994 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in rv770_populate_smc_acpi_state()
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()
Dsi_dpm.c4494 u32 spll_func_cntl_3 = si_pi->clock_registers.cg_spll_func_cntl_3; in si_populate_smc_acpi_state() local
4600 cpu_to_be32(spll_func_cntl_3); in si_populate_smc_acpi_state()
4788 u32 spll_func_cntl_3 = si_pi->clock_registers.cg_spll_func_cntl_3; in si_calculate_sclk_params() local
4816 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in si_calculate_sclk_params()
4817 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in si_calculate_sclk_params()
4818 spll_func_cntl_3 |= SPLL_DITHEN; in si_calculate_sclk_params()
4841 sclk->vCG_SPLL_FUNC_CNTL_3 = spll_func_cntl_3; in si_calculate_sclk_params()
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()
Dci_dpm.c3163 u32 spll_func_cntl_3 = pi->clock_registers.cg_spll_func_cntl_3; in ci_calculate_sclk_params() local
3181 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in ci_calculate_sclk_params()
3182 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in ci_calculate_sclk_params()
3183 spll_func_cntl_3 |= SPLL_DITHEN; in ci_calculate_sclk_params()
3204 sclk->CgSpllFuncCntl3 = spll_func_cntl_3; in ci_calculate_sclk_params()
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/smumgr/
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()
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()
Dci_smumgr.c300 uint32_t spll_func_cntl_3 = data->clock_registers.vCG_SPLL_FUNC_CNTL_3; in ci_calculate_sclk_params() local
330 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, CG_SPLL_FUNC_CNTL_3, in ci_calculate_sclk_params()
334 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, CG_SPLL_FUNC_CNTL_3, in ci_calculate_sclk_params()
359 sclk->CgSpllFuncCntl3 = spll_func_cntl_3; in ci_calculate_sclk_params()
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()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
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()
Dci_dpm.c3309 u32 spll_func_cntl_3 = pi->clock_registers.cg_spll_func_cntl_3; in ci_calculate_sclk_params() local
3327 spll_func_cntl_3 &= ~CG_SPLL_FUNC_CNTL_3__SPLL_FB_DIV_MASK; in ci_calculate_sclk_params()
3328 spll_func_cntl_3 |= (fbdiv << CG_SPLL_FUNC_CNTL_3__SPLL_FB_DIV__SHIFT); in ci_calculate_sclk_params()
3329 spll_func_cntl_3 |= CG_SPLL_FUNC_CNTL_3__SPLL_DITHEN_MASK; in ci_calculate_sclk_params()
3350 sclk->CgSpllFuncCntl3 = spll_func_cntl_3; in ci_calculate_sclk_params()