Lines Matching refs:memory_level
2840 SMU7_Discrete_MemoryLevel *memory_level) in ci_populate_single_memory_level() argument
2849 memory_clock, &memory_level->MinVddc); in ci_populate_single_memory_level()
2857 memory_clock, &memory_level->MinVddci); in ci_populate_single_memory_level()
2865 memory_clock, &memory_level->MinMvdd); in ci_populate_single_memory_level()
2870 memory_level->MinVddcPhases = 1; in ci_populate_single_memory_level()
2876 &memory_level->MinVddcPhases); in ci_populate_single_memory_level()
2878 memory_level->EnabledForThrottle = 1; in ci_populate_single_memory_level()
2879 memory_level->UpH = 0; in ci_populate_single_memory_level()
2880 memory_level->DownH = 100; in ci_populate_single_memory_level()
2881 memory_level->VoltageDownH = 0; in ci_populate_single_memory_level()
2882 memory_level->ActivityLevel = (u16)pi->mclk_activity_target; in ci_populate_single_memory_level()
2884 memory_level->StutterEnable = false; in ci_populate_single_memory_level()
2885 memory_level->StrobeEnable = false; in ci_populate_single_memory_level()
2886 memory_level->EdcReadEnable = false; in ci_populate_single_memory_level()
2887 memory_level->EdcWriteEnable = false; in ci_populate_single_memory_level()
2888 memory_level->RttEnable = false; in ci_populate_single_memory_level()
2890 memory_level->DisplayWatermark = PPSMC_DISPLAY_WATERMARK_LOW; in ci_populate_single_memory_level()
2897 memory_level->StutterEnable = true; in ci_populate_single_memory_level()
2901 memory_level->StrobeEnable = 1; in ci_populate_single_memory_level()
2904 memory_level->StrobeRatio = in ci_populate_single_memory_level()
2905 si_get_mclk_frequency_ratio(memory_clock, memory_level->StrobeEnable); in ci_populate_single_memory_level()
2908 memory_level->EdcReadEnable = true; in ci_populate_single_memory_level()
2912 memory_level->EdcWriteEnable = true; in ci_populate_single_memory_level()
2914 if (memory_level->StrobeEnable) { in ci_populate_single_memory_level()
2924 memory_level->StrobeRatio = si_get_ddr3_mclk_frequency_ratio(memory_clock); in ci_populate_single_memory_level()
2928 …ret = ci_calculate_mclk_params(rdev, memory_clock, memory_level, memory_level->StrobeEnable, dll_s… in ci_populate_single_memory_level()
2932 memory_level->MinVddc = cpu_to_be32(memory_level->MinVddc * VOLTAGE_SCALE); in ci_populate_single_memory_level()
2933 memory_level->MinVddcPhases = cpu_to_be32(memory_level->MinVddcPhases); in ci_populate_single_memory_level()
2934 memory_level->MinVddci = cpu_to_be32(memory_level->MinVddci * VOLTAGE_SCALE); in ci_populate_single_memory_level()
2935 memory_level->MinMvdd = cpu_to_be32(memory_level->MinMvdd * VOLTAGE_SCALE); in ci_populate_single_memory_level()
2937 memory_level->MclkFrequency = cpu_to_be32(memory_level->MclkFrequency); in ci_populate_single_memory_level()
2938 memory_level->ActivityLevel = cpu_to_be16(memory_level->ActivityLevel); in ci_populate_single_memory_level()
2939 memory_level->MpllFuncCntl = cpu_to_be32(memory_level->MpllFuncCntl); in ci_populate_single_memory_level()
2940 memory_level->MpllFuncCntl_1 = cpu_to_be32(memory_level->MpllFuncCntl_1); in ci_populate_single_memory_level()
2941 memory_level->MpllFuncCntl_2 = cpu_to_be32(memory_level->MpllFuncCntl_2); in ci_populate_single_memory_level()
2942 memory_level->MpllAdFuncCntl = cpu_to_be32(memory_level->MpllAdFuncCntl); in ci_populate_single_memory_level()
2943 memory_level->MpllDqFuncCntl = cpu_to_be32(memory_level->MpllDqFuncCntl); in ci_populate_single_memory_level()
2944 memory_level->MclkPwrmgtCntl = cpu_to_be32(memory_level->MclkPwrmgtCntl); in ci_populate_single_memory_level()
2945 memory_level->DllCntl = cpu_to_be32(memory_level->DllCntl); in ci_populate_single_memory_level()
2946 memory_level->MpllSs1 = cpu_to_be32(memory_level->MpllSs1); in ci_populate_single_memory_level()
2947 memory_level->MpllSs2 = cpu_to_be32(memory_level->MpllSs2); in ci_populate_single_memory_level()