Home
last modified time | relevance | path

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

/openbsd/src/sys/dev/pci/drm/radeon/
Drv740_dpm.c195 u32 dll_cntl = pi->clk_regs.rv770.dll_cntl; in rv740_populate_mclk_value() local
280 mclk->mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv740_populate_mclk_value()
312 pi->clk_regs.rv770.dll_cntl = RREG32(DLL_CNTL); in rv740_read_clock_registers()
329 u32 dll_cntl = pi->clk_regs.rv770.dll_cntl; in rv740_populate_smc_acpi_state() local
362 dll_cntl |= (MRDCKA0_BYPASS | in rv740_populate_smc_acpi_state()
381 table->ACPIState.levels[0].mclk.mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv740_populate_smc_acpi_state()
Drv730_dpm.c122 u32 dll_cntl = pi->clk_regs.rv730.dll_cntl; in rv730_populate_mclk_value() local
184 mclk->mclk730.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv730_populate_mclk_value()
212 pi->clk_regs.rv730.dll_cntl = in rv730_read_clock_registers()
234 u32 dll_cntl; in rv730_populate_smc_acpi_state() local
282 dll_cntl = 0xff000000; in rv730_populate_smc_acpi_state()
298 table->ACPIState.levels[0].mclk.mclk730.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv730_populate_smc_acpi_state()
333 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
Dcypress_dpm.c489 u32 dll_cntl = in cypress_populate_mclk_value() local
490 pi->clk_regs.rv770.dll_cntl; in cypress_populate_mclk_value()
606 mclk->mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in cypress_populate_mclk_value()
1257 cpu_to_be32(pi->clk_regs.rv770.dll_cntl); in cypress_populate_smc_initial_state()
1354 u32 dll_cntl = in cypress_populate_smc_acpi_state() local
1355 pi->clk_regs.rv770.dll_cntl; in cypress_populate_smc_acpi_state()
1420 dll_cntl |= (MRDCKA0_BYPASS | in cypress_populate_smc_acpi_state()
1446 table->ACPIState.levels[0].mclk.mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in cypress_populate_smc_acpi_state()
Dsi_dpm.h91 u32 dll_cntl; member
Dni_dpm.h38 u32 dll_cntl; member
Drv770_dpm.c403 u32 dll_cntl = pi->clk_regs.rv770.dll_cntl; in rv770_populate_mclk_value() local
480 mclk->mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv770_populate_mclk_value()
936 u32 dll_cntl; in rv770_populate_smc_acpi_state() local
976 dll_cntl = 0xff000000; in rv770_populate_smc_acpi_state()
989 table->ACPIState.levels[0].mclk.mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv770_populate_smc_acpi_state()
1043 cpu_to_be32(pi->clk_regs.rv770.dll_cntl); in rv770_populate_smc_initial_state()
1542 pi->clk_regs.rv770.dll_cntl = RREG32(DLL_CNTL); in rv770_read_clock_registers()
Dci_dpm.h132 u32 dll_cntl; member
Dni_dpm.c1194 ni_pi->clock_registers.dll_cntl = RREG32(DLL_CNTL); in ni_read_clock_registers()
1701 cpu_to_be32(ni_pi->clock_registers.dll_cntl); in ni_populate_smc_initial_state()
1805 u32 dll_cntl = ni_pi->clock_registers.dll_cntl; in ni_populate_smc_acpi_state() local
1891 dll_cntl |= (MRDCKA0_BYPASS | in ni_populate_smc_acpi_state()
1908 table->ACPIState.level.mclk.vDLL_CNTL = cpu_to_be32(dll_cntl); in ni_populate_smc_acpi_state()
2174 u32 dll_cntl = ni_pi->clock_registers.dll_cntl; in ni_populate_mclk_value() local
2291 mclk->vDLL_CNTL = cpu_to_be32(dll_cntl); in ni_populate_mclk_value()
Dsi_dpm.c3514 si_pi->clock_registers.dll_cntl = RREG32(DLL_CNTL); in si_read_clock_registers()
4313 cpu_to_be32(si_pi->clock_registers.dll_cntl); in si_populate_smc_initial_state()
4434 u32 dll_cntl = si_pi->clock_registers.dll_cntl; in si_populate_smc_acpi_state() local
4509 dll_cntl &= ~(MRDCK0_BYPASS | MRDCK1_BYPASS); in si_populate_smc_acpi_state()
4515 cpu_to_be32(dll_cntl); in si_populate_smc_acpi_state()
4819 u32 dll_cntl = si_pi->clock_registers.dll_cntl; in si_populate_mclk_value() local
4892 mclk->vDLL_CNTL = cpu_to_be32(dll_cntl); in si_populate_mclk_value()
Dci_dpm.c1844 pi->clock_registers.dll_cntl = RREG32(DLL_CNTL); in ci_read_clock_registers()
2751 u32 dll_cntl = pi->clock_registers.dll_cntl; in ci_calculate_mclk_params() local
2824 mclk->DllCntl = dll_cntl; in ci_calculate_mclk_params()
2953 u32 dll_cntl = pi->clock_registers.dll_cntl; in ci_populate_smc_acpi_level() local
3026 dll_cntl &= ~(MRDCK0_BYPASS | MRDCK1_BYPASS); in ci_populate_smc_acpi_level()
3028 table->MemoryACPILevel.DllCntl = cpu_to_be32(dll_cntl); in ci_populate_smc_acpi_level()
/openbsd/src/sys/dev/pci/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.c1032 uint32_t dll_cntl = data->clock_registers.vDLL_CNTL; in ci_calculate_mclk_params() local
1112 mclk->DllCntl = dll_cntl; in ci_calculate_mclk_params()
1387 uint32_t dll_cntl = data->clock_registers.vDLL_CNTL; in ci_populate_smc_acpi_level() local
1477 dll_cntl = PHM_SET_FIELD(dll_cntl, in ci_populate_smc_acpi_level()
1479 dll_cntl = PHM_SET_FIELD(dll_cntl, in ci_populate_smc_acpi_level()
1483 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()