Lines Matching refs:mtb
162 u32 mtb, clk_freq; in ddrtimingcalculation() local
171 mtb = buf->mtb_dividend * 1000 / buf->mtb_divisor; in ddrtimingcalculation()
173 spd->t_ck = buf->tck_min * mtb; in ddrtimingcalculation()
216 spd->t_wr = (buf->twr_min * mtb) / spd->t_ck; in ddrtimingcalculation()
219 spd->t_rcd = ((buf->trcd_min * mtb) - 1) / spd->t_ck + 1; in ddrtimingcalculation()
220 spd->t_rrd = ((buf->trrd_min * mtb) - 1) / spd->t_ck + 1; in ddrtimingcalculation()
221 spd->t_rp = (((buf->trp_min * mtb) - 1) / spd->t_ck) + 1; in ddrtimingcalculation()
224 mtb) / spd->t_ck; in ddrtimingcalculation()
227 mtb) - 1) / spd->t_ck + 1; in ddrtimingcalculation()
229 spd->t_rfc = (buf->trfc_min_lsb | (buf->trfc_min_msb << 8)) * mtb / in ddrtimingcalculation()
231 spd->t_wtr = (buf->twtr_min * mtb) / spd->t_ck; in ddrtimingcalculation()
232 spd->t_rtp = (buf->trtp_min * mtb) / spd->t_ck; in ddrtimingcalculation()
237 spd->t_faw = (((buf->tfaw_msb << 8) | buf->tfaw_min) * mtb) / spd->t_ck; in ddrtimingcalculation()
239 buf->tfaw_min) * mtb) / (4 * spd->t_ck)) - 1; in ddrtimingcalculation()