memory_clock 4290 drivers/gpu/drm/amd/amdgpu/si_dpm.c static u8 si_get_ddr3_mclk_frequency_ratio(u32 memory_clock) memory_clock 4294 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (memory_clock < 10000) memory_clock 4296 drivers/gpu/drm/amd/amdgpu/si_dpm.c else if (memory_clock >= 80000) memory_clock 4299 drivers/gpu/drm/amd/amdgpu/si_dpm.c mc_para_index = (u8)((memory_clock - 10000) / 5000 + 1); memory_clock 4303 drivers/gpu/drm/amd/amdgpu/si_dpm.c static u8 si_get_mclk_frequency_ratio(u32 memory_clock, bool strobe_mode) memory_clock 4308 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (memory_clock < 12500) memory_clock 4310 drivers/gpu/drm/amd/amdgpu/si_dpm.c else if (memory_clock > 47500) memory_clock 4313 drivers/gpu/drm/amd/amdgpu/si_dpm.c mc_para_index = (u8)((memory_clock - 10000) / 2500); memory_clock 4315 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (memory_clock < 65000) memory_clock 4317 drivers/gpu/drm/amd/amdgpu/si_dpm.c else if (memory_clock > 135000) memory_clock 4320 drivers/gpu/drm/amd/amdgpu/si_dpm.c mc_para_index = (u8)((memory_clock - 60000) / 5000); memory_clock 5337 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 memory_clock, memory_clock 5356 drivers/gpu/drm/amd/amdgpu/si_dpm.c ret = amdgpu_atombios_get_memory_pll_dividers(adev, memory_clock, strobe_mode, &mpll_param); memory_clock 5383 drivers/gpu/drm/amd/amdgpu/si_dpm.c freq_nom = memory_clock * 4; memory_clock 5385 drivers/gpu/drm/amd/amdgpu/si_dpm.c freq_nom = memory_clock * 2; memory_clock 5410 drivers/gpu/drm/amd/amdgpu/si_dpm.c mclk->mclk_value = cpu_to_be32(memory_clock); memory_clock 1450 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c clk_info->min_mem_clk = level.memory_clock; memory_clock 1458 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c clk_info->min_mem_clk = level.memory_clock; memory_clock 383 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c pclock_info->min_mem_clk = performance_level.memory_clock; memory_clock 393 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c pclock_info->max_mem_clk = performance_level.memory_clock; memory_clock 175 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c uint32_t memory_clock) memory_clock 188 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c cpu_to_le32(memory_clock & SET_CLOCK_FREQ_MASK); memory_clock 1279 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c const uint32_t memory_clock, memory_clock 1283 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c ASIC_INTERNAL_MEMORY_SS, memory_clock, ssInfo); memory_clock 1318 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c int atomctrl_set_ac_timing_ai(struct pp_hwmgr *hwmgr, uint32_t memory_clock, memory_clock 1326 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c memory_clock & SET_CLOCK_FREQ_MASK; memory_clock 294 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.h extern int atomctrl_get_memory_clock_spread_spectrum(struct pp_hwmgr *hwmgr, const uint32_t memory_clock, pp_atomctrl_internal_ss_info *ssInfo); memory_clock 297 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.h extern int atomctrl_set_engine_dram_timings_rv770(struct pp_hwmgr *hwmgr, uint32_t engine_clock, uint32_t memory_clock); memory_clock 316 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.h extern int atomctrl_set_ac_timing_ai(struct pp_hwmgr *hwmgr, uint32_t memory_clock, memory_clock 942 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c level->memory_clock = data->clock_vol_info.vdd_dep_on_fclk->entries[0].clk; memory_clock 945 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c level->memory_clock = data->clock_vol_info.vdd_dep_on_fclk->entries[ memory_clock 2917 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (smu7_ps->performance_levels[i].memory_clock > max_limits->mclk) memory_clock 2918 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[i].memory_clock = max_limits->mclk; memory_clock 2965 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c mclk = smu7_ps->performance_levels[0].memory_clock; memory_clock 2969 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c [smu7_ps->performance_level_count - 1].memory_clock; memory_clock 2980 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[0].memory_clock = mclk; memory_clock 2989 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (mclk < smu7_ps->performance_levels[1].memory_clock) memory_clock 2990 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c mclk = smu7_ps->performance_levels[1].memory_clock; memory_clock 2992 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[0].memory_clock = mclk; memory_clock 2993 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[1].memory_clock = mclk; memory_clock 2995 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (smu7_ps->performance_levels[1].memory_clock < memory_clock 2996 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[0].memory_clock) memory_clock 2997 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[1].memory_clock = memory_clock 2998 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[0].memory_clock; memory_clock 3005 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[i].memory_clock = stable_pstate_mclk; memory_clock 3030 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c return smu7_ps->performance_levels[0].memory_clock; memory_clock 3033 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c [smu7_ps->performance_level_count-1].memory_clock; memory_clock 3095 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c ps->performance_levels[0].memory_clock = data->vbios_boot_state.mclk_bootup_value; memory_clock 3183 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c performance_level->memory_clock = mclk_dep_table->entries memory_clock 3198 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c performance_level->memory_clock = mclk_dep_table->entries memory_clock 3326 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c uint32_t engine_clock, memory_clock; memory_clock 3330 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c memory_clock = visland_clk_info->ucMemoryClockHigh << 16 | visland_clk_info->usMemoryClockLow; memory_clock 3332 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (!(data->mc_micro_code_feature & DISABLE_MC_LOADMICROCODE) && memory_clock > data->highest_mclk) memory_clock 3333 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->highest_mclk = memory_clock; memory_clock 3350 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c performance_level->memory_clock = memory_clock; memory_clock 3604 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c [smu7_ps->performance_level_count - 1].memory_clock; memory_clock 3842 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[0].memory_clock, memory_clock 3843 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[high_limit_count].memory_clock); memory_clock 4188 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c return ((pl1->memory_clock == pl2->memory_clock) && memory_clock 4642 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[smu7_ps->performance_level_count - 1].memory_clock = memory_clock 5090 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c level->memory_clock = ps->performance_levels[i].memory_clock; memory_clock 55 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.h uint32_t memory_clock; memory_clock 1579 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c level->memory_clock = data->sys_info.nbp_memory_clock[SMU8_NUM_NBPMEMORYCLOCK - 1]; memory_clock 1581 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c level->memory_clock = data->sys_info.nbp_memory_clock[0]; memory_clock 5263 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c level->memory_clock = ps->performance_levels[i].mem_clock; memory_clock 193 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h uint32_t memory_clock; memory_clock 308 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h uint32_t memory_clock; memory_clock 273 drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h uint32_t memory_clock; memory_clock 1261 drivers/gpu/drm/amd/powerplay/navi10_ppt.c min_clocks.memory_clock = smu->display_config->min_mem_set_clock; memory_clock 1282 drivers/gpu/drm/amd/powerplay/navi10_ppt.c ret = smu_set_hard_freq_range(smu, SMU_UCLK, min_clocks.memory_clock/100, 0); memory_clock 1023 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c uint32_t memory_clock, memory_clock 1044 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c memory_clock, &mpll_param, strobe_mode); memory_clock 1076 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c freq_nom = memory_clock * 4 * (1 << mpll_param.mpll_post_divider); memory_clock 1078 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c freq_nom = memory_clock * 2 * (1 << mpll_param.mpll_post_divider); memory_clock 1103 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c mclk->MclkFrequency = memory_clock; memory_clock 1117 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c static uint8_t ci_get_mclk_frequency_ratio(uint32_t memory_clock, memory_clock 1123 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c if (memory_clock < 12500) memory_clock 1125 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c else if (memory_clock > 47500) memory_clock 1128 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c mc_para_index = (uint8_t)((memory_clock - 10000) / 2500); memory_clock 1130 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c if (memory_clock < 65000) memory_clock 1132 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c else if (memory_clock > 135000) memory_clock 1135 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c mc_para_index = (uint8_t)((memory_clock - 60000) / 5000); memory_clock 1141 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c static uint8_t ci_get_ddr3_mclk_frequency_ratio(uint32_t memory_clock) memory_clock 1145 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c if (memory_clock < 10000) memory_clock 1147 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c else if (memory_clock >= 80000) memory_clock 1150 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c mc_para_index = (uint8_t)((memory_clock - 10000) / 5000 + 1); memory_clock 1156 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c uint32_t memory_clock, uint32_t *p_shed) memory_clock 1163 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c if (memory_clock < pl->entries[i].Mclk) { memory_clock 1174 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c uint32_t memory_clock, memory_clock 1187 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c hwmgr->dyn_state.vddc_dependency_on_mclk, memory_clock, &memory_level->MinVddc); memory_clock 1195 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c memory_clock, memory_clock 1204 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c memory_clock, memory_clock 1214 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c memory_clock, &memory_level->MinVddcPhases); memory_clock 1241 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c (memory_clock <= mclk_strobe_mode_threshold); memory_clock 1245 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c memory_level->StrobeRatio = ci_get_mclk_frequency_ratio(memory_clock, memory_clock 1249 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c (memory_clock > mclk_edc_enable_threshold)) { memory_clock 1254 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c (memory_clock > mclk_edc_wr_enable_threshold)) { memory_clock 1259 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c if (ci_get_mclk_frequency_ratio(memory_clock, 1) >= memory_clock 1268 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c ci_get_ddr3_mclk_frequency_ratio(memory_clock); memory_clock 1273 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c memory_clock, memory_level, memory_level->StrobeEnable, dll_state_on); memory_clock 1622 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c uint32_t memory_clock, memory_clock 1632 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c engine_clock, memory_clock); memory_clock 1762 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c const uint32_t memory_clock, memory_clock 1770 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c if (memory_clock <= memory_clock 1046 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c uint32_t memory_clock, memory_clock 1068 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c memory_clock, &mpll_param, strobe_mode); memory_clock 1119 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c freq_nom = memory_clock * 4 * (1 << mpll_param.mpll_post_divider); memory_clock 1121 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c freq_nom = memory_clock * 2 * (1 << mpll_param.mpll_post_divider); memory_clock 1155 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c mclk->MclkFrequency = memory_clock; memory_clock 1169 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c static uint8_t iceland_get_mclk_frequency_ratio(uint32_t memory_clock, memory_clock 1175 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c if (memory_clock < 12500) { memory_clock 1177 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c } else if (memory_clock > 47500) { memory_clock 1180 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c mc_para_index = (uint8_t)((memory_clock - 10000) / 2500); memory_clock 1183 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c if (memory_clock < 65000) { memory_clock 1185 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c } else if (memory_clock > 135000) { memory_clock 1188 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c mc_para_index = (uint8_t)((memory_clock - 60000) / 5000); memory_clock 1195 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c static uint8_t iceland_get_ddr3_mclk_frequency_ratio(uint32_t memory_clock) memory_clock 1199 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c if (memory_clock < 10000) { memory_clock 1201 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c } else if (memory_clock >= 80000) { memory_clock 1204 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c mc_para_index = (uint8_t)((memory_clock - 10000) / 5000 + 1); memory_clock 1211 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c uint32_t memory_clock, uint32_t *p_shed) memory_clock 1218 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c if (memory_clock < pl->entries[i].Mclk) { memory_clock 1229 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c uint32_t memory_clock, memory_clock 1242 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c hwmgr->dyn_state.vddc_dependency_on_mclk, memory_clock, &memory_level->MinVddc); memory_clock 1252 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c memory_clock, memory_clock 1262 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c memory_clock, &memory_level->MinVddcPhases); memory_clock 1289 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c (memory_clock <= mclk_strobe_mode_threshold); memory_clock 1293 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c memory_level->StrobeRatio = iceland_get_mclk_frequency_ratio(memory_clock, memory_clock 1297 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c (memory_clock > mclk_edc_enable_threshold)) { memory_clock 1302 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c (memory_clock > mclk_edc_wr_enable_threshold)) { memory_clock 1307 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c if (iceland_get_mclk_frequency_ratio(memory_clock, 1) >= memory_clock 1316 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c iceland_get_ddr3_mclk_frequency_ratio(memory_clock); memory_clock 1321 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c memory_clock, memory_level, memory_level->StrobeEnable, dll_state_on); memory_clock 1585 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c uint32_t memory_clock, memory_clock 1595 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c engine_clock, memory_clock); memory_clock 1729 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c const uint32_t memory_clock, memory_clock 1737 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c if (memory_clock <= memory_clock 789 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c uint32_t memory_clock, memory_clock 811 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c memory_clock, &mpll_param, strobe_mode); memory_clock 871 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c freq_nom = memory_clock * 4 * (1 << mpll_param.mpll_post_divider); memory_clock 873 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c freq_nom = memory_clock * 2 * (1 << mpll_param.mpll_post_divider); memory_clock 906 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c mclk->MclkFrequency = memory_clock; memory_clock 920 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c static uint8_t tonga_get_mclk_frequency_ratio(uint32_t memory_clock, memory_clock 926 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c if (memory_clock < 12500) memory_clock 928 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c else if (memory_clock > 47500) memory_clock 931 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c mc_para_index = (uint8_t)((memory_clock - 10000) / 2500); memory_clock 933 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c if (memory_clock < 65000) memory_clock 935 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c else if (memory_clock > 135000) memory_clock 938 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c mc_para_index = (uint8_t)((memory_clock - 60000) / 5000); memory_clock 944 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c static uint8_t tonga_get_ddr3_mclk_frequency_ratio(uint32_t memory_clock) memory_clock 948 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c if (memory_clock < 10000) memory_clock 950 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c else if (memory_clock >= 80000) memory_clock 953 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c mc_para_index = (uint8_t)((memory_clock - 10000) / 5000 + 1); memory_clock 961 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c uint32_t memory_clock, memory_clock 985 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c memory_clock, memory_clock 1020 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c (memory_clock <= mclk_stutter_mode_threshold) && memory_clock 1029 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c (memory_clock <= mclk_strobe_mode_threshold); memory_clock 1033 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c memory_level->StrobeRatio = tonga_get_mclk_frequency_ratio(memory_clock, memory_clock 1037 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c (memory_clock > mclk_edc_enable_threshold)) { memory_clock 1042 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c (memory_clock > mclk_edc_wr_enable_threshold)) { memory_clock 1047 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c if (tonga_get_mclk_frequency_ratio(memory_clock, 1) >= memory_clock 1059 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c tonga_get_ddr3_mclk_frequency_ratio(memory_clock); memory_clock 1064 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c memory_clock, memory_level, memory_level->StrobeEnable, dll_state_on); memory_clock 1460 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c uint32_t memory_clock, memory_clock 1470 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c engine_clock, memory_clock); memory_clock 2108 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c const uint32_t memory_clock, memory_clock 2116 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c if (memory_clock <= memory_clock 2261 drivers/gpu/drm/amd/powerplay/vega20_ppt.c min_clocks.memory_clock = smu->display_config->min_mem_set_clock; memory_clock 2282 drivers/gpu/drm/amd/powerplay/vega20_ppt.c memtable->dpm_state.hard_min_level = min_clocks.memory_clock/100; memory_clock 170 drivers/gpu/drm/radeon/ci_dpm.c extern u8 si_get_ddr3_mclk_frequency_ratio(u32 memory_clock); memory_clock 171 drivers/gpu/drm/radeon/ci_dpm.c extern u8 si_get_mclk_frequency_ratio(u32 memory_clock, bool strobe_mode); memory_clock 2497 drivers/gpu/drm/radeon/ci_dpm.c const u32 memory_clock, memory_clock 2509 drivers/gpu/drm/radeon/ci_dpm.c if ((memory_clock > 100000) && (memory_clock <= 125000)) { memory_clock 2513 drivers/gpu/drm/radeon/ci_dpm.c } else if ((memory_clock > 125000) && (memory_clock <= 137500)) { memory_clock 2789 drivers/gpu/drm/radeon/ci_dpm.c u32 memory_clock, memory_clock 2807 drivers/gpu/drm/radeon/ci_dpm.c ret = radeon_atom_get_memory_pll_dividers(rdev, memory_clock, strobe_mode, &mpll_param); memory_clock 2834 drivers/gpu/drm/radeon/ci_dpm.c freq_nom = memory_clock * 4 * (1 << mpll_param.post_div); memory_clock 2836 drivers/gpu/drm/radeon/ci_dpm.c freq_nom = memory_clock * 2 * (1 << mpll_param.post_div); memory_clock 2861 drivers/gpu/drm/radeon/ci_dpm.c mclk->MclkFrequency = memory_clock; memory_clock 2876 drivers/gpu/drm/radeon/ci_dpm.c u32 memory_clock, memory_clock 2886 drivers/gpu/drm/radeon/ci_dpm.c memory_clock, &memory_level->MinVddc); memory_clock 2894 drivers/gpu/drm/radeon/ci_dpm.c memory_clock, &memory_level->MinVddci); memory_clock 2902 drivers/gpu/drm/radeon/ci_dpm.c memory_clock, &memory_level->MinMvdd); memory_clock 2912 drivers/gpu/drm/radeon/ci_dpm.c memory_clock, memory_clock 2930 drivers/gpu/drm/radeon/ci_dpm.c (memory_clock <= pi->mclk_stutter_mode_threshold) && memory_clock 2937 drivers/gpu/drm/radeon/ci_dpm.c (memory_clock <= pi->mclk_strobe_mode_threshold)) memory_clock 2942 drivers/gpu/drm/radeon/ci_dpm.c si_get_mclk_frequency_ratio(memory_clock, memory_level->StrobeEnable); memory_clock 2944 drivers/gpu/drm/radeon/ci_dpm.c (memory_clock > pi->mclk_edc_enable_threshold)) memory_clock 2948 drivers/gpu/drm/radeon/ci_dpm.c (memory_clock > pi->mclk_edc_wr_enable_threshold)) memory_clock 2952 drivers/gpu/drm/radeon/ci_dpm.c if (si_get_mclk_frequency_ratio(memory_clock, true) >= memory_clock 2961 drivers/gpu/drm/radeon/ci_dpm.c memory_level->StrobeRatio = si_get_ddr3_mclk_frequency_ratio(memory_clock); memory_clock 2965 drivers/gpu/drm/radeon/ci_dpm.c ret = ci_calculate_mclk_params(rdev, memory_clock, memory_level, memory_level->StrobeEnable, dll_state_on); memory_clock 4719 drivers/gpu/drm/radeon/ci_dpm.c const u32 memory_clock, memory_clock 4726 drivers/gpu/drm/radeon/ci_dpm.c if (memory_clock <= pi->mc_reg_table.mc_reg_table_entry[i].mclk_max) memory_clock 475 drivers/gpu/drm/radeon/cypress_dpm.c u32 engine_clock, u32 memory_clock, memory_clock 502 drivers/gpu/drm/radeon/cypress_dpm.c memory_clock, strobe_mode, ÷rs); memory_clock 556 drivers/gpu/drm/radeon/cypress_dpm.c u32 vco_freq = memory_clock * dividers.post_div; memory_clock 575 drivers/gpu/drm/radeon/cypress_dpm.c memory_clock); memory_clock 598 drivers/gpu/drm/radeon/cypress_dpm.c mclk->mclk770.mclk_value = cpu_to_be32(memory_clock); memory_clock 612 drivers/gpu/drm/radeon/cypress_dpm.c u32 memory_clock, bool strobe_mode) memory_clock 618 drivers/gpu/drm/radeon/cypress_dpm.c if (memory_clock < 10000) memory_clock 620 drivers/gpu/drm/radeon/cypress_dpm.c else if (memory_clock > 47500) memory_clock 623 drivers/gpu/drm/radeon/cypress_dpm.c mc_para_index = (u8)((memory_clock - 10000) / 2500); memory_clock 625 drivers/gpu/drm/radeon/cypress_dpm.c if (memory_clock < 65000) memory_clock 627 drivers/gpu/drm/radeon/cypress_dpm.c else if (memory_clock > 135000) memory_clock 630 drivers/gpu/drm/radeon/cypress_dpm.c mc_para_index = (u8)((memory_clock - 60000) / 5000); memory_clock 634 drivers/gpu/drm/radeon/cypress_dpm.c if (memory_clock < 10000) memory_clock 636 drivers/gpu/drm/radeon/cypress_dpm.c else if (memory_clock > 47500) memory_clock 639 drivers/gpu/drm/radeon/cypress_dpm.c mc_para_index = (u8)((memory_clock - 10000) / 2500); memory_clock 641 drivers/gpu/drm/radeon/cypress_dpm.c if (memory_clock < 40000) memory_clock 643 drivers/gpu/drm/radeon/cypress_dpm.c else if (memory_clock > 115000) memory_clock 646 drivers/gpu/drm/radeon/cypress_dpm.c mc_para_index = (u8)((memory_clock - 40000) / 5000); memory_clock 905 drivers/gpu/drm/radeon/cypress_dpm.c u32 engine_clock, u32 memory_clock) memory_clock 909 drivers/gpu/drm/radeon/cypress_dpm.c u32 result = (4 * multiplier * engine_clock) / (memory_clock / 2); memory_clock 125 drivers/gpu/drm/radeon/cypress_dpm.h u32 engine_clock, u32 memory_clock); memory_clock 157 drivers/gpu/drm/radeon/cypress_dpm.h u32 memory_clock, bool strobe_mode); memory_clock 2162 drivers/gpu/drm/radeon/ni_dpm.c u32 memory_clock, memory_clock 2184 drivers/gpu/drm/radeon/ni_dpm.c memory_clock, strobe_mode, ÷rs); memory_clock 2238 drivers/gpu/drm/radeon/ni_dpm.c u32 vco_freq = memory_clock * dividers.post_div; memory_clock 2257 drivers/gpu/drm/radeon/ni_dpm.c memory_clock); memory_clock 2281 drivers/gpu/drm/radeon/ni_dpm.c mclk->mclk_value = cpu_to_be32(memory_clock); memory_clock 119 drivers/gpu/drm/radeon/rv730_dpm.c u32 engine_clock, u32 memory_clock, memory_clock 135 drivers/gpu/drm/radeon/rv730_dpm.c memory_clock, false, ÷rs); memory_clock 167 drivers/gpu/drm/radeon/rv730_dpm.c u32 vco_freq = memory_clock * post_divider; memory_clock 187 drivers/gpu/drm/radeon/rv730_dpm.c mclk->mclk730.mclk_value = cpu_to_be32(memory_clock); memory_clock 94 drivers/gpu/drm/radeon/rv740_dpm.c u32 rv740_get_dll_speed(bool is_gddr5, u32 memory_clock) memory_clock 105 drivers/gpu/drm/radeon/rv740_dpm.c data_rate = (u16)(memory_clock * factor / 1000); memory_clock 187 drivers/gpu/drm/radeon/rv740_dpm.c u32 engine_clock, u32 memory_clock, memory_clock 205 drivers/gpu/drm/radeon/rv740_dpm.c memory_clock, false, ÷rs); memory_clock 247 drivers/gpu/drm/radeon/rv740_dpm.c u32 vco_freq = memory_clock * dividers.post_div; memory_clock 266 drivers/gpu/drm/radeon/rv740_dpm.c memory_clock); memory_clock 271 drivers/gpu/drm/radeon/rv740_dpm.c mclk->mclk770.mclk_value = cpu_to_be32(memory_clock); memory_clock 405 drivers/gpu/drm/radeon/rv740_dpm.c u8 rv740_get_mclk_frequency_ratio(u32 memory_clock) memory_clock 409 drivers/gpu/drm/radeon/rv740_dpm.c if ((memory_clock < 10000) || (memory_clock > 47500)) memory_clock 412 drivers/gpu/drm/radeon/rv740_dpm.c mc_para_index = (u8)((memory_clock - 10000) / 2500); memory_clock 317 drivers/gpu/drm/radeon/rv770_dpm.c static void rv770_calculate_fractional_mpll_feedback_divider(u32 memory_clock, memory_clock 328 drivers/gpu/drm/radeon/rv770_dpm.c fyclk = (memory_clock * 8) / 2; memory_clock 330 drivers/gpu/drm/radeon/rv770_dpm.c fyclk = (memory_clock * 4) / 2; memory_clock 386 drivers/gpu/drm/radeon/rv770_dpm.c u32 engine_clock, u32 memory_clock, memory_clock 410 drivers/gpu/drm/radeon/rv770_dpm.c memory_clock, false, ÷rs); memory_clock 417 drivers/gpu/drm/radeon/rv770_dpm.c rv770_calculate_fractional_mpll_feedback_divider(memory_clock, reference_clock, memory_clock 444 drivers/gpu/drm/radeon/rv770_dpm.c rv770_calculate_fractional_mpll_feedback_divider(memory_clock, memory_clock 472 drivers/gpu/drm/radeon/rv770_dpm.c mclk->mclk770.mclk_value = cpu_to_be32(memory_clock); memory_clock 184 drivers/gpu/drm/radeon/rv770_dpm.h u32 engine_clock, u32 memory_clock, memory_clock 205 drivers/gpu/drm/radeon/rv770_dpm.h u32 engine_clock, u32 memory_clock, memory_clock 212 drivers/gpu/drm/radeon/rv770_dpm.h u8 rv740_get_mclk_frequency_ratio(u32 memory_clock); memory_clock 213 drivers/gpu/drm/radeon/rv770_dpm.h u32 rv740_get_dll_speed(bool is_gddr5, u32 memory_clock); memory_clock 3825 drivers/gpu/drm/radeon/si_dpm.c u8 si_get_ddr3_mclk_frequency_ratio(u32 memory_clock) memory_clock 3829 drivers/gpu/drm/radeon/si_dpm.c if (memory_clock < 10000) memory_clock 3831 drivers/gpu/drm/radeon/si_dpm.c else if (memory_clock >= 80000) memory_clock 3834 drivers/gpu/drm/radeon/si_dpm.c mc_para_index = (u8)((memory_clock - 10000) / 5000 + 1); memory_clock 3838 drivers/gpu/drm/radeon/si_dpm.c u8 si_get_mclk_frequency_ratio(u32 memory_clock, bool strobe_mode) memory_clock 3843 drivers/gpu/drm/radeon/si_dpm.c if (memory_clock < 12500) memory_clock 3845 drivers/gpu/drm/radeon/si_dpm.c else if (memory_clock > 47500) memory_clock 3848 drivers/gpu/drm/radeon/si_dpm.c mc_para_index = (u8)((memory_clock - 10000) / 2500); memory_clock 3850 drivers/gpu/drm/radeon/si_dpm.c if (memory_clock < 65000) memory_clock 3852 drivers/gpu/drm/radeon/si_dpm.c else if (memory_clock > 135000) memory_clock 3855 drivers/gpu/drm/radeon/si_dpm.c mc_para_index = (u8)((memory_clock - 60000) / 5000); memory_clock 4875 drivers/gpu/drm/radeon/si_dpm.c u32 memory_clock, memory_clock 4894 drivers/gpu/drm/radeon/si_dpm.c ret = radeon_atom_get_memory_pll_dividers(rdev, memory_clock, strobe_mode, &mpll_param); memory_clock 4921 drivers/gpu/drm/radeon/si_dpm.c freq_nom = memory_clock * 4; memory_clock 4923 drivers/gpu/drm/radeon/si_dpm.c freq_nom = memory_clock * 2; memory_clock 4948 drivers/gpu/drm/radeon/si_dpm.c mclk->mclk_value = cpu_to_be32(memory_clock);