Searched refs:trbs_per_td (Results 1 – 3 of 3) sorted by relevance
2232 int trbs_per_td; in cdnsp_queue_isoc_tx() local2244 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()
616 int trbs_per_td) in cdns2_ep_tx_bulk() argument637 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()
4006 int num_tds, trbs_per_td; in xhci_queue_isoc_tx() local4053 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()