Home
last modified time | relevance | path

Searched refs:spll_func_cntl_3 (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Drv740_dpm.c127 u32 spll_func_cntl_3 = pi->clk_regs.rv770.cg_spll_func_cntl_3; in rv740_populate_sclk_value() local
154 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in rv740_populate_sclk_value()
155 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in rv740_populate_sclk_value()
156 spll_func_cntl_3 |= SPLL_DITHEN; in rv740_populate_sclk_value()
179 sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in rv740_populate_sclk_value()
328 u32 spll_func_cntl_3 = pi->clk_regs.rv770.cg_spll_func_cntl_3; in rv740_populate_smc_acpi_state() local
388 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.c47 u32 spll_func_cntl_3 = pi->clk_regs.rv730.cg_spll_func_cntl_3; in rv730_populate_sclk_value() local
86 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in rv730_populate_sclk_value()
87 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in rv730_populate_sclk_value()
88 spll_func_cntl_3 |= SPLL_DITHEN; in rv730_populate_sclk_value()
111 sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in rv730_populate_sclk_value()
239 u32 spll_func_cntl_3; in rv730_populate_smc_acpi_state() local
288 spll_func_cntl_3 = pi->clk_regs.rv730.cg_spll_func_cntl_3; in rv730_populate_smc_acpi_state()
306 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.c493 u32 spll_func_cntl_3 = in rv770_populate_sclk_value() local
533 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in rv770_populate_sclk_value()
534 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in rv770_populate_sclk_value()
535 spll_func_cntl_3 |= SPLL_DITHEN; in rv770_populate_sclk_value()
558 sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in rv770_populate_sclk_value()
931 u32 spll_func_cntl_3 = in rv770_populate_smc_acpi_state() local
993 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.c1803 u32 spll_func_cntl_3 = ni_pi->clock_registers.cg_spll_func_cntl_3; in ni_populate_smc_acpi_state() local
1915 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in ni_populate_smc_acpi_state()
2006 u32 spll_func_cntl_3 = ni_pi->clock_registers.cg_spll_func_cntl_3; in ni_calculate_sclk_params() local
2035 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in ni_calculate_sclk_params()
2036 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in ni_calculate_sclk_params()
2037 spll_func_cntl_3 |= SPLL_DITHEN; in ni_calculate_sclk_params()
2060 sclk->vCG_SPLL_FUNC_CNTL_3 = spll_func_cntl_3; in ni_calculate_sclk_params()
H A Dcypress_dpm.c1352 u32 spll_func_cntl_3 = in cypress_populate_smc_acpi_state() local
1457 cpu_to_be32(spll_func_cntl_3); in cypress_populate_smc_acpi_state()
H A Dsi_dpm.c4479 u32 spll_func_cntl_3 = si_pi->clock_registers.cg_spll_func_cntl_3; in si_populate_smc_acpi_state() local
4585 cpu_to_be32(spll_func_cntl_3); in si_populate_smc_acpi_state()
4773 u32 spll_func_cntl_3 = si_pi->clock_registers.cg_spll_func_cntl_3; in si_calculate_sclk_params() local
4801 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in si_calculate_sclk_params()
4802 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in si_calculate_sclk_params()
4803 spll_func_cntl_3 |= SPLL_DITHEN; in si_calculate_sclk_params()
4826 sclk->vCG_SPLL_FUNC_CNTL_3 = spll_func_cntl_3; in si_calculate_sclk_params()
H A Dci_dpm.c3150 u32 spll_func_cntl_3 = pi->clock_registers.cg_spll_func_cntl_3; in ci_calculate_sclk_params() local
3168 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in ci_calculate_sclk_params()
3169 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in ci_calculate_sclk_params()
3170 spll_func_cntl_3 |= SPLL_DITHEN; in ci_calculate_sclk_params()
3191 sclk->CgSpllFuncCntl3 = spll_func_cntl_3; in ci_calculate_sclk_params()
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Drv740_dpm.c126 u32 spll_func_cntl_3 = pi->clk_regs.rv770.cg_spll_func_cntl_3; in rv740_populate_sclk_value() local
153 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in rv740_populate_sclk_value()
154 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in rv740_populate_sclk_value()
155 spll_func_cntl_3 |= SPLL_DITHEN; in rv740_populate_sclk_value()
178 sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in rv740_populate_sclk_value()
327 u32 spll_func_cntl_3 = pi->clk_regs.rv770.cg_spll_func_cntl_3; in rv740_populate_smc_acpi_state() local
387 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.c45 u32 spll_func_cntl_3 = pi->clk_regs.rv730.cg_spll_func_cntl_3; in rv730_populate_sclk_value() local
84 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in rv730_populate_sclk_value()
85 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in rv730_populate_sclk_value()
86 spll_func_cntl_3 |= SPLL_DITHEN; in rv730_populate_sclk_value()
109 sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in rv730_populate_sclk_value()
237 u32 spll_func_cntl_3; in rv730_populate_smc_acpi_state() local
286 spll_func_cntl_3 = pi->clk_regs.rv730.cg_spll_func_cntl_3; in rv730_populate_smc_acpi_state()
304 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.c495 u32 spll_func_cntl_3 = in rv770_populate_sclk_value() local
535 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in rv770_populate_sclk_value()
536 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in rv770_populate_sclk_value()
537 spll_func_cntl_3 |= SPLL_DITHEN; in rv770_populate_sclk_value()
560 sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in rv770_populate_sclk_value()
933 u32 spll_func_cntl_3 = in rv770_populate_smc_acpi_state() local
995 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.level.sclk.vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in ni_populate_smc_acpi_state()
2007 u32 spll_func_cntl_3 = ni_pi->clock_registers.cg_spll_func_cntl_3; in ni_calculate_sclk_params() local
2036 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in ni_calculate_sclk_params()
2037 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in ni_calculate_sclk_params()
2038 spll_func_cntl_3 |= SPLL_DITHEN; in ni_calculate_sclk_params()
2061 sclk->vCG_SPLL_FUNC_CNTL_3 = spll_func_cntl_3; in ni_calculate_sclk_params()
H A Dcypress_dpm.c1350 u32 spll_func_cntl_3 = in cypress_populate_smc_acpi_state() local
1455 cpu_to_be32(spll_func_cntl_3); in cypress_populate_smc_acpi_state()
H A Dsi_dpm.c4476 u32 spll_func_cntl_3 = si_pi->clock_registers.cg_spll_func_cntl_3; in si_populate_smc_acpi_state() local
4582 cpu_to_be32(spll_func_cntl_3); in si_populate_smc_acpi_state()
4772 u32 spll_func_cntl_3 = si_pi->clock_registers.cg_spll_func_cntl_3; in si_calculate_sclk_params() local
4800 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in si_calculate_sclk_params()
4801 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in si_calculate_sclk_params()
4802 spll_func_cntl_3 |= SPLL_DITHEN; in si_calculate_sclk_params()
4825 sclk->vCG_SPLL_FUNC_CNTL_3 = spll_func_cntl_3; in si_calculate_sclk_params()
H A Dci_dpm.c3126 u32 spll_func_cntl_3 = pi->clock_registers.cg_spll_func_cntl_3; in ci_calculate_sclk_params() local
3144 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in ci_calculate_sclk_params()
3145 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in ci_calculate_sclk_params()
3146 spll_func_cntl_3 |= SPLL_DITHEN; in ci_calculate_sclk_params()
3167 sclk->CgSpllFuncCntl3 = spll_func_cntl_3; in ci_calculate_sclk_params()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dfiji_smumgr.c862 uint32_t spll_func_cntl_3 = data->clock_registers.vCG_SPLL_FUNC_CNTL_3; in fiji_calculate_sclk_params() local
892 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, CG_SPLL_FUNC_CNTL_3, in fiji_calculate_sclk_params()
896 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, CG_SPLL_FUNC_CNTL_3, in fiji_calculate_sclk_params()
928 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.c302 uint32_t spll_func_cntl_3 = data->clock_registers.vCG_SPLL_FUNC_CNTL_3; in ci_calculate_sclk_params() local
332 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, CG_SPLL_FUNC_CNTL_3, in ci_calculate_sclk_params()
336 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, CG_SPLL_FUNC_CNTL_3, in ci_calculate_sclk_params()
361 sclk->CgSpllFuncCntl3 = spll_func_cntl_3; in ci_calculate_sclk_params()
H A Dtonga_smumgr.c544 uint32_t spll_func_cntl_3 = data->clock_registers.vCG_SPLL_FUNC_CNTL_3; in tonga_calculate_sclk_params() local
574 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, in tonga_calculate_sclk_params()
578 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, in tonga_calculate_sclk_params()
607 sclk->CgSpllFuncCntl3 = spll_func_cntl_3; in tonga_calculate_sclk_params()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dfiji_smumgr.c861 uint32_t spll_func_cntl_3 = data->clock_registers.vCG_SPLL_FUNC_CNTL_3; in fiji_calculate_sclk_params() local
891 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, CG_SPLL_FUNC_CNTL_3, in fiji_calculate_sclk_params()
895 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, CG_SPLL_FUNC_CNTL_3, in fiji_calculate_sclk_params()
927 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 Dtonga_smumgr.c544 uint32_t spll_func_cntl_3 = data->clock_registers.vCG_SPLL_FUNC_CNTL_3; in tonga_calculate_sclk_params() local
574 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, in tonga_calculate_sclk_params()
578 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, in tonga_calculate_sclk_params()
607 sclk->CgSpllFuncCntl3 = spll_func_cntl_3; in tonga_calculate_sclk_params()
H A Dci_smumgr.c303 uint32_t spll_func_cntl_3 = data->clock_registers.vCG_SPLL_FUNC_CNTL_3; in ci_calculate_sclk_params() local
333 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, CG_SPLL_FUNC_CNTL_3, in ci_calculate_sclk_params()
337 spll_func_cntl_3 = PHM_SET_FIELD(spll_func_cntl_3, CG_SPLL_FUNC_CNTL_3, in ci_calculate_sclk_params()
362 sclk->CgSpllFuncCntl3 = spll_func_cntl_3; in ci_calculate_sclk_params()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/
H A Dsi_dpm.c4938 u32 spll_func_cntl_3 = si_pi->clock_registers.cg_spll_func_cntl_3; in si_populate_smc_acpi_state() local
5045 cpu_to_be32(spll_func_cntl_3); in si_populate_smc_acpi_state()
5232 u32 spll_func_cntl_3 = si_pi->clock_registers.cg_spll_func_cntl_3; in si_calculate_sclk_params() local
5260 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in si_calculate_sclk_params()
5261 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in si_calculate_sclk_params()
5262 spll_func_cntl_3 |= SPLL_DITHEN; in si_calculate_sclk_params()
5285 sclk->vCG_SPLL_FUNC_CNTL_3 = spll_func_cntl_3; in si_calculate_sclk_params()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c4978 u32 spll_func_cntl_3 = si_pi->clock_registers.cg_spll_func_cntl_3; in si_populate_smc_acpi_state() local
5085 cpu_to_be32(spll_func_cntl_3); in si_populate_smc_acpi_state()
5274 u32 spll_func_cntl_3 = si_pi->clock_registers.cg_spll_func_cntl_3; in si_calculate_sclk_params() local
5302 spll_func_cntl_3 &= ~SPLL_FB_DIV_MASK; in si_calculate_sclk_params()
5303 spll_func_cntl_3 |= SPLL_FB_DIV(fbdiv); in si_calculate_sclk_params()
5304 spll_func_cntl_3 |= SPLL_DITHEN; in si_calculate_sclk_params()
5327 sclk->vCG_SPLL_FUNC_CNTL_3 = spll_func_cntl_3; in si_calculate_sclk_params()

Completed in 107 milliseconds