Searched refs:enqd_len (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/usb/cdns3/ |
D | cdnsp-ring.c | 1788 struct cdnsp_request *preq, u32 enqd_len, in cdnsp_align_td() argument 1797 unalign = (enqd_len + *trb_buff_len) % max_pkt; in cdnsp_align_td() 1807 enqd_len, 0, unalign); in cdnsp_align_td() 1816 new_buff_len = max_pkt - (enqd_len % max_pkt); in cdnsp_align_td() 1818 if (new_buff_len > (preq->request.length - enqd_len)) in cdnsp_align_td() 1819 new_buff_len = (preq->request.length - enqd_len); in cdnsp_align_td() 1825 seg->bounce_buf, new_buff_len, enqd_len); in cdnsp_align_td() 1842 seg->bounce_offs = enqd_len; in cdnsp_align_td() 1844 trace_cdnsp_bounce_map(preq, new_buff_len, enqd_len, seg->bounce_dma, in cdnsp_align_td() 1856 unsigned int enqd_len, block_len, trb_buff_len, full_len; in cdnsp_queue_bulk_tx() local [all …]
|
/linux-6.1.9/drivers/usb/host/ |
D | xhci-ring.c | 3451 static int xhci_align_td(struct xhci_hcd *xhci, struct urb *urb, u32 enqd_len, in xhci_align_td() argument 3461 unalign = (enqd_len + *trb_buff_len) % max_pkt; in xhci_align_td() 3482 new_buff_len = max_pkt - (enqd_len % max_pkt); in xhci_align_td() 3484 if (new_buff_len > (urb->transfer_buffer_length - enqd_len)) in xhci_align_td() 3485 new_buff_len = (urb->transfer_buffer_length - enqd_len); in xhci_align_td() 3491 seg->bounce_buf, new_buff_len, enqd_len); in xhci_align_td() 3496 memcpy(seg->bounce_buf, urb->transfer_buffer + enqd_len, new_buff_len); in xhci_align_td() 3513 seg->bounce_offs = enqd_len; in xhci_align_td() 3534 unsigned int enqd_len, block_len, trb_buff_len, full_len; in xhci_queue_bulk_tx() local 3580 for (enqd_len = 0; first_trb || enqd_len < full_len; in xhci_queue_bulk_tx() [all …]
|