Lines Matching defs:delay
17 #include <linux/delay.h>
37 unsigned next_state, delay;
42 delay = 0;
57 delay = (bytes_left*8*10000) / (dev->speed/100);
59 delay = (bytes_left*10*10000) / (dev->speed/100);
61 delay = 0;
62 /* expected delay (usec) until remaining bytes are sent */
63 if (delay < 100) {
64 udelay(delay);
65 delay = 0;
68 /* sleep some longer delay (msec) */
69 delay = (delay+999) / 1000;
87 } while (delay == 0);
88 return delay;
108 unsigned delay;
117 delay = 0;
145 delay = 50;
189 if ((delay=ret) != 0)
213 if ((delay=ret) == 0) {
233 if ((delay=ret) == 0)
269 } while(!delay);
271 queue_delayed_work(irda_sir_wq, &fsm->work, msecs_to_jiffies(delay));