Home
last modified time | relevance | path

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

/linux/drivers/usb/cdns3/
H A 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/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.c617 int trbs_per_td) in cdns2_ep_tx_bulk()
638 for (sg_iter = 0; sg_iter < trbs_per_td; sg_iter++) { in cdns2_ep_tx_bulk()
642 if (pep->dir && sg_iter == trbs_per_td - 1) { in cdns2_ep_tx_bulk()
668 if (sg_iter == (trbs_per_td - (pep->dir ? 2 : 1))) in cdns2_ep_tx_bulk()
678 if (sg && sg_iter < (trbs_per_td - 1)) { in cdns2_ep_tx_bulk()
616 cdns2_ep_tx_bulk(struct cdns2_endpoint * pep,struct cdns2_request * preq,int trbs_per_td) cdns2_ep_tx_bulk() argument
/linux/drivers/usb/host/
H A Dxhci-ring.c4062 int num_tds, trbs_per_td; in xhci_queue_isoc_tx() local
4109 trbs_per_td = count_isoc_trbs_needed(urb, i); in xhci_queue_isoc_tx()
4112 urb->stream_id, trbs_per_td, urb, i, mem_flags); in xhci_queue_isoc_tx()
4142 for (j = 0; j < trbs_per_td; j++) { in xhci_queue_isoc_tx()
4155 if (j < trbs_per_td - 1) { in xhci_queue_isoc_tx()