Lines Matching refs:tim_mult
75 static unsigned int ns_to_tim_reg(unsigned int tim_mult, unsigned int nsecs)
82 1000 * tim_mult);
88 unsigned int tim_mult;
92 tim_mult = 3;
95 tim_mult = 0;
98 tim_mult = 2;
101 tim_mult = 1;
107 reg_cfg.s.tim_mult = tim_mult; /* Timing mutiplier */
222 unsigned int tim_mult;
234 /* dma_tim.s.tim_mult = 0 --> 4x */
235 tim_mult = 4;
237 /* not spec'ed, value in eclocks, not affected by tim_mult */
254 dma_tim.s.oe_n = ns_to_tim_reg(tim_mult, oe_n);
255 dma_tim.s.oe_a = ns_to_tim_reg(tim_mult, oe_a);
261 dma_tim.s.dmack_s = ns_to_tim_reg(tim_mult, 20);
262 dma_tim.s.dmack_h = ns_to_tim_reg(tim_mult, dma_ackh);
265 dma_tim.s.pause = ns_to_tim_reg(tim_mult, pause);
270 dma_tim.s.we_n = ns_to_tim_reg(tim_mult, oe_n);
271 dma_tim.s.we_a = ns_to_tim_reg(tim_mult, oe_a);
273 ata_dev_dbg(dev, "ns to ticks (mult %d) of %d is: %d\n", tim_mult, 60,
274 ns_to_tim_reg(tim_mult, 60));