/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | rv740_dpm.c | 195 u32 mclk_pwrmgt_cntl = pi->clk_regs.rv770.mclk_pwrmgt_cntl; in rv740_populate_mclk_value() local 268 mclk_pwrmgt_cntl &= ~DLL_SPEED_MASK; in rv740_populate_mclk_value() 269 mclk_pwrmgt_cntl |= DLL_SPEED(dll_speed); in rv740_populate_mclk_value() 276 mclk->mclk770.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); in rv740_populate_mclk_value() 307 pi->clk_regs.rv770.mclk_pwrmgt_cntl = in rv740_read_clock_registers() 325 u32 mclk_pwrmgt_cntl = pi->clk_regs.rv770.mclk_pwrmgt_cntl; in rv740_populate_smc_acpi_state() local 350 mclk_pwrmgt_cntl |= (MRDCKA0_RESET | in rv740_populate_smc_acpi_state() 377 table->ACPIState.levels[0].mclk.mclk770.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); in rv740_populate_smc_acpi_state()
|
D | rv730_dpm.c | 123 u32 mclk_pwrmgt_cntl = pi->clk_regs.rv730.mclk_pwrmgt_cntl; in rv730_populate_mclk_value() local 185 mclk->mclk730.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); in rv730_populate_mclk_value() 212 pi->clk_regs.rv730.mclk_pwrmgt_cntl = in rv730_read_clock_registers() 235 u32 mclk_pwrmgt_cntl; in rv730_populate_smc_acpi_state() local 267 mclk_pwrmgt_cntl = (MRDCKA_RESET | in rv730_populate_smc_acpi_state() 299 table->ACPIState.levels[0].mclk.mclk730.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); in rv730_populate_smc_acpi_state() 333 cpu_to_be32(pi->clk_regs.rv730.mclk_pwrmgt_cntl); in rv730_populate_smc_initial_state()
|
D | cypress_dpm.c | 489 u32 mclk_pwrmgt_cntl = in cypress_populate_mclk_value() local 490 pi->clk_regs.rv770.mclk_pwrmgt_cntl; in cypress_populate_mclk_value() 577 mclk_pwrmgt_cntl &= ~DLL_SPEED_MASK; in cypress_populate_mclk_value() 578 mclk_pwrmgt_cntl |= DLL_SPEED(dll_speed); in cypress_populate_mclk_value() 580 mclk_pwrmgt_cntl |= (MRDCKA0_PDNB | in cypress_populate_mclk_value() 589 mclk_pwrmgt_cntl &= ~(MRDCKA0_PDNB | in cypress_populate_mclk_value() 603 mclk->mclk770.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); in cypress_populate_mclk_value() 1253 cpu_to_be32(pi->clk_regs.rv770.mclk_pwrmgt_cntl); in cypress_populate_smc_initial_state() 1350 u32 mclk_pwrmgt_cntl = in cypress_populate_smc_acpi_state() local 1351 pi->clk_regs.rv770.mclk_pwrmgt_cntl; in cypress_populate_smc_acpi_state() [all …]
|
D | rv770_dpm.h | 39 u32 mclk_pwrmgt_cntl; member 51 u32 mclk_pwrmgt_cntl; member
|
D | si_dpm.h | 97 u32 mclk_pwrmgt_cntl; member
|
D | ni_dpm.h | 37 u32 mclk_pwrmgt_cntl; member
|
D | ni_dpm.c | 1194 ni_pi->clock_registers.mclk_pwrmgt_cntl = RREG32(MCLK_PWRMGT_CNTL); in ni_read_clock_registers() 1700 cpu_to_be32(ni_pi->clock_registers.mclk_pwrmgt_cntl); in ni_populate_smc_initial_state() 1805 u32 mclk_pwrmgt_cntl = ni_pi->clock_registers.mclk_pwrmgt_cntl; in ni_populate_smc_acpi_state() local 1874 mclk_pwrmgt_cntl |= (MRDCKA0_RESET | in ni_populate_smc_acpi_state() 1883 mclk_pwrmgt_cntl &= ~(MRDCKA0_PDNB | in ni_populate_smc_acpi_state() 1908 table->ACPIState.levels[0].mclk.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); in ni_populate_smc_acpi_state() 2172 u32 mclk_pwrmgt_cntl = ni_pi->clock_registers.mclk_pwrmgt_cntl; in ni_populate_mclk_value() local 2258 mclk_pwrmgt_cntl &= ~DLL_SPEED_MASK; in ni_populate_mclk_value() 2259 mclk_pwrmgt_cntl |= DLL_SPEED(dll_speed); in ni_populate_mclk_value() 2261 mclk_pwrmgt_cntl |= (MRDCKA0_PDNB | in ni_populate_mclk_value() [all …]
|
D | rv770_dpm.c | 399 u32 mclk_pwrmgt_cntl = in rv770_populate_mclk_value() local 400 pi->clk_regs.rv770.mclk_pwrmgt_cntl; in rv770_populate_mclk_value() 477 mclk->mclk770.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); in rv770_populate_mclk_value() 933 u32 mclk_pwrmgt_cntl; in rv770_populate_smc_acpi_state() local 965 mclk_pwrmgt_cntl = (MRDCKA0_RESET | in rv770_populate_smc_acpi_state() 986 table->ACPIState.levels[0].mclk.mclk770.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); in rv770_populate_smc_acpi_state() 1039 cpu_to_be32(pi->clk_regs.rv770.mclk_pwrmgt_cntl); in rv770_populate_smc_initial_state() 1538 pi->clk_regs.rv770.mclk_pwrmgt_cntl = in rv770_read_clock_registers()
|
D | ci_dpm.h | 135 u32 mclk_pwrmgt_cntl; member
|
D | si_dpm.c | 3562 si_pi->clock_registers.mclk_pwrmgt_cntl = RREG32(MCLK_PWRMGT_CNTL); in si_read_clock_registers() 4362 cpu_to_be32(si_pi->clock_registers.mclk_pwrmgt_cntl); in si_populate_smc_initial_state() 4482 u32 mclk_pwrmgt_cntl = si_pi->clock_registers.mclk_pwrmgt_cntl; in si_populate_smc_acpi_state() local 4553 mclk_pwrmgt_cntl |= MRDCK0_RESET | MRDCK1_RESET; in si_populate_smc_acpi_state() 4554 mclk_pwrmgt_cntl &= ~(MRDCK0_PDNB | MRDCK1_PDNB); in si_populate_smc_acpi_state() 4564 cpu_to_be32(mclk_pwrmgt_cntl); in si_populate_smc_acpi_state() 4865 u32 mclk_pwrmgt_cntl = si_pi->clock_registers.mclk_pwrmgt_cntl; in si_populate_mclk_value() local 4922 mclk_pwrmgt_cntl &= ~DLL_SPEED_MASK; in si_populate_mclk_value() 4923 mclk_pwrmgt_cntl |= DLL_SPEED(mpll_param.dll_speed); in si_populate_mclk_value() 4926 mclk_pwrmgt_cntl |= MRDCK0_PDNB | MRDCK1_PDNB; in si_populate_mclk_value() [all …]
|
D | ci_dpm.c | 1872 pi->clock_registers.mclk_pwrmgt_cntl = RREG32(MCLK_PWRMGT_CNTL); in ci_read_clock_registers() 2781 u32 mclk_pwrmgt_cntl = pi->clock_registers.mclk_pwrmgt_cntl; in ci_calculate_mclk_params() local 2838 mclk_pwrmgt_cntl &= ~DLL_SPEED_MASK; in ci_calculate_mclk_params() 2839 mclk_pwrmgt_cntl |= DLL_SPEED(mpll_param.dll_speed); in ci_calculate_mclk_params() 2842 mclk_pwrmgt_cntl |= MRDCK0_PDNB | MRDCK1_PDNB; in ci_calculate_mclk_params() 2844 mclk_pwrmgt_cntl &= ~(MRDCK0_PDNB | MRDCK1_PDNB); in ci_calculate_mclk_params() 2852 mclk->MclkPwrmgtCntl = mclk_pwrmgt_cntl; in ci_calculate_mclk_params() 2983 u32 mclk_pwrmgt_cntl = pi->clock_registers.mclk_pwrmgt_cntl; in ci_populate_smc_acpi_level() local 3052 mclk_pwrmgt_cntl |= MRDCK0_RESET | MRDCK1_RESET; in ci_populate_smc_acpi_level() 3053 mclk_pwrmgt_cntl &= ~(MRDCK0_PDNB | MRDCK1_PDNB); in ci_populate_smc_acpi_level() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
D | iceland_smumgr.c | 1055 uint32_t mclk_pwrmgt_cntl = data->clock_registers.vMCLK_PWRMGT_CNTL; in iceland_calculate_mclk_params() local 1146 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in iceland_calculate_mclk_params() 1148 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in iceland_calculate_mclk_params() 1150 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in iceland_calculate_mclk_params() 1161 mclk->MclkPwrmgtCntl = mclk_pwrmgt_cntl; in iceland_calculate_mclk_params() 1434 uint32_t mclk_pwrmgt_cntl = data->clock_registers.vMCLK_PWRMGT_CNTL; in iceland_populate_smc_acpi_level() local 1511 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in iceland_populate_smc_acpi_level() 1513 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in iceland_populate_smc_acpi_level() 1517 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in iceland_populate_smc_acpi_level() 1519 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in iceland_populate_smc_acpi_level() [all …]
|
D | tonga_smumgr.c | 798 uint32_t mclk_pwrmgt_cntl = data->clock_registers.vMCLK_PWRMGT_CNTL; in tonga_calculate_mclk_params() local 898 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in tonga_calculate_mclk_params() 900 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in tonga_calculate_mclk_params() 902 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in tonga_calculate_mclk_params() 912 mclk->MclkPwrmgtCntl = mclk_pwrmgt_cntl; in tonga_calculate_mclk_params() 1186 uint32_t mclk_pwrmgt_cntl = data->clock_registers.vMCLK_PWRMGT_CNTL; in tonga_populate_smc_acpi_level() local 1253 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in tonga_populate_smc_acpi_level() 1255 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in tonga_populate_smc_acpi_level() 1259 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in tonga_populate_smc_acpi_level() 1261 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in tonga_populate_smc_acpi_level() [all …]
|
D | ci_smumgr.c | 1032 uint32_t mclk_pwrmgt_cntl = data->clock_registers.vMCLK_PWRMGT_CNTL; in ci_calculate_mclk_params() local 1096 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in ci_calculate_mclk_params() 1098 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in ci_calculate_mclk_params() 1100 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in ci_calculate_mclk_params() 1110 mclk->MclkPwrmgtCntl = mclk_pwrmgt_cntl; in ci_calculate_mclk_params() 1387 uint32_t mclk_pwrmgt_cntl = data->clock_registers.vMCLK_PWRMGT_CNTL; in ci_populate_smc_acpi_level() local 1464 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in ci_populate_smc_acpi_level() 1466 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in ci_populate_smc_acpi_level() 1470 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in ci_populate_smc_acpi_level() 1472 mclk_pwrmgt_cntl = PHM_SET_FIELD(mclk_pwrmgt_cntl, in ci_populate_smc_acpi_level() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/ |
D | si_dpm.h | 355 u32 mclk_pwrmgt_cntl; member 505 u32 mclk_pwrmgt_cntl; member 517 u32 mclk_pwrmgt_cntl; member 913 u32 mclk_pwrmgt_cntl; member
|
D | si_dpm.c | 4018 si_pi->clock_registers.mclk_pwrmgt_cntl = RREG32(MCLK_PWRMGT_CNTL); in si_read_clock_registers() 4823 cpu_to_be32(si_pi->clock_registers.mclk_pwrmgt_cntl); in si_populate_smc_initial_state() 4941 u32 mclk_pwrmgt_cntl = si_pi->clock_registers.mclk_pwrmgt_cntl; in si_populate_smc_acpi_state() local 5013 mclk_pwrmgt_cntl |= MRDCK0_RESET | MRDCK1_RESET; in si_populate_smc_acpi_state() 5014 mclk_pwrmgt_cntl &= ~(MRDCK0_PDNB | MRDCK1_PDNB); in si_populate_smc_acpi_state() 5024 cpu_to_be32(mclk_pwrmgt_cntl); in si_populate_smc_acpi_state() 5324 u32 mclk_pwrmgt_cntl = si_pi->clock_registers.mclk_pwrmgt_cntl; in si_populate_mclk_value() local 5381 mclk_pwrmgt_cntl &= ~DLL_SPEED_MASK; in si_populate_mclk_value() 5382 mclk_pwrmgt_cntl |= DLL_SPEED(mpll_param.dll_speed); in si_populate_mclk_value() 5385 mclk_pwrmgt_cntl |= MRDCK0_PDNB | MRDCK1_PDNB; in si_populate_mclk_value() [all …]
|