Home
last modified time | relevance | path

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

/linux-6.15/drivers/usb/host/
H A Dxhci-ring.c115 return urb_priv->num_tds_done == urb_priv->num_tds; in last_td_in_urb()
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()
4255 int num_tds, num_trbs, i; in xhci_queue_isoc_tx_prepare() local
4266 num_tds = urb->number_of_packets; in xhci_queue_isoc_tx_prepare()
[all …]
H A Dxhci.c1541 int num_tds; in xhci_urb_enqueue() local
1546 num_tds = urb->number_of_packets; in xhci_urb_enqueue()
1551 num_tds = 2; in xhci_urb_enqueue()
1553 num_tds = 1; in xhci_urb_enqueue()
1555 urb_priv = kzalloc(struct_size(urb_priv, td, num_tds), mem_flags); in xhci_urb_enqueue()
1559 urb_priv->num_tds = num_tds; in xhci_urb_enqueue()
1717 for (i = urb_priv->num_tds_done; i < urb_priv->num_tds; i++) { in xhci_urb_dequeue()
1729 i < urb_priv->num_tds; in xhci_urb_dequeue()
1741 if (i < urb_priv->num_tds) in xhci_urb_dequeue()
1751 for (; i < urb_priv->num_tds; i++) { in xhci_urb_dequeue()
H A Dxhci.h1403 int num_tds; member
1405 struct xhci_td td[] __counted_by(num_tds);
/linux-6.15/drivers/usb/cdns3/
H A Dcdnsp-ring.c734 ep_ring->num_tds--; in cdnsp_remove_request()
912 ep_ring->num_tds--; in cdnsp_td_cleanup()
1697 ep_ring->num_tds++; in cdnsp_prepare_transfer()
2362 ep_ring->num_tds--; in cdnsp_queue_isoc_tx()
H A Dcdnsp-gadget.h1265 int num_tds; member
/linux-6.15/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.c517 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()