Home
last modified time | relevance | path

Searched refs:num_tds (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci-ring.c110 return urb_priv->num_tds_done == urb_priv->num_tds; in last_td_in_urb()
3485 if (urb->transfer_flags & URB_ZERO_PACKET && urb_priv->num_tds > 1) in xhci_queue_bulk_tx()
3881 static bool trb_block_event_intr(struct xhci_hcd *xhci, int num_tds, int i) in trb_block_event_intr() argument
3886 if (i == num_tds - 1) in trb_block_event_intr()
3905 int num_tds, trbs_per_td; in xhci_queue_isoc_tx() local
3920 num_tds = urb->number_of_packets; in xhci_queue_isoc_tx()
3921 if (num_tds < 1) { in xhci_queue_isoc_tx()
3931 for (i = 0; i < num_tds; i++) { in xhci_queue_isoc_tx()
4006 if (trb_block_event_intr(xhci, num_tds, i)) in xhci_queue_isoc_tx()
4050 xep->next_frame_id = urb->start_frame + num_tds * ur in xhci_queue_isoc_tx()
4099 int num_tds, num_trbs, i; xhci_queue_isoc_tx_prepare() local
[all...]
H A Dxhci.c1512 int num_tds; in xhci_urb_enqueue() local
1536 num_tds = urb->number_of_packets; in xhci_urb_enqueue()
1541 num_tds = 2; in xhci_urb_enqueue()
1543 num_tds = 1; in xhci_urb_enqueue()
1545 urb_priv = kzalloc(struct_size(urb_priv, td, num_tds), mem_flags); in xhci_urb_enqueue()
1549 urb_priv->num_tds = num_tds; in xhci_urb_enqueue()
1699 for (i = urb_priv->num_tds_done; i < urb_priv->num_tds; i++) { in xhci_urb_dequeue()
1711 i < urb_priv->num_tds; in xhci_urb_dequeue()
1723 if (i < urb_priv->num_tds) in xhci_urb_dequeue()
[all...]
H A Dxhci.h1657 int num_tds; member
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci-ring.c113 return urb_priv->num_tds_done == urb_priv->num_tds; in last_td_in_urb()
3635 if (urb->transfer_flags & URB_ZERO_PACKET && urb_priv->num_tds > 1) in xhci_queue_bulk_tx()
4031 static bool trb_block_event_intr(struct xhci_hcd *xhci, int num_tds, int i) in trb_block_event_intr() argument
4036 if (i == num_tds - 1) in trb_block_event_intr()
4055 int num_tds, trbs_per_td; in xhci_queue_isoc_tx() local
4070 num_tds = urb->number_of_packets; in xhci_queue_isoc_tx()
4071 if (num_tds < 1) { in xhci_queue_isoc_tx()
4081 for (i = 0; i < num_tds; i++) { in xhci_queue_isoc_tx()
4156 if (trb_block_event_intr(xhci, num_tds, i)) in xhci_queue_isoc_tx()
4200 xep->next_frame_id = urb->start_frame + num_tds * ur in xhci_queue_isoc_tx()
4248 int num_tds, num_trbs, i; xhci_queue_isoc_tx_prepare() local
[all...]
H A Dxhci.c1501 int num_tds; in xhci_urb_enqueue() local
1523 num_tds = urb->number_of_packets; in xhci_urb_enqueue()
1528 num_tds = 2; in xhci_urb_enqueue()
1530 num_tds = 1; in xhci_urb_enqueue()
1532 urb_priv = kzalloc(struct_size(urb_priv, td, num_tds), mem_flags); in xhci_urb_enqueue()
1536 urb_priv->num_tds = num_tds; in xhci_urb_enqueue()
1686 for (i = urb_priv->num_tds_done; i < urb_priv->num_tds; i++) { in xhci_urb_dequeue()
1698 i < urb_priv->num_tds; in xhci_urb_dequeue()
1710 if (i < urb_priv->num_tds) in xhci_urb_dequeue()
[all...]
H A Dxhci.h1668 int num_tds; member
/kernel/linux/linux-6.6/drivers/usb/cdns3/
H A Dcdnsp-ring.c732 ep_ring->num_tds--; in cdnsp_remove_request()
909 ep_ring->num_tds--; in cdnsp_td_cleanup()
1694 ep_ring->num_tds++; in cdnsp_prepare_transfer()
2344 ep_ring->num_tds--; in cdnsp_queue_isoc_tx()
H A Dcdnsp-gadget.h1240 * @num_tds: Number of TDs associated with ring.
1261 int num_tds; member
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.c516 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()

Completed in 38 milliseconds