Searched refs:mclk_ps (Results 1 – 5 of 5) sorted by relevance
24 const unsigned int mclk_ps = get_memory_clk_period_ps(ctrl_num); in compute_cas_latency() local39 if (mclk_ps < outpdimm->tckmin_x_ps) { in compute_cas_latency()42 mclk_ps, outpdimm->tckmin_x_ps); in compute_cas_latency()45 if (mclk_ps > outpdimm->tckmax_ps) { in compute_cas_latency()47 mclk_ps, outpdimm->tckmax_ps); in compute_cas_latency()51 caslat_actual = (outpdimm->taamin_ps + mclk_ps - 1) / mclk_ps; in compute_cas_latency()62 if (caslat_actual * mclk_ps > taamax) { in compute_cas_latency()79 const unsigned int mclk_ps = get_memory_clk_period_ps(ctrl_num); in compute_cas_latency() local84 debug("using mclk_ps = %u\n", mclk_ps); in compute_cas_latency()85 if (mclk_ps > outpdimm->tckmax_ps) { in compute_cas_latency()[all …]
87 const unsigned int mclk_ps = get_memory_clk_period_ps(ctrl_num); in compute_cas_write_latency() local88 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() local123 if (mclk_ps >= 2500) in compute_cas_write_latency()125 else if (mclk_ps >= 1875) in compute_cas_write_latency()[all …]
75 unsigned long long rem, mclk_ps = ULL_2E12; in get_memory_clk_period_ps() local78 rem = do_div(mclk_ps, data_rate); in get_memory_clk_period_ps()79 result = (rem >= (data_rate >> 1)) ? mclk_ps + 1 : mclk_ps; in get_memory_clk_period_ps()
188 compute_derated_DDR1_CAS_latency(unsigned int mclk_ps) in compute_derated_DDR1_CAS_latency() argument195 debug("mclk_ps = %u\n", mclk_ps); in compute_derated_DDR1_CAS_latency()201 if (x && lowest_tCKmin_found <= x && x <= mclk_ps) { in compute_derated_DDR1_CAS_latency()
171 compute_derated_DDR2_CAS_latency(unsigned int mclk_ps) in compute_derated_DDR2_CAS_latency() argument178 debug("mclk_ps = %u\n", mclk_ps); in compute_derated_DDR2_CAS_latency()184 if (x && x <= mclk_ps && x >= lowest_tCKmin_found ) { in compute_derated_DDR2_CAS_latency()