Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/gadget/function/
H A Df_printer.c86 size_t current_rx_bytes; member
441 size_t current_rx_bytes; in printer_read() local
468 current_rx_bytes = dev->current_rx_bytes; in printer_read()
471 dev->current_rx_bytes = 0; in printer_read()
480 if ((current_rx_bytes == 0) && in printer_read()
503 while ((current_rx_bytes || likely(!list_empty(&dev->rx_buffers))) in printer_read()
505 if (current_rx_bytes == 0) { in printer_read()
512 current_rx_bytes = req->actual; in printer_read()
523 if (len > current_rx_bytes) in printer_read()
524 size = current_rx_bytes; in printer_read()
[all …]