Home
last modified time | relevance | path

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

/linux-6.15/drivers/usb/cdns3/
H A Dcdnsp-ring.c1796 struct cdnsp_request *preq, u32 enqd_len, in cdnsp_align_td() argument
1815 enqd_len, 0, unalign); in cdnsp_align_td()
1824 new_buff_len = max_pkt - (enqd_len % max_pkt); in cdnsp_align_td()
1850 seg->bounce_offs = enqd_len; in cdnsp_align_td()
1937 for (enqd_len = 0; zero_len_trb || first_trb || enqd_len < full_len; in cdnsp_queue_bulk_tx()
1938 enqd_len += trb_buff_len) { in cdnsp_queue_bulk_tx()
1944 if (enqd_len + trb_buff_len > full_len) in cdnsp_queue_bulk_tx()
1945 trb_buff_len = full_len - enqd_len; in cdnsp_queue_bulk_tx()
1963 if (cdnsp_align_td(pdev, preq, enqd_len, in cdnsp_queue_bulk_tx()
1973 if (enqd_len + trb_buff_len >= full_len) { in cdnsp_queue_bulk_tx()
[all …]
/linux-6.15/drivers/usb/host/
H A Dxhci-ring.c3529 unalign = (enqd_len + *trb_buff_len) % max_pkt; in xhci_align_td()
3550 new_buff_len = max_pkt - (enqd_len % max_pkt); in xhci_align_td()
3581 seg->bounce_offs = enqd_len; in xhci_align_td()
3648 for (enqd_len = 0; first_trb || enqd_len < full_len; in xhci_queue_bulk_tx()
3649 enqd_len += trb_buff_len) { in xhci_queue_bulk_tx()
3656 if (enqd_len + trb_buff_len > full_len) in xhci_queue_bulk_tx()
3657 trb_buff_len = full_len - enqd_len; in xhci_queue_bulk_tx()
3670 if (enqd_len + trb_buff_len < full_len) { in xhci_queue_bulk_tx()
3673 if (xhci_align_td(xhci, urb, enqd_len, in xhci_queue_bulk_tx()
3682 if (enqd_len + trb_buff_len >= full_len) { in xhci_queue_bulk_tx()
[all …]
/linux-6.15/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.c513 int enqd_len; in cdns2_ep_tx_isoc() local
541 for (enqd_len = 0; enqd_len < full_len; in cdns2_ep_tx_isoc()
542 enqd_len += trb_buff_len) { in cdns2_ep_tx_isoc()
554 if (trb_buff_len > full_len - enqd_len) in cdns2_ep_tx_isoc()
555 trb_buff_len = full_len - enqd_len; in cdns2_ep_tx_isoc()
565 if (enqd_len + trb_buff_len >= full_len || !pep->dir) in cdns2_ep_tx_isoc()
581 if (enqd_len + trb_buff_len < full_len) in cdns2_ep_tx_isoc()