Home
last modified time | relevance | path

Searched refs:printer_status (Results 1 – 2 of 2) sorted by relevance

/linux/Documentation/usb/
H A Dgadget_printer.rst419 char printer_status;
421 printer_status = get_printer_status();
422 if (printer_status < 0) {
428 if (printer_status & PRINTER_SELECTED) {
433 if (printer_status & PRINTER_PAPER_EMPTY) {
438 if (printer_status & PRINTER_NOT_ERROR) {
/linux/drivers/usb/gadget/function/
H A Df_printer.c88 u8 printer_status; member
365 dev->printer_status |= PRINTER_SELECTED; in printer_open()
385 dev->printer_status &= ~PRINTER_SELECTED; in printer_close()
796 status = (int)dev->printer_status; in printer_ioctl()
799 dev->printer_status = (u8)arg; in printer_ioctl()
1038 buf[0] = dev->printer_status; in printer_func_setup()
1521 dev->printer_status = PRINTER_NOT_ERROR; in gprinter_alloc()