Home
last modified time | relevance | path

Searched refs:mclk_ps (Results 1 – 5 of 5) sorted by relevance

/external/u-boot/drivers/ddr/fsl/
Dlc_common_dimm_params.c24 const unsigned int mclk_ps = get_memory_clk_period_ps(ctrl_num); in compute_cas_latency() local
39 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() local
84 debug("using mclk_ps = %u\n", mclk_ps); in compute_cas_latency()
85 if (mclk_ps > outpdimm->tckmax_ps) { in compute_cas_latency()
[all …]
Dctrl_regs.c87 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()
[all …]
Dutil.c75 unsigned long long rem, mclk_ps = ULL_2E12; in get_memory_clk_period_ps() local
78 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()
Dddr1_dimm_params.c188 compute_derated_DDR1_CAS_latency(unsigned int mclk_ps) in compute_derated_DDR1_CAS_latency() argument
195 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()
Dddr2_dimm_params.c171 compute_derated_DDR2_CAS_latency(unsigned int mclk_ps) in compute_derated_DDR2_CAS_latency() argument
178 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()