Lines Matching refs:tw1
122 u32 tw0, tw1; in calc_rd_timings() local
148 tw1 = recyc - tw0; in calc_rd_timings()
150 if (tw1 < 3) in calc_rd_timings()
151 tw1 = 3; in calc_rd_timings()
152 if (tw1 > 0x40) in calc_rd_timings()
166 t->tim[1] = tw1 - 1; in calc_rd_timings()
173 u32 tw0, tw1; in calc_wr_timings() local
197 tw1 = wecyc - tw0; in calc_wr_timings()
199 if (tw1 < 3) in calc_wr_timings()
200 tw1 = 3; in calc_wr_timings()
201 if (tw1 > 0x40) in calc_wr_timings()
205 t->tim[3] = tw1 - 1; in calc_wr_timings()
210 static void _set_timing(int div, int tw0, int tw1) in _set_timing() argument
216 tw0 + 1, tw1 + 1, div); in _set_timing()
223 l |= (tw0 << 20) | (tw1 << 24); in _set_timing()