/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | cypress_dpm.c | 477 bool strobe_mode, bool dll_state_on) in cypress_populate_mclk_value() 583 if (dll_state_on) in cypress_populate_mclk_value() 688 bool dll_state_on; in cypress_convert_power_level_to_smc() local 723 dll_state_on = ((RREG32(MC_SEQ_MISC5) >> 1) & 0x1) ? true : false; in cypress_convert_power_level_to_smc() 725 dll_state_on = ((RREG32(MC_SEQ_MISC6) >> 1) & 0x1) ? true : false; in cypress_convert_power_level_to_smc() 727 dll_state_on = eg_pi->dll_default_on; in cypress_convert_power_level_to_smc() 734 dll_state_on); in cypress_convert_power_level_to_smc() 474 cypress_populate_mclk_value(struct radeon_device *rdev, u32 engine_clock, u32 memory_clock, RV7XX_SMC_MCLK_VALUE *mclk, bool strobe_mode, bool dll_state_on) cypress_populate_mclk_value() argument
|
H A D | ni_dpm.c | 2164 bool dll_state_on) in ni_populate_mclk_value() 2264 if (dll_state_on) in ni_populate_mclk_value() 2320 bool dll_state_on; in ni_convert_power_level_to_smc() local 2350 dll_state_on = ((RREG32(MC_SEQ_MISC5) >> 1) & 0x1) ? true : false; in ni_convert_power_level_to_smc() 2352 dll_state_on = ((RREG32(MC_SEQ_MISC6) >> 1) & 0x1) ? true : false; in ni_convert_power_level_to_smc() 2354 dll_state_on = false; in ni_convert_power_level_to_smc() 2362 dll_state_on); in ni_convert_power_level_to_smc() 2159 ni_populate_mclk_value(struct radeon_device *rdev, u32 engine_clock, u32 memory_clock, NISLANDS_SMC_MCLK_VALUE *mclk, bool strobe_mode, bool dll_state_on) ni_populate_mclk_value() argument
|
H A D | ci_dpm.c | 2777 bool dll_state_on) in ci_calculate_mclk_params() 2841 if (dll_state_on) in ci_calculate_mclk_params() 2866 bool dll_state_on; in ci_populate_single_memory_level() local 2939 dll_state_on = ((RREG32(MC_SEQ_MISC5) >> 1) & 0x1) ? true : false; in ci_populate_single_memory_level() 2941 dll_state_on = ((RREG32(MC_SEQ_MISC6) >> 1) & 0x1) ? true : false; in ci_populate_single_memory_level() 2943 dll_state_on = pi->dll_default_on; in ci_populate_single_memory_level() 2947 dll_state_on = ((RREG32(MC_SEQ_MISC5) >> 1) & 0x1) ? true : false; in ci_populate_single_memory_level() 2950 ret = ci_calculate_mclk_params(rdev, memory_clock, memory_level, memory_level->StrobeEnable, dll_state_on); in ci_populate_single_memory_level() 2773 ci_calculate_mclk_params(struct radeon_device *rdev, u32 memory_clock, SMU7_Discrete_MemoryLevel *mclk, bool strobe_mode, bool dll_state_on) ci_calculate_mclk_params() argument
|
H A D | si_dpm.c | 4860 bool dll_state_on) in si_populate_mclk_value() 4925 if (dll_state_on) in si_populate_mclk_value() 4967 bool dll_state_on; in si_convert_power_level_to_smc() local 5006 dll_state_on = ((RREG32(MC_SEQ_MISC5) >> 1) & 0x1) ? true : false; in si_convert_power_level_to_smc() 5008 dll_state_on = ((RREG32(MC_SEQ_MISC6) >> 1) & 0x1) ? true : false; in si_convert_power_level_to_smc() 5010 dll_state_on = false; in si_convert_power_level_to_smc() 5016 dll_state_on = ((RREG32(MC_SEQ_MISC5) >> 1) & 0x1) ? true : false; in si_convert_power_level_to_smc() 5023 (level->strobeMode & SISLANDS_SMC_STROBE_ENABLE) != 0, dll_state_on); in si_convert_power_level_to_smc() 4855 si_populate_mclk_value(struct radeon_device *rdev, u32 engine_clock, u32 memory_clock, SISLANDS_SMC_MCLK_VALUE *mclk, bool strobe_mode, bool dll_state_on) si_populate_mclk_value() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | cypress_dpm.c | 475 bool strobe_mode, bool dll_state_on) in cypress_populate_mclk_value() 581 if (dll_state_on) in cypress_populate_mclk_value() 686 bool dll_state_on; in cypress_convert_power_level_to_smc() local 721 dll_state_on = ((RREG32(MC_SEQ_MISC5) >> 1) & 0x1) ? true : false; in cypress_convert_power_level_to_smc() 723 dll_state_on = ((RREG32(MC_SEQ_MISC6) >> 1) & 0x1) ? true : false; in cypress_convert_power_level_to_smc() 725 dll_state_on = eg_pi->dll_default_on; in cypress_convert_power_level_to_smc() 732 dll_state_on); in cypress_convert_power_level_to_smc() 472 cypress_populate_mclk_value(struct radeon_device *rdev, u32 engine_clock, u32 memory_clock, RV7XX_SMC_MCLK_VALUE *mclk, bool strobe_mode, bool dll_state_on) cypress_populate_mclk_value() argument
|
H A D | ni_dpm.c | 2165 bool dll_state_on) in ni_populate_mclk_value() 2265 if (dll_state_on) in ni_populate_mclk_value() 2321 bool dll_state_on; in ni_convert_power_level_to_smc() local 2351 dll_state_on = ((RREG32(MC_SEQ_MISC5) >> 1) & 0x1) ? true : false; in ni_convert_power_level_to_smc() 2353 dll_state_on = ((RREG32(MC_SEQ_MISC6) >> 1) & 0x1) ? true : false; in ni_convert_power_level_to_smc() 2355 dll_state_on = false; in ni_convert_power_level_to_smc() 2363 dll_state_on); in ni_convert_power_level_to_smc() 2160 ni_populate_mclk_value(struct radeon_device *rdev, u32 engine_clock, u32 memory_clock, NISLANDS_SMC_MCLK_VALUE *mclk, bool strobe_mode, bool dll_state_on) ni_populate_mclk_value() argument
|
H A D | si_dpm.c | 4859 bool dll_state_on) in si_populate_mclk_value() 4924 if (dll_state_on) in si_populate_mclk_value() 4966 bool dll_state_on; in si_convert_power_level_to_smc() local 5005 dll_state_on = ((RREG32(MC_SEQ_MISC5) >> 1) & 0x1) ? true : false; in si_convert_power_level_to_smc() 5007 dll_state_on = ((RREG32(MC_SEQ_MISC6) >> 1) & 0x1) ? true : false; in si_convert_power_level_to_smc() 5009 dll_state_on = false; in si_convert_power_level_to_smc() 5015 dll_state_on = ((RREG32(MC_SEQ_MISC5) >> 1) & 0x1) ? true : false; in si_convert_power_level_to_smc() 5022 (level->strobeMode & SISLANDS_SMC_STROBE_ENABLE) != 0, dll_state_on); in si_convert_power_level_to_smc() 4854 si_populate_mclk_value(struct radeon_device *rdev, u32 engine_clock, u32 memory_clock, SISLANDS_SMC_MCLK_VALUE *mclk, bool strobe_mode, bool dll_state_on) si_populate_mclk_value() argument
|
H A D | ci_dpm.c | 2753 bool dll_state_on) in ci_calculate_mclk_params() 2817 if (dll_state_on) in ci_calculate_mclk_params() 2842 bool dll_state_on; in ci_populate_single_memory_level() local 2915 dll_state_on = ((RREG32(MC_SEQ_MISC5) >> 1) & 0x1) ? true : false; in ci_populate_single_memory_level() 2917 dll_state_on = ((RREG32(MC_SEQ_MISC6) >> 1) & 0x1) ? true : false; in ci_populate_single_memory_level() 2919 dll_state_on = pi->dll_default_on; in ci_populate_single_memory_level() 2923 dll_state_on = ((RREG32(MC_SEQ_MISC5) >> 1) & 0x1) ? true : false; in ci_populate_single_memory_level() 2926 ret = ci_calculate_mclk_params(rdev, memory_clock, memory_level, memory_level->StrobeEnable, dll_state_on); in ci_populate_single_memory_level() 2749 ci_calculate_mclk_params(struct radeon_device *rdev, u32 memory_clock, SMU7_Discrete_MemoryLevel *mclk, bool strobe_mode, bool dll_state_on) ci_calculate_mclk_params() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | iceland_smumgr.c | 1235 bool dll_state_on; in iceland_populate_single_memory_level() local 1309 dll_state_on = ((cgs_read_register(hwmgr->device, mmMC_SEQ_MISC5) >> 1) & 0x1) ? 1 : 0; in iceland_populate_single_memory_level() 1311 dll_state_on = ((cgs_read_register(hwmgr->device, mmMC_SEQ_MISC6) >> 1) & 0x1) ? 1 : 0; in iceland_populate_single_memory_level() 1313 dll_state_on = data->dll_default_on; in iceland_populate_single_memory_level() 1317 dll_state_on = ((cgs_read_register(hwmgr->device, mmMC_SEQ_MISC5) >> 1) & 0x1) ? 1 : 0; in iceland_populate_single_memory_level() 1321 memory_clock, memory_level, memory_level->StrobeEnable, dll_state_on); in iceland_populate_single_memory_level()
|
H A D | ci_smumgr.c | 1181 bool dll_state_on; in ci_populate_single_memory_level() local 1262 dll_state_on = ((cgs_read_register(hwmgr->device, mmMC_SEQ_MISC5) >> 1) & 0x1) ? 1 : 0; in ci_populate_single_memory_level() 1264 dll_state_on = ((cgs_read_register(hwmgr->device, mmMC_SEQ_MISC6) >> 1) & 0x1) ? 1 : 0; in ci_populate_single_memory_level() 1266 dll_state_on = data->dll_default_on; in ci_populate_single_memory_level() 1270 dll_state_on = ((cgs_read_register(hwmgr->device, mmMC_SEQ_MISC5) >> 1) & 0x1) ? 1 : 0; in ci_populate_single_memory_level() 1274 memory_clock, memory_level, memory_level->StrobeEnable, dll_state_on); in ci_populate_single_memory_level()
|
H A D | tonga_smumgr.c | 974 bool dll_state_on; in tonga_populate_single_memory_level() local 1049 dll_state_on = ((cgs_read_register(hwmgr->device, mmMC_SEQ_MISC5) >> 1) & 0x1) ? 1 : 0; in tonga_populate_single_memory_level() 1051 dll_state_on = ((cgs_read_register(hwmgr->device, mmMC_SEQ_MISC6) >> 1) & 0x1) ? 1 : 0; in tonga_populate_single_memory_level() 1055 dll_state_on = data->dll_default_on; in tonga_populate_single_memory_level() 1060 dll_state_on = ((cgs_read_register(hwmgr->device, mmMC_SEQ_MISC5) >> 1) & 0x1) ? 1 : 0; in tonga_populate_single_memory_level() 1064 memory_clock, memory_level, memory_level->StrobeEnable, dll_state_on); in tonga_populate_single_memory_level()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | iceland_smumgr.c | 1235 bool dll_state_on; in iceland_populate_single_memory_level() local 1309 dll_state_on = ((cgs_read_register(hwmgr->device, mmMC_SEQ_MISC5) >> 1) & 0x1) ? 1 : 0; in iceland_populate_single_memory_level() 1311 dll_state_on = ((cgs_read_register(hwmgr->device, mmMC_SEQ_MISC6) >> 1) & 0x1) ? 1 : 0; in iceland_populate_single_memory_level() 1313 dll_state_on = data->dll_default_on; in iceland_populate_single_memory_level() 1317 dll_state_on = ((cgs_read_register(hwmgr->device, mmMC_SEQ_MISC5) >> 1) & 0x1) ? 1 : 0; in iceland_populate_single_memory_level() 1321 memory_clock, memory_level, memory_level->StrobeEnable, dll_state_on); in iceland_populate_single_memory_level()
|
H A D | tonga_smumgr.c | 974 bool dll_state_on; in tonga_populate_single_memory_level() local 1049 dll_state_on = ((cgs_read_register(hwmgr->device, mmMC_SEQ_MISC5) >> 1) & 0x1) ? 1 : 0; in tonga_populate_single_memory_level() 1051 dll_state_on = ((cgs_read_register(hwmgr->device, mmMC_SEQ_MISC6) >> 1) & 0x1) ? 1 : 0; in tonga_populate_single_memory_level() 1055 dll_state_on = data->dll_default_on; in tonga_populate_single_memory_level() 1060 dll_state_on = ((cgs_read_register(hwmgr->device, mmMC_SEQ_MISC5) >> 1) & 0x1) ? 1 : 0; in tonga_populate_single_memory_level() 1064 memory_clock, memory_level, memory_level->StrobeEnable, dll_state_on); in tonga_populate_single_memory_level()
|
H A D | ci_smumgr.c | 1182 bool dll_state_on; in ci_populate_single_memory_level() local 1263 dll_state_on = ((cgs_read_register(hwmgr->device, mmMC_SEQ_MISC5) >> 1) & 0x1) ? 1 : 0; in ci_populate_single_memory_level() 1265 dll_state_on = ((cgs_read_register(hwmgr->device, mmMC_SEQ_MISC6) >> 1) & 0x1) ? 1 : 0; in ci_populate_single_memory_level() 1267 dll_state_on = data->dll_default_on; in ci_populate_single_memory_level() 1271 dll_state_on = ((cgs_read_register(hwmgr->device, mmMC_SEQ_MISC5) >> 1) & 0x1) ? 1 : 0; in ci_populate_single_memory_level() 1275 memory_clock, memory_level, memory_level->StrobeEnable, dll_state_on); in ci_populate_single_memory_level()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/ |
H A D | si_dpm.c | 5319 bool dll_state_on) in si_populate_mclk_value() 5384 if (dll_state_on) in si_populate_mclk_value() 5426 bool dll_state_on; in si_convert_power_level_to_smc() local 5465 dll_state_on = ((RREG32(MC_SEQ_MISC5) >> 1) & 0x1) ? true : false; in si_convert_power_level_to_smc() 5467 dll_state_on = ((RREG32(MC_SEQ_MISC6) >> 1) & 0x1) ? true : false; in si_convert_power_level_to_smc() 5469 dll_state_on = false; in si_convert_power_level_to_smc() 5475 dll_state_on = ((RREG32(MC_SEQ_MISC5) >> 1) & 0x1) ? true : false; in si_convert_power_level_to_smc() 5482 (level->strobeMode & SISLANDS_SMC_STROBE_ENABLE) != 0, dll_state_on); in si_convert_power_level_to_smc() 5314 si_populate_mclk_value(struct amdgpu_device *adev, u32 engine_clock, u32 memory_clock, SISLANDS_SMC_MCLK_VALUE *mclk, bool strobe_mode, bool dll_state_on) si_populate_mclk_value() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/legacy-dpm/ |
H A D | si_dpm.c | 5361 bool dll_state_on) in si_populate_mclk_value() 5426 if (dll_state_on) in si_populate_mclk_value() 5468 bool dll_state_on; in si_convert_power_level_to_smc() local 5507 dll_state_on = ((RREG32(MC_SEQ_MISC5) >> 1) & 0x1) ? true : false; in si_convert_power_level_to_smc() 5509 dll_state_on = ((RREG32(MC_SEQ_MISC6) >> 1) & 0x1) ? true : false; in si_convert_power_level_to_smc() 5511 dll_state_on = false; in si_convert_power_level_to_smc() 5517 dll_state_on = ((RREG32(MC_SEQ_MISC5) >> 1) & 0x1) ? true : false; in si_convert_power_level_to_smc() 5524 (level->strobeMode & SISLANDS_SMC_STROBE_ENABLE) != 0, dll_state_on); in si_convert_power_level_to_smc() 5356 si_populate_mclk_value(struct amdgpu_device *adev, u32 engine_clock, u32 memory_clock, SISLANDS_SMC_MCLK_VALUE *mclk, bool strobe_mode, bool dll_state_on) si_populate_mclk_value() argument
|