Searched refs:spll_func_cntl_3 (Results 1 – 13 of 13) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/radeon/ |
D | rv740_dpm.c | 128 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()
|
D | rv730_dpm.c | 48 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()
|
D | rv770_dpm.c | 494 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()
|
D | ni_dpm.c | 1802 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()
|
D | si_dpm.c | 4494 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()
|
D | cypress_dpm.c | 1347 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()
|
D | ci_dpm.c | 3163 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/ |
D | fiji_smumgr.c | 873 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()
|
D | iceland_smumgr.c | 801 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()
|
D | ci_smumgr.c | 300 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()
|
D | tonga_smumgr.c | 534 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/ |
D | si_dpm.c | 4958 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()
|
D | ci_dpm.c | 3309 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()
|