Searched refs:num_tds (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/usb/host/ |
D | xhci-ring.c | 113 return urb_priv->num_tds_done == urb_priv->num_tds; in last_td_in_urb() 3591 if (urb->transfer_flags & URB_ZERO_PACKET && urb_priv->num_tds > 1) in xhci_queue_bulk_tx() 3980 static bool trb_block_event_intr(struct xhci_hcd *xhci, int num_tds, int i, in trb_block_event_intr() argument 3986 if (i == num_tds - 1) in trb_block_event_intr() 4006 int num_tds, trbs_per_td; in xhci_queue_isoc_tx() local 4022 num_tds = urb->number_of_packets; in xhci_queue_isoc_tx() 4023 if (num_tds < 1) { in xhci_queue_isoc_tx() 4033 for (i = 0; i < num_tds; i++) { in xhci_queue_isoc_tx() 4107 if (trb_block_event_intr(xhci, num_tds, i, ir)) in xhci_queue_isoc_tx() 4151 xep->next_frame_id = urb->start_frame + num_tds * urb->interval; in xhci_queue_isoc_tx() [all …]
|
D | xhci.c | 1551 int num_tds; in xhci_urb_enqueue() local 1556 num_tds = urb->number_of_packets; in xhci_urb_enqueue() 1561 num_tds = 2; in xhci_urb_enqueue() 1563 num_tds = 1; in xhci_urb_enqueue() 1565 urb_priv = kzalloc(struct_size(urb_priv, td, num_tds), mem_flags); in xhci_urb_enqueue() 1569 urb_priv->num_tds = num_tds; in xhci_urb_enqueue() 1727 for (i = urb_priv->num_tds_done; i < urb_priv->num_tds; i++) { in xhci_urb_dequeue() 1739 i < urb_priv->num_tds; in xhci_urb_dequeue() 1751 if (i < urb_priv->num_tds) in xhci_urb_dequeue() 1761 for (; i < urb_priv->num_tds; i++) { in xhci_urb_dequeue()
|
D | xhci.h | 1388 int num_tds; member 1390 struct xhci_td td[] __counted_by(num_tds);
|
/linux-6.12.1/drivers/usb/cdns3/ |
D | cdnsp-ring.c | 733 ep_ring->num_tds--; in cdnsp_remove_request() 911 ep_ring->num_tds--; in cdnsp_td_cleanup() 1696 ep_ring->num_tds++; in cdnsp_prepare_transfer() 2361 ep_ring->num_tds--; in cdnsp_queue_isoc_tx()
|
D | cdnsp-gadget.h | 1262 int num_tds; member
|
/linux-6.12.1/drivers/usb/gadget/udc/cdns2/ |
D | cdns2-gadget.c | 516 int num_tds; in cdns2_ep_tx_isoc() local 523 num_tds = pep->dir ? pep->interval : 1; in cdns2_ep_tx_isoc() 526 for (td_idx = 0; td_idx < num_tds; td_idx++) { in cdns2_ep_tx_isoc()
|