Home
last modified time | relevance | path

Searched refs:trb_buff_len (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/usb/cdns3/
Dcdnsp-ring.c1763 int trb_buff_len, in cdnsp_td_remainder() argument
1776 if (!more_trbs_coming || (transferred == 0 && trb_buff_len == 0) || in cdnsp_td_remainder()
1777 trb_buff_len == td_total_len) in cdnsp_td_remainder()
1784 return (total_packet_count - ((transferred + trb_buff_len) / maxp)); in cdnsp_td_remainder()
1789 u32 *trb_buff_len, struct cdnsp_segment *seg) in cdnsp_align_td() argument
1797 unalign = (enqd_len + *trb_buff_len) % max_pkt; in cdnsp_align_td()
1804 if (*trb_buff_len > unalign) { in cdnsp_align_td()
1805 *trb_buff_len -= unalign; in cdnsp_align_td()
1806 trace_cdnsp_bounce_align_td_split(preq, *trb_buff_len, in cdnsp_align_td()
1840 *trb_buff_len = new_buff_len; in cdnsp_align_td()
[all …]
/linux-6.1.9/drivers/usb/host/
Dxhci-ring.c3425 int trb_buff_len, unsigned int td_total_len, in xhci_td_remainder() argument
3435 if (!more_trbs_coming || (transferred == 0 && trb_buff_len == 0) || in xhci_td_remainder()
3436 trb_buff_len == td_total_len) in xhci_td_remainder()
3441 trb_buff_len = 0; in xhci_td_remainder()
3447 return (total_packet_count - ((transferred + trb_buff_len) / maxp)); in xhci_td_remainder()
3452 u32 *trb_buff_len, struct xhci_segment *seg) in xhci_align_td() argument
3461 unalign = (enqd_len + *trb_buff_len) % max_pkt; in xhci_align_td()
3468 unalign, *trb_buff_len); in xhci_align_td()
3471 if (*trb_buff_len > unalign) { in xhci_align_td()
3472 *trb_buff_len -= unalign; in xhci_align_td()
[all …]