Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Drv730_dpm.c45 u32 spll_func_cntl = pi->clk_regs.rv730.cg_spll_func_cntl; in rv730_populate_sclk_value() local
75 spll_func_cntl |= SPLL_DIVEN; in rv730_populate_sclk_value()
77 spll_func_cntl &= ~SPLL_DIVEN; in rv730_populate_sclk_value()
78 spll_func_cntl &= ~(SPLL_HILEN_MASK | SPLL_LOLEN_MASK | SPLL_REF_DIV_MASK); in rv730_populate_sclk_value()
79 spll_func_cntl |= SPLL_REF_DIV(dividers.ref_div); in rv730_populate_sclk_value()
80 spll_func_cntl |= SPLL_HILEN((dividers.post_div >> 4) & 0xf); in rv730_populate_sclk_value()
81 spll_func_cntl |= SPLL_LOLEN(dividers.post_div & 0xf); in rv730_populate_sclk_value()
109 sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); in rv730_populate_sclk_value()
237 u32 spll_func_cntl; in rv730_populate_smc_acpi_state() local
286 spll_func_cntl in rv730_populate_smc_acpi_state()
[all...]
H A Drv740_dpm.c125 u32 spll_func_cntl = pi->clk_regs.rv770.cg_spll_func_cntl; in rv740_populate_sclk_value() local
147 spll_func_cntl &= ~(SPLL_PDIV_A_MASK | SPLL_REF_DIV_MASK); in rv740_populate_sclk_value()
148 spll_func_cntl |= SPLL_REF_DIV(dividers.ref_div); in rv740_populate_sclk_value()
149 spll_func_cntl |= SPLL_PDIV_A(dividers.post_div); in rv740_populate_sclk_value()
177 sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); in rv740_populate_sclk_value()
326 u32 spll_func_cntl = pi->clk_regs.rv770.cg_spll_func_cntl; in rv740_populate_smc_acpi_state() local
372 spll_func_cntl |= SPLL_RESET | SPLL_SLEEP | SPLL_BYPASS_EN; in rv740_populate_smc_acpi_state()
386 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); in rv740_populate_smc_acpi_state()
H A Drv770_dpm.c489 u32 spll_func_cntl = in rv770_populate_sclk_value() local
522 spll_func_cntl |= SPLL_DIVEN; in rv770_populate_sclk_value()
524 spll_func_cntl &= ~SPLL_DIVEN; in rv770_populate_sclk_value()
525 spll_func_cntl &= ~(SPLL_HILEN_MASK | SPLL_LOLEN_MASK | SPLL_REF_DIV_MASK); in rv770_populate_sclk_value()
526 spll_func_cntl |= SPLL_REF_DIV(dividers.ref_div); in rv770_populate_sclk_value()
527 spll_func_cntl |= SPLL_HILEN((dividers.post_div >> 4) & 0xf); in rv770_populate_sclk_value()
528 spll_func_cntl |= SPLL_LOLEN(dividers.post_div & 0xf); in rv770_populate_sclk_value()
556 sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); in rv770_populate_sclk_value()
927 u32 spll_func_cntl = in rv770_populate_smc_acpi_state() local
976 spll_func_cntl | in rv770_populate_smc_acpi_state()
[all...]
H A Dcypress_dpm.c1348 u32 spll_func_cntl = in cypress_populate_smc_acpi_state() local
1433 spll_func_cntl |= SPLL_RESET | SPLL_SLEEP | SPLL_BYPASS_EN; in cypress_populate_smc_acpi_state()
1453 cpu_to_be32(spll_func_cntl); in cypress_populate_smc_acpi_state()
H A Dni_dpm.c1801 u32 spll_func_cntl = ni_pi->clock_registers.cg_spll_func_cntl; in ni_populate_smc_acpi_state() local
1913 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); in ni_populate_smc_acpi_state()
2004 u32 spll_func_cntl = ni_pi->clock_registers.cg_spll_func_cntl; in ni_calculate_sclk_params() local
2028 spll_func_cntl &= ~(SPLL_PDIV_A_MASK | SPLL_REF_DIV_MASK); in ni_calculate_sclk_params()
2029 spll_func_cntl |= SPLL_REF_DIV(dividers.ref_div); in ni_calculate_sclk_params()
2030 spll_func_cntl |= SPLL_PDIV_A(dividers.post_div); in ni_calculate_sclk_params()
2058 sclk->vCG_SPLL_FUNC_CNTL = spll_func_cntl; in ni_calculate_sclk_params()
H A Dsi_dpm.c4477 u32 spll_func_cntl = si_pi->clock_registers.cg_spll_func_cntl; in si_populate_smc_acpi_state() local
4581 cpu_to_be32(spll_func_cntl); in si_populate_smc_acpi_state()
4771 u32 spll_func_cntl = si_pi->clock_registers.cg_spll_func_cntl; in si_calculate_sclk_params() local
4794 spll_func_cntl &= ~(SPLL_PDIV_A_MASK | SPLL_REF_DIV_MASK); in si_calculate_sclk_params()
4795 spll_func_cntl |= SPLL_REF_DIV(dividers.ref_div); in si_calculate_sclk_params()
4796 spll_func_cntl |= SPLL_PDIV_A(dividers.post_div); in si_calculate_sclk_params()
4824 sclk->vCG_SPLL_FUNC_CNTL = spll_func_cntl; in si_calculate_sclk_params()
H A Dci_dpm.c2980 u32 spll_func_cntl = pi->clock_registers.cg_spll_func_cntl; in ci_populate_smc_acpi_level() local
3007 spll_func_cntl &= ~SPLL_PWRON; in ci_populate_smc_acpi_level()
3008 spll_func_cntl |= SPLL_RESET; in ci_populate_smc_acpi_level()
3013 table->ACPILevel.CgSpllFuncCntl = spll_func_cntl; in ci_populate_smc_acpi_level()
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Drv730_dpm.c43 u32 spll_func_cntl = pi->clk_regs.rv730.cg_spll_func_cntl; in rv730_populate_sclk_value() local
73 spll_func_cntl |= SPLL_DIVEN; in rv730_populate_sclk_value()
75 spll_func_cntl &= ~SPLL_DIVEN; in rv730_populate_sclk_value()
76 spll_func_cntl &= ~(SPLL_HILEN_MASK | SPLL_LOLEN_MASK | SPLL_REF_DIV_MASK); in rv730_populate_sclk_value()
77 spll_func_cntl |= SPLL_REF_DIV(dividers.ref_div); in rv730_populate_sclk_value()
78 spll_func_cntl |= SPLL_HILEN((dividers.post_div >> 4) & 0xf); in rv730_populate_sclk_value()
79 spll_func_cntl |= SPLL_LOLEN(dividers.post_div & 0xf); in rv730_populate_sclk_value()
107 sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); in rv730_populate_sclk_value()
235 u32 spll_func_cntl; in rv730_populate_smc_acpi_state() local
284 spll_func_cntl in rv730_populate_smc_acpi_state()
[all...]
H A Drv740_dpm.c124 u32 spll_func_cntl = pi->clk_regs.rv770.cg_spll_func_cntl; in rv740_populate_sclk_value() local
146 spll_func_cntl &= ~(SPLL_PDIV_A_MASK | SPLL_REF_DIV_MASK); in rv740_populate_sclk_value()
147 spll_func_cntl |= SPLL_REF_DIV(dividers.ref_div); in rv740_populate_sclk_value()
148 spll_func_cntl |= SPLL_PDIV_A(dividers.post_div); in rv740_populate_sclk_value()
176 sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); in rv740_populate_sclk_value()
325 u32 spll_func_cntl = pi->clk_regs.rv770.cg_spll_func_cntl; in rv740_populate_smc_acpi_state() local
371 spll_func_cntl |= SPLL_RESET | SPLL_SLEEP | SPLL_BYPASS_EN; in rv740_populate_smc_acpi_state()
385 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); in rv740_populate_smc_acpi_state()
H A Drv770_dpm.c491 u32 spll_func_cntl = in rv770_populate_sclk_value() local
524 spll_func_cntl |= SPLL_DIVEN; in rv770_populate_sclk_value()
526 spll_func_cntl &= ~SPLL_DIVEN; in rv770_populate_sclk_value()
527 spll_func_cntl &= ~(SPLL_HILEN_MASK | SPLL_LOLEN_MASK | SPLL_REF_DIV_MASK); in rv770_populate_sclk_value()
528 spll_func_cntl |= SPLL_REF_DIV(dividers.ref_div); in rv770_populate_sclk_value()
529 spll_func_cntl |= SPLL_HILEN((dividers.post_div >> 4) & 0xf); in rv770_populate_sclk_value()
530 spll_func_cntl |= SPLL_LOLEN(dividers.post_div & 0xf); in rv770_populate_sclk_value()
558 sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); in rv770_populate_sclk_value()
929 u32 spll_func_cntl = in rv770_populate_smc_acpi_state() local
978 spll_func_cntl | in rv770_populate_smc_acpi_state()
[all...]
H A Dcypress_dpm.c1346 u32 spll_func_cntl = in cypress_populate_smc_acpi_state() local
1431 spll_func_cntl |= SPLL_RESET | SPLL_SLEEP | SPLL_BYPASS_EN; in cypress_populate_smc_acpi_state()
1451 cpu_to_be32(spll_func_cntl); in cypress_populate_smc_acpi_state()
H A Dni_dpm.c1800 u32 spll_func_cntl = ni_pi->clock_registers.cg_spll_func_cntl; in ni_populate_smc_acpi_state() local
1912 table->ACPIState.level.sclk.vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); in ni_populate_smc_acpi_state()
2005 u32 spll_func_cntl = ni_pi->clock_registers.cg_spll_func_cntl; in ni_calculate_sclk_params() local
2029 spll_func_cntl &= ~(SPLL_PDIV_A_MASK | SPLL_REF_DIV_MASK); in ni_calculate_sclk_params()
2030 spll_func_cntl |= SPLL_REF_DIV(dividers.ref_div); in ni_calculate_sclk_params()
2031 spll_func_cntl |= SPLL_PDIV_A(dividers.post_div); in ni_calculate_sclk_params()
2059 sclk->vCG_SPLL_FUNC_CNTL = spll_func_cntl; in ni_calculate_sclk_params()
H A Dsi_dpm.c4474 u32 spll_func_cntl = si_pi->clock_registers.cg_spll_func_cntl; in si_populate_smc_acpi_state() local
4578 cpu_to_be32(spll_func_cntl); in si_populate_smc_acpi_state()
4770 u32 spll_func_cntl = si_pi->clock_registers.cg_spll_func_cntl; in si_calculate_sclk_params() local
4793 spll_func_cntl &= ~(SPLL_PDIV_A_MASK | SPLL_REF_DIV_MASK); in si_calculate_sclk_params()
4794 spll_func_cntl |= SPLL_REF_DIV(dividers.ref_div); in si_calculate_sclk_params()
4795 spll_func_cntl |= SPLL_PDIV_A(dividers.post_div); in si_calculate_sclk_params()
4823 sclk->vCG_SPLL_FUNC_CNTL = spll_func_cntl; in si_calculate_sclk_params()
H A Dci_dpm.c2956 u32 spll_func_cntl = pi->clock_registers.cg_spll_func_cntl; in ci_populate_smc_acpi_level() local
2983 spll_func_cntl &= ~SPLL_PWRON; in ci_populate_smc_acpi_level()
2984 spll_func_cntl |= SPLL_RESET; in ci_populate_smc_acpi_level()
2989 table->ACPILevel.CgSpllFuncCntl = spll_func_cntl; in ci_populate_smc_acpi_level()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dfiji_smumgr.c861 uint32_t spll_func_cntl = data->clock_registers.vCG_SPLL_FUNC_CNTL; in fiji_calculate_sclk_params() local
886 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNTL, in fiji_calculate_sclk_params()
888 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNTL, in fiji_calculate_sclk_params()
1308 uint32_t spll_func_cntl = data->clock_registers.vCG_SPLL_FUNC_CNTL; in fiji_populate_smc_acpi_level() local
1344 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNTL, in fiji_populate_smc_acpi_level()
1346 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNT in fiji_populate_smc_acpi_level()
[all...]
H A Diceland_smumgr.c800 uint32_t spll_func_cntl = data->clock_registers.vCG_SPLL_FUNC_CNTL; in iceland_calculate_sclk_params() local
825 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in iceland_calculate_sclk_params()
827 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in iceland_calculate_sclk_params()
1431 uint32_t spll_func_cntl = data->clock_registers.vCG_SPLL_FUNC_CNTL; in iceland_populate_smc_acpi_level() local
1461 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in iceland_populate_smc_acpi_level()
1463 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in iceland_populate_smc_acpi_level()
[all...]
H A Dci_smumgr.c301 uint32_t spll_func_cntl = data->clock_registers.vCG_SPLL_FUNC_CNTL; in ci_calculate_sclk_params() local
326 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNTL, in ci_calculate_sclk_params()
328 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNTL, in ci_calculate_sclk_params()
1384 uint32_t spll_func_cntl = data->clock_registers.vCG_SPLL_FUNC_CNTL; in ci_populate_smc_acpi_level() local
1414 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in ci_populate_smc_acpi_level()
1416 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in ci_populate_smc_acpi_level()
[all...]
H A Dtonga_smumgr.c543 uint32_t spll_func_cntl = data->clock_registers.vCG_SPLL_FUNC_CNTL; in tonga_calculate_sclk_params() local
568 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in tonga_calculate_sclk_params()
570 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in tonga_calculate_sclk_params()
1183 uint32_t spll_func_cntl = data->clock_registers.vCG_SPLL_FUNC_CNTL; in tonga_populate_smc_acpi_level() local
1210 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNTL, in tonga_populate_smc_acpi_level()
1212 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNT in tonga_populate_smc_acpi_level()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dfiji_smumgr.c860 uint32_t spll_func_cntl = data->clock_registers.vCG_SPLL_FUNC_CNTL; in fiji_calculate_sclk_params() local
885 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNTL, in fiji_calculate_sclk_params()
887 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNTL, in fiji_calculate_sclk_params()
1307 uint32_t spll_func_cntl = data->clock_registers.vCG_SPLL_FUNC_CNTL; in fiji_populate_smc_acpi_level() local
1343 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNTL, in fiji_populate_smc_acpi_level()
1345 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNT in fiji_populate_smc_acpi_level()
[all...]
H A Diceland_smumgr.c800 uint32_t spll_func_cntl = data->clock_registers.vCG_SPLL_FUNC_CNTL; in iceland_calculate_sclk_params() local
825 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in iceland_calculate_sclk_params()
827 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in iceland_calculate_sclk_params()
1431 uint32_t spll_func_cntl = data->clock_registers.vCG_SPLL_FUNC_CNTL; in iceland_populate_smc_acpi_level() local
1461 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in iceland_populate_smc_acpi_level()
1463 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in iceland_populate_smc_acpi_level()
[all...]
H A Dtonga_smumgr.c543 uint32_t spll_func_cntl = data->clock_registers.vCG_SPLL_FUNC_CNTL; in tonga_calculate_sclk_params() local
568 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in tonga_calculate_sclk_params()
570 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in tonga_calculate_sclk_params()
1183 uint32_t spll_func_cntl = data->clock_registers.vCG_SPLL_FUNC_CNTL; in tonga_populate_smc_acpi_level() local
1210 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNTL, in tonga_populate_smc_acpi_level()
1212 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNT in tonga_populate_smc_acpi_level()
[all...]
H A Dci_smumgr.c302 uint32_t spll_func_cntl = data->clock_registers.vCG_SPLL_FUNC_CNTL; in ci_calculate_sclk_params() local
327 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNTL, in ci_calculate_sclk_params()
329 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, CG_SPLL_FUNC_CNTL, in ci_calculate_sclk_params()
1385 uint32_t spll_func_cntl = data->clock_registers.vCG_SPLL_FUNC_CNTL; in ci_populate_smc_acpi_level() local
1415 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in ci_populate_smc_acpi_level()
1417 spll_func_cntl = PHM_SET_FIELD(spll_func_cntl, in ci_populate_smc_acpi_level()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/
H A Dsi_dpm.c4936 u32 spll_func_cntl = si_pi->clock_registers.cg_spll_func_cntl; in si_populate_smc_acpi_state() local
5041 cpu_to_be32(spll_func_cntl); in si_populate_smc_acpi_state()
5230 u32 spll_func_cntl = si_pi->clock_registers.cg_spll_func_cntl; in si_calculate_sclk_params() local
5253 spll_func_cntl &= ~(SPLL_PDIV_A_MASK | SPLL_REF_DIV_MASK); in si_calculate_sclk_params()
5254 spll_func_cntl |= SPLL_REF_DIV(dividers.ref_div); in si_calculate_sclk_params()
5255 spll_func_cntl |= SPLL_PDIV_A(dividers.post_div); in si_calculate_sclk_params()
5283 sclk->vCG_SPLL_FUNC_CNTL = spll_func_cntl; in si_calculate_sclk_params()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c4976 u32 spll_func_cntl = si_pi->clock_registers.cg_spll_func_cntl; in si_populate_smc_acpi_state() local
5081 cpu_to_be32(spll_func_cntl); in si_populate_smc_acpi_state()
5272 u32 spll_func_cntl = si_pi->clock_registers.cg_spll_func_cntl; in si_calculate_sclk_params() local
5295 spll_func_cntl &= ~(SPLL_PDIV_A_MASK | SPLL_REF_DIV_MASK); in si_calculate_sclk_params()
5296 spll_func_cntl |= SPLL_REF_DIV(dividers.ref_div); in si_calculate_sclk_params()
5297 spll_func_cntl |= SPLL_PDIV_A(dividers.post_div); in si_calculate_sclk_params()
5325 sclk->vCG_SPLL_FUNC_CNTL = spll_func_cntl; in si_calculate_sclk_params()

Completed in 89 milliseconds