Lines Matching defs:status
30 * v0.13 - alloc space for statusbuf (<status> not on stack);
119 * some arbitrary status buffer size;
120 * need a status buffer that is allocated via kmalloc(), not on stack
128 * [rw]status. We only touch status when we know the side idle.
137 char *statusbuf; /* status transfer_buffer */
270 #define usblp_read_status(usblp, status)\
271 usblp_ctrl_msg(usblp, USBLP_REQ_GET_STATUS, USB_TYPE_CLASS, USB_DIR_IN, USB_RECIP_INTERFACE, 0, status, 1)
311 int status = urb->status;
315 if (status)
317 "nonzero read bulk status received: %d\n",
318 usblp->minor, status);
321 if (status < 0)
322 usblp->rstatus = status;
335 int status = urb->status;
339 if (status)
341 "nonzero write bulk status received: %d\n",
342 usblp->minor, status);
345 if (status < 0)
346 usblp->wstatus = status;
365 unsigned char status, newerr = 0;
372 "usblp%d: error %d reading printer status\n",
376 status = *usblp->statusbuf;
379 if (~status & LP_PERRORP)
381 if (status & LP_POUTPA)
383 if (~status & LP_PSELECD)
524 int status;
693 "failed reading printer status (%d)\n",
698 status = *usblp->statusbuf;
699 if (copy_to_user((void __user *)arg, &status, sizeof(int)))
1063 * is that if you request a device ID, or status information, while
1067 * printer status every couple of milliseconds, you will probably be OK.
1168 /* Allocate buffer for printer status */