Lines Matching refs:current_rx_bytes
86 size_t current_rx_bytes; member
440 size_t current_rx_bytes; in printer_read() local
467 current_rx_bytes = dev->current_rx_bytes; in printer_read()
470 dev->current_rx_bytes = 0; in printer_read()
479 if ((current_rx_bytes == 0) && in printer_read()
500 while ((current_rx_bytes || likely(!list_empty(&dev->rx_buffers))) in printer_read()
502 if (current_rx_bytes == 0) { in printer_read()
509 current_rx_bytes = req->actual; in printer_read()
520 if (len > current_rx_bytes) in printer_read()
521 size = current_rx_bytes; in printer_read()
545 if (size < current_rx_bytes) { in printer_read()
546 current_rx_bytes -= size; in printer_read()
550 current_rx_bytes = 0; in printer_read()
557 dev->current_rx_bytes = current_rx_bytes; in printer_read()
747 if (likely(dev->current_rx_bytes) || in printer_poll()
899 dev->current_rx_bytes = 0; in printer_soft_reset()
1503 dev->current_rx_bytes = 0; in gprinter_alloc()