Home
last modified time | relevance | path

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

/linux-5.19.10/Documentation/usb/
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-5.19.10/drivers/usb/gadget/function/
Df_printer.c85 u8 printer_status; member
361 dev->printer_status |= PRINTER_SELECTED; in printer_open()
381 dev->printer_status &= ~PRINTER_SELECTED; in printer_close()
774 status = (int)dev->printer_status; in printer_ioctl()
777 dev->printer_status = (u8)arg; in printer_ioctl()
1020 buf[0] = dev->printer_status; in printer_func_setup()
1505 dev->printer_status = PRINTER_NOT_ERROR; in gprinter_alloc()