Lines Matching refs:tx_reqs
74 struct list_head tx_reqs; /* List of free TX structs */ member
328 list_add(&req->list, &dev->tx_reqs); in tx_complete()
595 if (likely(list_empty(&dev->tx_reqs))) { in printer_write()
610 (likely(!list_empty(&dev->tx_reqs)))); in printer_write()
614 while (likely(!list_empty(&dev->tx_reqs)) && len) { in printer_write()
621 req = container_of(dev->tx_reqs.next, struct usb_request, in printer_write()
642 list_add(&req->list, &dev->tx_reqs); in printer_write()
655 list_add(&req->list, &dev->tx_reqs); in printer_write()
669 list_add(&req->list, &dev->tx_reqs); in printer_write()
704 tx_list_empty = (likely(list_empty(&dev->tx_reqs))); in printer_fsync()
741 if (likely(!list_empty(&dev->tx_reqs))) in printer_poll()
922 list_add(&req->list, &dev->tx_reqs); in printer_soft_reset()
1114 list_add(&req->list, &dev->tx_reqs); in printer_func_bind()
1159 while (!list_empty(&dev->tx_reqs)) { in printer_func_bind()
1160 req = container_of(dev->tx_reqs.next, struct usb_request, list); in printer_func_bind()
1424 while (!list_empty(&dev->tx_reqs)) { in printer_func_unbind()
1425 req = container_of(dev->tx_reqs.next, struct usb_request, in printer_func_unbind()
1485 INIT_LIST_HEAD(&dev->tx_reqs); in gprinter_alloc()