Home
last modified time | relevance | path

Searched refs:trbs_per_td (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/usb/cdns3/
Dcdnsp-ring.c2232 int trbs_per_td; in cdnsp_queue_isoc_tx() local
2244 trbs_per_td = count_sg_trbs_needed(preq); in cdnsp_queue_isoc_tx()
2248 trbs_per_td = count_trbs_needed(preq); in cdnsp_queue_isoc_tx()
2251 ret = cdnsp_prepare_transfer(pdev, preq, trbs_per_td); in cdnsp_queue_isoc_tx()
2283 for (i = 0; i < trbs_per_td; i++) { in cdnsp_queue_isoc_tx()
2313 if (i < trbs_per_td - 1) { in cdnsp_queue_isoc_tx()
/linux-6.12.1/drivers/usb/gadget/udc/cdns2/
Dcdns2-gadget.c616 int trbs_per_td) in cdns2_ep_tx_bulk() argument
637 for (sg_iter = 0; sg_iter < trbs_per_td; sg_iter++) { in cdns2_ep_tx_bulk()
641 if (pep->dir && sg_iter == trbs_per_td - 1) { in cdns2_ep_tx_bulk()
667 if (sg_iter == (trbs_per_td - (pep->dir ? 2 : 1))) in cdns2_ep_tx_bulk()
677 if (sg && sg_iter < (trbs_per_td - 1)) { in cdns2_ep_tx_bulk()
/linux-6.12.1/drivers/usb/host/
Dxhci-ring.c4006 int num_tds, trbs_per_td; in xhci_queue_isoc_tx() local
4053 trbs_per_td = count_isoc_trbs_needed(urb, i); in xhci_queue_isoc_tx()
4056 urb->stream_id, trbs_per_td, urb, i, mem_flags); in xhci_queue_isoc_tx()
4086 for (j = 0; j < trbs_per_td; j++) { in xhci_queue_isoc_tx()
4099 if (j < trbs_per_td - 1) { in xhci_queue_isoc_tx()