Home
last modified time | relevance | path

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

/dragonfly/sys/dev/drm/radeon/
H A Drv740_dpm.c197 u32 dll_cntl = pi->clk_regs.rv770.dll_cntl; in rv740_populate_mclk_value() local
278 mclk->mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv740_populate_mclk_value()
310 pi->clk_regs.rv770.dll_cntl = RREG32(DLL_CNTL); in rv740_read_clock_registers()
327 u32 dll_cntl = pi->clk_regs.rv770.dll_cntl; in rv740_populate_smc_acpi_state() local
360 dll_cntl |= (MRDCKA0_BYPASS | in rv740_populate_smc_acpi_state()
379 table->ACPIState.levels[0].mclk.mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv740_populate_smc_acpi_state()
H A Drv730_dpm.c125 u32 dll_cntl = pi->clk_regs.rv730.dll_cntl; in rv730_populate_mclk_value() local
187 mclk->mclk730.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv730_populate_mclk_value()
215 pi->clk_regs.rv730.dll_cntl = in rv730_read_clock_registers()
237 u32 dll_cntl; in rv730_populate_smc_acpi_state() local
285 dll_cntl = 0xff000000; in rv730_populate_smc_acpi_state()
301 table->ACPIState.levels[0].mclk.mclk730.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv730_populate_smc_acpi_state()
336 cpu_to_be32(pi->clk_regs.rv730.dll_cntl); in rv730_populate_smc_initial_state()
H A Drv770_dpm.h39 u32 dll_cntl; member
51 u32 dll_cntl; member
H A Dcypress_dpm.c490 u32 dll_cntl = in cypress_populate_mclk_value() local
491 pi->clk_regs.rv770.dll_cntl; in cypress_populate_mclk_value()
603 mclk->mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in cypress_populate_mclk_value()
1254 cpu_to_be32(pi->clk_regs.rv770.dll_cntl); in cypress_populate_smc_initial_state()
1351 u32 dll_cntl = in cypress_populate_smc_acpi_state() local
1352 pi->clk_regs.rv770.dll_cntl; in cypress_populate_smc_acpi_state()
1417 dll_cntl |= (MRDCKA0_BYPASS | in cypress_populate_smc_acpi_state()
1443 table->ACPIState.levels[0].mclk.mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in cypress_populate_smc_acpi_state()
H A Dsi_dpm.h96 u32 dll_cntl; member
H A Dni_dpm.h38 u32 dll_cntl; member
H A Drv770_dpm.c406 u32 dll_cntl = pi->clk_regs.rv770.dll_cntl; in rv770_populate_mclk_value() local
483 mclk->mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv770_populate_mclk_value()
939 u32 dll_cntl; in rv770_populate_smc_acpi_state() local
979 dll_cntl = 0xff000000; in rv770_populate_smc_acpi_state()
992 table->ACPIState.levels[0].mclk.mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv770_populate_smc_acpi_state()
1046 cpu_to_be32(pi->clk_regs.rv770.dll_cntl); in rv770_populate_smc_initial_state()
1545 pi->clk_regs.rv770.dll_cntl = RREG32(DLL_CNTL); in rv770_read_clock_registers()
H A Dci_dpm.h133 u32 dll_cntl; member
H A 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.levels[0].mclk.vDLL_CNTL = cpu_to_be32(dll_cntl); in ni_populate_smc_acpi_state()
2172 u32 dll_cntl = ni_pi->clock_registers.dll_cntl; in ni_populate_mclk_value() local
2285 mclk->vDLL_CNTL = cpu_to_be32(dll_cntl); in ni_populate_mclk_value()
H A Dsi_dpm.c3576 si_pi->clock_registers.dll_cntl = RREG32(DLL_CNTL); in si_read_clock_registers()
4376 cpu_to_be32(si_pi->clock_registers.dll_cntl); in si_populate_smc_initial_state()
4497 u32 dll_cntl = si_pi->clock_registers.dll_cntl; in si_populate_smc_acpi_state() local
4572 dll_cntl &= ~(MRDCK0_BYPASS | MRDCK1_BYPASS); in si_populate_smc_acpi_state()
4578 cpu_to_be32(dll_cntl); in si_populate_smc_acpi_state()
4880 u32 dll_cntl = si_pi->clock_registers.dll_cntl; in si_populate_mclk_value() local
4953 mclk->vDLL_CNTL = cpu_to_be32(dll_cntl); in si_populate_mclk_value()
H A Dci_dpm.c1920 pi->clock_registers.dll_cntl = RREG32(DLL_CNTL); in ci_read_clock_registers()
2829 u32 dll_cntl = pi->clock_registers.dll_cntl; in ci_calculate_mclk_params() local
2902 mclk->DllCntl = dll_cntl; in ci_calculate_mclk_params()
3031 u32 dll_cntl = pi->clock_registers.dll_cntl; in ci_populate_smc_acpi_level() local
3104 dll_cntl &= ~(MRDCK0_BYPASS | MRDCK1_BYPASS); in ci_populate_smc_acpi_level()
3106 table->MemoryACPILevel.DllCntl = cpu_to_be32(dll_cntl); in ci_populate_smc_acpi_level()
/dragonfly/sys/dev/drm/amd/amdgpu/
H A Dsi_dpm.h356 u32 dll_cntl; member
506 u32 dll_cntl; member
518 u32 dll_cntl; member
912 u32 dll_cntl; member
H A Dsi_dpm.c4036 si_pi->clock_registers.dll_cntl = RREG32(DLL_CNTL); in si_read_clock_registers()
4841 cpu_to_be32(si_pi->clock_registers.dll_cntl); in si_populate_smc_initial_state()
4960 u32 dll_cntl = si_pi->clock_registers.dll_cntl; in si_populate_smc_acpi_state() local
5036 dll_cntl &= ~(MRDCK0_BYPASS | MRDCK1_BYPASS); in si_populate_smc_acpi_state()
5042 cpu_to_be32(dll_cntl); in si_populate_smc_acpi_state()
5343 u32 dll_cntl = si_pi->clock_registers.dll_cntl; in si_populate_mclk_value() local
5416 mclk->vDLL_CNTL = cpu_to_be32(dll_cntl); in si_populate_mclk_value()
/dragonfly/sys/dev/drm/amd/powerplay/smumgr/
H A 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()
1432 uint32_t dll_cntl = data->clock_registers.vDLL_CNTL; in iceland_populate_smc_acpi_level() local
1522 dll_cntl = PHM_SET_FIELD(dll_cntl, in iceland_populate_smc_acpi_level()
1524 dll_cntl = PHM_SET_FIELD(dll_cntl, in iceland_populate_smc_acpi_level()
1528 PP_HOST_TO_SMC_UL(dll_cntl); in iceland_populate_smc_acpi_level()
H A Dci_smumgr.c1030 uint32_t dll_cntl = data->clock_registers.vDLL_CNTL; in ci_calculate_mclk_params() local
1110 mclk->DllCntl = dll_cntl; in ci_calculate_mclk_params()
1384 uint32_t dll_cntl = data->clock_registers.vDLL_CNTL; in ci_populate_smc_acpi_level() local
1474 dll_cntl = PHM_SET_FIELD(dll_cntl, in ci_populate_smc_acpi_level()
1476 dll_cntl = PHM_SET_FIELD(dll_cntl, in ci_populate_smc_acpi_level()
1480 PP_HOST_TO_SMC_UL(dll_cntl); in ci_populate_smc_acpi_level()
H A Dtonga_smumgr.c787 uint32_t dll_cntl = data->clock_registers.vDLL_CNTL; in tonga_calculate_mclk_params() local
903 mclk->DllCntl = dll_cntl; in tonga_calculate_mclk_params()
1175 uint32_t dll_cntl = data->clock_registers.vDLL_CNTL; in tonga_populate_smc_acpi_level() local
1255 dll_cntl = PHM_SET_FIELD(dll_cntl, in tonga_populate_smc_acpi_level()
1257 dll_cntl = PHM_SET_FIELD(dll_cntl, in tonga_populate_smc_acpi_level()
1261 PP_HOST_TO_SMC_UL(dll_cntl); in tonga_populate_smc_acpi_level()