Home | History | Annotate | Download | only in usb

Lines Matching defs:TIMEOUT

66 #define	TIMEOUT		hz*16	/* wait up to 16 seconds for a ready */
463 if (spin >= TIMEOUT) {
676 int error = 0, nonblocking, timeout;
691 timeout = USBD_DEFAULT_TIMEOUT; /* 5 ms */
693 timeout = USBD_NO_TIMEOUT;
695 DPRINTFN(3, ("ulptread nonblocking=%d uio_reside=%ld timeout=%d\n",
696 nonblocking, (u_long)uio->uio_resid, timeout));
709 * XXX Even with the short timeout, this will sleep,
713 DPRINTFN(4, ("ulptread: transfer %d bytes, nonblocking=%d timeout=%d\n",
714 n, nonblocking, timeout));
716 USBD_SHORT_XFER_OK, timeout, bufp, &n);
738 printf("ulptread: timeout in blocking mode\n");
743 DPRINTFN(3, ("ulptread: TIMEOUT n %d nread %d error %d\n",