Lines Matching refs:timeout
51 * @timeout: time to wait (in jiffies)
53 * This function waits for up to @timeout jiffies for an
54 * interrupt to occur on a parallel port. If the port timeout is
57 * If an interrupt occurs before the timeout period elapses, this
64 int parport_wait_event (struct parport *port, signed long timeout)
68 if (!port->physport->cad->timeout)
69 /* Zero timeout is special, and we can't down() the
74 mod_timer(&port->timer, jiffies + timeout);
88 * @usec: timeout
91 * the desired values, or until the timeout period elapses. The
100 * timeout period elapses, parport_poll_peripheral() returns zero
102 * a timeout. An error code (less than zero) indicates an error,
112 /* Zero return code is success, >0 is timeout. */
147 * If the timeout for this port (see parport_set_timeout()) is
151 * If the timeout for this port is non-zero, after the fast
166 if (!port->physport->cad->timeout)
167 /* A zero timeout is "special": busy wait for the
181 if (!port->physport->cad->timeout)
754 * parport_set_timeout - set the inactivity timeout for a device
756 * @inactivity: inactivity timeout (in jiffies)
758 * This sets the inactivity timeout for a particular device on a
763 * The return value is the previous inactivity timeout.
771 long int old = dev->timeout;
773 dev->timeout = inactivity;