Home
last modified time | relevance | path

Searched refs:trbs_per_td (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/drivers/usb/cdns3/
H A Dcdnsp-ring.c2215 int trbs_per_td; in cdnsp_queue_isoc_tx() local
2227 trbs_per_td = count_sg_trbs_needed(preq); in cdnsp_queue_isoc_tx()
2231 trbs_per_td = count_trbs_needed(preq); in cdnsp_queue_isoc_tx()
2234 ret = cdnsp_prepare_transfer(pdev, preq, trbs_per_td); in cdnsp_queue_isoc_tx()
2266 for (i = 0; i < trbs_per_td; i++) { in cdnsp_queue_isoc_tx()
2296 if (i < trbs_per_td - 1) { in cdnsp_queue_isoc_tx()
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.c616 int trbs_per_td) in cdns2_ep_tx_bulk()
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()
614 cdns2_ep_tx_bulk(struct cdns2_endpoint *pep, struct cdns2_request *preq, int trbs_per_td) cdns2_ep_tx_bulk() argument
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci-ring.c3905 int num_tds, trbs_per_td; in xhci_queue_isoc_tx() local
3951 trbs_per_td = count_isoc_trbs_needed(urb, i); in xhci_queue_isoc_tx()
3954 urb->stream_id, trbs_per_td, urb, i, mem_flags); in xhci_queue_isoc_tx()
3961 td->num_trbs = trbs_per_td; in xhci_queue_isoc_tx()
3985 for (j = 0; j < trbs_per_td; j++) { in xhci_queue_isoc_tx()
3998 if (j < trbs_per_td - 1) { in xhci_queue_isoc_tx()
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci-ring.c4055 int num_tds, trbs_per_td; in xhci_queue_isoc_tx() local
4101 trbs_per_td = count_isoc_trbs_needed(urb, i); in xhci_queue_isoc_tx()
4104 urb->stream_id, trbs_per_td, urb, i, mem_flags); in xhci_queue_isoc_tx()
4111 td->num_trbs = trbs_per_td; in xhci_queue_isoc_tx()
4135 for (j = 0; j < trbs_per_td; j++) { in xhci_queue_isoc_tx()
4148 if (j < trbs_per_td - 1) { in xhci_queue_isoc_tx()

Completed in 17 milliseconds