Searched refs:new_buff_len (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/usb/cdns3/ |
D | cdnsp-ring.c | 1799 u32 new_buff_len; in cdnsp_align_td() local 1821 new_buff_len = max_pkt - (enqd_len % max_pkt); in cdnsp_align_td() 1823 if (new_buff_len > (preq->request.length - enqd_len)) in cdnsp_align_td() 1824 new_buff_len = (preq->request.length - enqd_len); in cdnsp_align_td() 1830 seg->bounce_buf, new_buff_len, enqd_len); in cdnsp_align_td() 1845 *trb_buff_len = new_buff_len; in cdnsp_align_td() 1846 seg->bounce_len = new_buff_len; in cdnsp_align_td() 1849 trace_cdnsp_bounce_map(preq, new_buff_len, enqd_len, seg->bounce_dma, in cdnsp_align_td()
|
/linux-6.6.21/drivers/usb/host/ |
D | xhci-ring.c | 3527 u32 new_buff_len; in xhci_align_td() local 3552 new_buff_len = max_pkt - (enqd_len % max_pkt); in xhci_align_td() 3554 if (new_buff_len > (urb->transfer_buffer_length - enqd_len)) in xhci_align_td() 3555 new_buff_len = (urb->transfer_buffer_length - enqd_len); in xhci_align_td() 3561 seg->bounce_buf, new_buff_len, enqd_len); in xhci_align_td() 3562 if (len != new_buff_len) in xhci_align_td() 3564 len, new_buff_len); in xhci_align_td() 3566 memcpy(seg->bounce_buf, urb->transfer_buffer + enqd_len, new_buff_len); in xhci_align_td() 3581 *trb_buff_len = new_buff_len; in xhci_align_td() 3582 seg->bounce_len = new_buff_len; in xhci_align_td()
|