Lines Matching defs:delay
18 #include <linux/delay.h>
43 * Users must implement a delay to observe a_usTimeDelay, where
48 * a_usTimeDelay = 0x0001 = 1 microsecond delay.
49 * a_usTimeDelay = 0x8001 = 1 millisecond delay.
51 * This subroutine is called upon to provide a delay from 1 millisecond to a few
54 * bits integer, this function is restricted to produce a delay to 64000
56 * to this function a delay time > those maximum number. If it needs more than
57 * those maximum, the VME file will launch the delay function several times to
58 * realize a larger delay time cummulatively.
59 * It is perfectly alright to provide a longer delay than required. It is not
60 * acceptable if the delay is shorter.
62 void ispVMDelay(unsigned short delay)
64 if (delay & 0x8000)
65 delay = (delay & ~0x8000) * 1000;
66 udelay(delay);