Searched refs:num_tds (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/usb/host/ |
| H A D | xhci-ring.c | 132 return urb_priv->num_tds_done == urb_priv->num_tds; in last_td_in_urb() 3655 if (urb->transfer_flags & URB_ZERO_PACKET && urb_priv->num_tds > 1) in xhci_queue_bulk_tx() 4058 static bool trb_block_event_intr(struct xhci_hcd *xhci, int num_tds, int i, in trb_block_event_intr() argument 4064 if (i == num_tds - 1) in trb_block_event_intr() 4084 int num_tds, trbs_per_td; in xhci_queue_isoc_tx() local 4100 num_tds = urb->number_of_packets; in xhci_queue_isoc_tx() 4101 if (num_tds < 1) { in xhci_queue_isoc_tx() 4111 for (i = 0; i < num_tds; i++) { in xhci_queue_isoc_tx() 4185 if (trb_block_event_intr(xhci, num_tds, i, ir)) in xhci_queue_isoc_tx() 4229 xep->next_frame_id = urb->start_frame + num_tds * urb->interval; in xhci_queue_isoc_tx() [all …]
|
| H A D | xhci.c | 1630 int num_tds; in xhci_urb_enqueue() local 1635 num_tds = urb->number_of_packets; in xhci_urb_enqueue() 1640 num_tds = 2; in xhci_urb_enqueue() 1642 num_tds = 1; in xhci_urb_enqueue() 1644 urb_priv = kzalloc_flex(*urb_priv, td, num_tds, mem_flags); in xhci_urb_enqueue() 1648 urb_priv->num_tds = num_tds; in xhci_urb_enqueue() 1806 for (i = urb_priv->num_tds_done; i < urb_priv->num_tds; i++) { in xhci_urb_dequeue() 1818 i < urb_priv->num_tds; in xhci_urb_dequeue() 1830 if (i < urb_priv->num_tds) in xhci_urb_dequeue() 1840 for (; i < urb_priv->num_tds; i++) { in xhci_urb_dequeue()
|
| H A D | xhci.h | 1407 int num_tds; member 1409 struct xhci_td td[] __counted_by(num_tds);
|
| /linux/drivers/usb/cdns3/ |
| H A D | cdnsp-ring.c | 734 ep_ring->num_tds--; in cdnsp_remove_request() 914 ep_ring->num_tds--; in cdnsp_td_cleanup() 1699 ep_ring->num_tds++; in cdnsp_prepare_transfer() 2364 ep_ring->num_tds--; in cdnsp_queue_isoc_tx()
|
| H A D | cdnsp-gadget.h | 1275 int num_tds; member
|
| /linux/drivers/usb/gadget/udc/cdns2/ |
| H A D | cdns2-gadget.c | 517 int num_tds; in cdns2_ep_tx_isoc() local 524 num_tds = pep->dir ? pep->interval : 1; in cdns2_ep_tx_isoc() 527 for (td_idx = 0; td_idx < num_tds; td_idx++) { in cdns2_ep_tx_isoc()
|