Home
last modified time | relevance | path

Searched refs:dll_cntl (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Drv740_dpm.c196 u32 dll_cntl = pi->clk_regs.rv770.dll_cntl; in rv740_populate_mclk_value() local
277 mclk->mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv740_populate_mclk_value()
309 pi->clk_regs.rv770.dll_cntl = RREG32(DLL_CNTL); in rv740_read_clock_registers()
326 u32 dll_cntl = pi->clk_regs.rv770.dll_cntl; in rv740_populate_smc_acpi_state() local
359 dll_cntl |= (MRDCKA0_BYPASS | in rv740_populate_smc_acpi_state()
378 table->ACPIState.levels[0].mclk.mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv740_populate_smc_acpi_state()
Drv730_dpm.c124 u32 dll_cntl = pi->clk_regs.rv730.dll_cntl; in rv730_populate_mclk_value() local
186 mclk->mclk730.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv730_populate_mclk_value()
214 pi->clk_regs.rv730.dll_cntl = in rv730_read_clock_registers()
236 u32 dll_cntl; in rv730_populate_smc_acpi_state() local
284 dll_cntl = 0xff000000; in rv730_populate_smc_acpi_state()
300 table->ACPIState.levels[0].mclk.mclk730.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv730_populate_smc_acpi_state()
335 cpu_to_be32(pi->clk_regs.rv730.dll_cntl); in rv730_populate_smc_initial_state()
Drv770_dpm.h40 u32 dll_cntl; member
52 u32 dll_cntl; member
Dsi_dpm.h96 u32 dll_cntl; member
Dcypress_dpm.c491 u32 dll_cntl = in cypress_populate_mclk_value() local
492 pi->clk_regs.rv770.dll_cntl; in cypress_populate_mclk_value()
604 mclk->mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in cypress_populate_mclk_value()
1255 cpu_to_be32(pi->clk_regs.rv770.dll_cntl); in cypress_populate_smc_initial_state()
1352 u32 dll_cntl = in cypress_populate_smc_acpi_state() local
1353 pi->clk_regs.rv770.dll_cntl; in cypress_populate_smc_acpi_state()
1418 dll_cntl |= (MRDCKA0_BYPASS | in cypress_populate_smc_acpi_state()
1444 table->ACPIState.levels[0].mclk.mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in cypress_populate_smc_acpi_state()
Dni_dpm.h38 u32 dll_cntl; member
Drv770_dpm.c401 u32 dll_cntl = pi->clk_regs.rv770.dll_cntl; in rv770_populate_mclk_value() local
478 mclk->mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv770_populate_mclk_value()
934 u32 dll_cntl; in rv770_populate_smc_acpi_state() local
974 dll_cntl = 0xff000000; in rv770_populate_smc_acpi_state()
987 table->ACPIState.levels[0].mclk.mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv770_populate_smc_acpi_state()
1041 cpu_to_be32(pi->clk_regs.rv770.dll_cntl); in rv770_populate_smc_initial_state()
1540 pi->clk_regs.rv770.dll_cntl = RREG32(DLL_CNTL); in rv770_read_clock_registers()
Dci_dpm.h134 u32 dll_cntl; member
Dni_dpm.c1195 ni_pi->clock_registers.dll_cntl = RREG32(DLL_CNTL); in ni_read_clock_registers()
1702 cpu_to_be32(ni_pi->clock_registers.dll_cntl); in ni_populate_smc_initial_state()
1806 u32 dll_cntl = ni_pi->clock_registers.dll_cntl; in ni_populate_smc_acpi_state() local
1892 dll_cntl |= (MRDCKA0_BYPASS | in ni_populate_smc_acpi_state()
1909 table->ACPIState.levels[0].mclk.vDLL_CNTL = cpu_to_be32(dll_cntl); in ni_populate_smc_acpi_state()
2173 u32 dll_cntl = ni_pi->clock_registers.dll_cntl; in ni_populate_mclk_value() local
2286 mclk->vDLL_CNTL = cpu_to_be32(dll_cntl); in ni_populate_mclk_value()
Dsi_dpm.c3561 si_pi->clock_registers.dll_cntl = RREG32(DLL_CNTL); in si_read_clock_registers()
4360 cpu_to_be32(si_pi->clock_registers.dll_cntl); in si_populate_smc_initial_state()
4481 u32 dll_cntl = si_pi->clock_registers.dll_cntl; in si_populate_smc_acpi_state() local
4556 dll_cntl &= ~(MRDCK0_BYPASS | MRDCK1_BYPASS); in si_populate_smc_acpi_state()
4562 cpu_to_be32(dll_cntl); in si_populate_smc_acpi_state()
4864 u32 dll_cntl = si_pi->clock_registers.dll_cntl; in si_populate_mclk_value() local
4937 mclk->vDLL_CNTL = cpu_to_be32(dll_cntl); in si_populate_mclk_value()
Dci_dpm.c1871 pi->clock_registers.dll_cntl = RREG32(DLL_CNTL); in ci_read_clock_registers()
2780 u32 dll_cntl = pi->clock_registers.dll_cntl; in ci_calculate_mclk_params() local
2853 mclk->DllCntl = dll_cntl; in ci_calculate_mclk_params()
2982 u32 dll_cntl = pi->clock_registers.dll_cntl; in ci_populate_smc_acpi_level() local
3055 dll_cntl &= ~(MRDCK0_BYPASS | MRDCK1_BYPASS); in ci_populate_smc_acpi_level()
3057 table->MemoryACPILevel.DllCntl = cpu_to_be32(dll_cntl); in ci_populate_smc_acpi_level()
/kernel/linux/linux-5.10/drivers/video/fbdev/aty/
Dmach64_ct.c349 u8 dll_cntl; in aty_set_pll_ct() local
352 dll_cntl = 0x80; in aty_set_pll_ct()
354 dll_cntl = 0xa6; in aty_set_pll_ct()
356 dll_cntl = 0xa0; in aty_set_pll_ct()
357 aty_st_pll_ct(DLL_CNTL, dll_cntl, par); in aty_set_pll_ct()
363 aty_st_pll_ct(DLL_CNTL, dll_cntl, par); in aty_set_pll_ct()
365 aty_st_pll_ct(DLL_CNTL, dll_cntl | 0x40, par); in aty_set_pll_ct()
367 aty_st_pll_ct(DLL_CNTL, dll_cntl & ~0x40, par); in aty_set_pll_ct()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/
Dsi_dpm.h356 u32 dll_cntl; member
506 u32 dll_cntl; member
518 u32 dll_cntl; member
912 u32 dll_cntl; member
Dsi_dpm.c4017 si_pi->clock_registers.dll_cntl = RREG32(DLL_CNTL); in si_read_clock_registers()
4821 cpu_to_be32(si_pi->clock_registers.dll_cntl); in si_populate_smc_initial_state()
4940 u32 dll_cntl = si_pi->clock_registers.dll_cntl; in si_populate_smc_acpi_state() local
5016 dll_cntl &= ~(MRDCK0_BYPASS | MRDCK1_BYPASS); in si_populate_smc_acpi_state()
5022 cpu_to_be32(dll_cntl); in si_populate_smc_acpi_state()
5323 u32 dll_cntl = si_pi->clock_registers.dll_cntl; in si_populate_mclk_value() local
5396 mclk->vDLL_CNTL = cpu_to_be32(dll_cntl); in si_populate_mclk_value()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Diceland_smumgr.c1054 uint32_t dll_cntl = data->clock_registers.vDLL_CNTL; in iceland_calculate_mclk_params() local
1162 mclk->DllCntl = dll_cntl; in iceland_calculate_mclk_params()
1433 uint32_t dll_cntl = data->clock_registers.vDLL_CNTL; in iceland_populate_smc_acpi_level() local
1523 dll_cntl = PHM_SET_FIELD(dll_cntl, in iceland_populate_smc_acpi_level()
1525 dll_cntl = PHM_SET_FIELD(dll_cntl, in iceland_populate_smc_acpi_level()
1529 PP_HOST_TO_SMC_UL(dll_cntl); in iceland_populate_smc_acpi_level()
Dci_smumgr.c1031 uint32_t dll_cntl = data->clock_registers.vDLL_CNTL; in ci_calculate_mclk_params() local
1111 mclk->DllCntl = dll_cntl; in ci_calculate_mclk_params()
1386 uint32_t dll_cntl = data->clock_registers.vDLL_CNTL; in ci_populate_smc_acpi_level() local
1476 dll_cntl = PHM_SET_FIELD(dll_cntl, in ci_populate_smc_acpi_level()
1478 dll_cntl = PHM_SET_FIELD(dll_cntl, in ci_populate_smc_acpi_level()
1482 PP_HOST_TO_SMC_UL(dll_cntl); in ci_populate_smc_acpi_level()
Dtonga_smumgr.c797 uint32_t dll_cntl = data->clock_registers.vDLL_CNTL; in tonga_calculate_mclk_params() local
913 mclk->DllCntl = dll_cntl; in tonga_calculate_mclk_params()
1185 uint32_t dll_cntl = data->clock_registers.vDLL_CNTL; in tonga_populate_smc_acpi_level() local
1265 dll_cntl = PHM_SET_FIELD(dll_cntl, in tonga_populate_smc_acpi_level()
1267 dll_cntl = PHM_SET_FIELD(dll_cntl, in tonga_populate_smc_acpi_level()
1271 PP_HOST_TO_SMC_UL(dll_cntl); in tonga_populate_smc_acpi_level()