Lines Matching refs:tim_mult
55 static unsigned int ns_to_tim_reg(unsigned int tim_mult, unsigned int nsecs)
64 1000 * tim_mult);
74 reg_cfg.s.tim_mult = 2; /* Timing mutiplier 2x */
185 unsigned int tim_mult;
196 /* dma_tim.s.tim_mult = 0 --> 4x */
197 tim_mult = 4;
199 /* not spec'ed, value in eclocks, not affected by tim_mult */
210 dma_tim.s.oe_n = ns_to_tim_reg(tim_mult, oe_n);
211 dma_tim.s.oe_a = ns_to_tim_reg(tim_mult, oe_a);
217 dma_tim.s.dmack_s = ns_to_tim_reg(tim_mult, 20);
218 dma_tim.s.dmack_h = ns_to_tim_reg(tim_mult, dma_ackh);
221 dma_tim.s.pause = ns_to_tim_reg(tim_mult, pause);
226 dma_tim.s.we_n = ns_to_tim_reg(tim_mult, oe_n);
227 dma_tim.s.we_a = ns_to_tim_reg(tim_mult, oe_a);
229 pr_debug("ns to ticks (mult %d) of %d is: %d\n", tim_mult, 60,
230 ns_to_tim_reg(tim_mult, 60));