Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/host/
H A Dxhci-ring.c326 static u32 xhci_v1_0_td_remainder(int running_total, in xhci_v1_0_td_remainder() argument
335 if (num_trbs_left == 0 || (running_total == 0 && trb_buff_len == 0)) in xhci_v1_0_td_remainder()
342 packets_transferred = (running_total + trb_buff_len) / maxpacketsize; in xhci_v1_0_td_remainder()
571 int running_total, trb_buff_len; in xhci_bulk_tx() local
597 running_total = TRB_MAX_BUFF_SIZE - in xhci_bulk_tx()
599 trb_buff_len = running_total; in xhci_bulk_tx()
600 running_total &= TRB_MAX_BUFF_SIZE - 1; in xhci_bulk_tx()
606 if (running_total != 0 || length == 0) in xhci_bulk_tx()
610 while (running_total < length) { in xhci_bulk_tx()
612 running_total += TRB_MAX_BUFF_SIZE; in xhci_bulk_tx()
[all …]
/openbmc/linux/drivers/usb/cdns3/
H A Dcdnsp-ring.c1741 static void cdnsp_check_trb_math(struct cdnsp_request *preq, int running_total) in cdnsp_check_trb_math() argument
1743 if (running_total != preq->request.length) in cdnsp_check_trb_math()
1747 preq->pep->name, running_total, in cdnsp_check_trb_math()
2241 int running_total = 0; in cdnsp_queue_isoc_tx() local
2306 remainder = cdnsp_td_remainder(pdev, running_total, in cdnsp_queue_isoc_tx()
2339 running_total += trb_buff_len; in cdnsp_queue_isoc_tx()
2360 if (running_total != td_len) { in cdnsp_queue_isoc_tx()
/openbmc/linux/drivers/usb/host/
H A Dxhci-ring.c3454 static void check_trb_math(struct urb *urb, int running_total) in check_trb_math() argument
3456 if (unlikely(running_total != urb->transfer_buffer_length)) in check_trb_math()
3461 running_total, running_total, in check_trb_math()
4129 int running_total, trb_buff_len, td_len, td_remain_len, ret; in xhci_queue_isoc_tx() local
4156 running_total = 0; in xhci_queue_isoc_tx()
4234 remainder = xhci_td_remainder(xhci, running_total, in xhci_queue_isoc_tx()
4253 running_total += trb_buff_len; in xhci_queue_isoc_tx()
4260 if (running_total != td_len) { in xhci_queue_isoc_tx()