• Home
  • Raw
  • Download

Lines Matching refs:mclk_ps

87 	const unsigned int mclk_ps = get_memory_clk_period_ps(ctrl_num);  in compute_cas_write_latency()  local
88 if (mclk_ps >= 1250) in compute_cas_write_latency()
90 else if (mclk_ps >= 1070) in compute_cas_write_latency()
92 else if (mclk_ps >= 935) in compute_cas_write_latency()
94 else if (mclk_ps >= 833) in compute_cas_write_latency()
96 else if (mclk_ps >= 750) in compute_cas_write_latency()
98 else if (mclk_ps >= 681) in compute_cas_write_latency()
121 const unsigned int mclk_ps = get_memory_clk_period_ps(ctrl_num); in compute_cas_write_latency() local
123 if (mclk_ps >= 2500) in compute_cas_write_latency()
125 else if (mclk_ps >= 1875) in compute_cas_write_latency()
127 else if (mclk_ps >= 1500) in compute_cas_write_latency()
129 else if (mclk_ps >= 1250) in compute_cas_write_latency()
131 else if (mclk_ps >= 1070) in compute_cas_write_latency()
133 else if (mclk_ps >= 935) in compute_cas_write_latency()
135 else if (mclk_ps >= 833) in compute_cas_write_latency()
137 else if (mclk_ps >= 750) in compute_cas_write_latency()
314 const unsigned int mclk_ps = get_memory_clk_period_ps(ctrl_num); in set_timing_cfg_0() local
319 int txp = max((int)mclk_ps * 4, 6000); /* unit=ps */ in set_timing_cfg_0()
363 txp = max((int)mclk_ps * 3, (mclk_ps > 1540 ? 7500 : 6000)); in set_timing_cfg_0()
655 const unsigned int mclk_ps = get_memory_clk_period_ps(ctrl_num); in set_timing_cfg_2() local
704 cke_pls = max(3U, picos_to_mclk(ctrl_num, mclk_ps > 1870 ? 7500 : in set_timing_cfg_2()
705 (mclk_ps > 1245 ? 5625 : 5000))); in set_timing_cfg_2()
989 const unsigned int mclk_ps = get_memory_clk_period_ps(ctrl_num); in set_ddr_sdram_mode_2() local
1005 if (mclk_ps >= 1250) in set_ddr_sdram_mode_2()
1007 else if (mclk_ps >= 833) in set_ddr_sdram_mode_2()
1167 const unsigned int mclk_ps = get_memory_clk_period_ps(0); in set_ddr_sdram_mode_9() local
1191 if (mclk_ps >= 935) { in set_ddr_sdram_mode_9()
1194 } else if (mclk_ps >= 833) { in set_ddr_sdram_mode_9()
1198 printf("parity: mclk_ps = %d not supported\n", mclk_ps); in set_ddr_sdram_mode_9()
1226 if (mclk_ps >= 935) { in set_ddr_sdram_mode_9()
1229 } else if (mclk_ps >= 833) { in set_ddr_sdram_mode_9()
1234 mclk_ps); in set_ddr_sdram_mode_9()
2002 const unsigned int mclk_ps = get_memory_clk_period_ps(ctrl_num); in set_timing_cfg_7() local
2012 debug("PAR_LAT = %u for mclk_ps = %d\n", par_lat, mclk_ps); in set_timing_cfg_7()