Home
last modified time | relevance | path

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

/linux/drivers/usb/host/
H A Dxhci-ring.c115 return urb_priv->num_tds_done == urb_priv->num_tds; in last_td_in_urb()
3633 if (urb->transfer_flags & URB_ZERO_PACKET && urb_priv->num_tds > 1) in xhci_queue_bulk_tx()
4036 static bool trb_block_event_intr(struct xhci_hcd *xhci, int num_tds, int i, in trb_block_event_intr() argument
4042 if (i == num_tds - 1) in trb_block_event_intr()
4062 int num_tds, trbs_per_td; in xhci_queue_isoc_tx() local
4078 num_tds = urb->number_of_packets; in xhci_queue_isoc_tx()
4079 if (num_tds < 1) { in xhci_queue_isoc_tx()
4089 for (i = 0; i < num_tds; i++) { in xhci_queue_isoc_tx()
4163 if (trb_block_event_intr(xhci, num_tds, i, ir)) in xhci_queue_isoc_tx()
4207 xep->next_frame_id = urb->start_frame + num_tds * urb->interval; in xhci_queue_isoc_tx()
[all …]
H A Dxhci.c1544 int num_tds; in xhci_urb_enqueue() local
1549 num_tds = urb->number_of_packets; in xhci_urb_enqueue()
1554 num_tds = 2; in xhci_urb_enqueue()
1556 num_tds = 1; in xhci_urb_enqueue()
1558 urb_priv = kzalloc(struct_size(urb_priv, td, num_tds), mem_flags); in xhci_urb_enqueue()
1562 urb_priv->num_tds = num_tds; in xhci_urb_enqueue()
1720 for (i = urb_priv->num_tds_done; i < urb_priv->num_tds; i++) { in xhci_urb_dequeue()
1732 i < urb_priv->num_tds; in xhci_urb_dequeue()
1744 if (i < urb_priv->num_tds) in xhci_urb_dequeue()
1754 for (; i < urb_priv->num_tds; i++) { in xhci_urb_dequeue()
H A Dxhci.h1400 int num_tds; member
1402 struct xhci_td td[] __counted_by(num_tds);
/linux/drivers/usb/cdns3/
H A Dcdnsp-ring.c733 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()
H A Dcdnsp-gadget.h1262 int num_tds; member
/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.c517 int num_tds; in cdns2_ep_tx_isoc()
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()
516 int num_tds; cdns2_ep_tx_isoc() local