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

/linux-master/drivers/usb/cdns3/
H A Dcdnsp-ring.c2202 int trbs_per_td; local
2214 trbs_per_td = count_sg_trbs_needed(preq);
2218 trbs_per_td = count_trbs_needed(preq);
2221 ret = cdnsp_prepare_transfer(pdev, preq, trbs_per_td);
2253 for (i = 0; i < trbs_per_td; i++) {
2283 if (i < trbs_per_td - 1) {
/linux-master/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.c616 int trbs_per_td)
637 for (sg_iter = 0; sg_iter < trbs_per_td; sg_iter++) {
641 if (pep->dir && sg_iter == trbs_per_td - 1) {
667 if (sg_iter == (trbs_per_td - (pep->dir ? 2 : 1)))
677 if (sg && sg_iter < (trbs_per_td - 1)) {
614 cdns2_ep_tx_bulk(struct cdns2_endpoint *pep, struct cdns2_request *preq, int trbs_per_td) argument
/linux-master/drivers/usb/host/
H A Dxhci-ring.c4059 int num_tds, trbs_per_td; local
4106 trbs_per_td = count_isoc_trbs_needed(urb, i);
4109 urb->stream_id, trbs_per_td, urb, i, mem_flags);
4116 td->num_trbs = trbs_per_td;
4140 for (j = 0; j < trbs_per_td; j++) {
4153 if (j < trbs_per_td - 1) {

Completed in 138 milliseconds