Searched refs:trb_buff_len (Results 1 – 2 of 2) sorted by relevance
1766 int trb_buff_len, in cdnsp_td_remainder() argument1779 if (!more_trbs_coming || (transferred == 0 && trb_buff_len == 0) || in cdnsp_td_remainder()1780 trb_buff_len == td_total_len) in cdnsp_td_remainder()1787 return (total_packet_count - ((transferred + trb_buff_len) / maxp)); in cdnsp_td_remainder()1792 u32 *trb_buff_len, struct cdnsp_segment *seg) in cdnsp_align_td() argument1800 unalign = (enqd_len + *trb_buff_len) % max_pkt; in cdnsp_align_td()1807 if (*trb_buff_len > unalign) { in cdnsp_align_td()1808 *trb_buff_len -= unalign; in cdnsp_align_td()1809 trace_cdnsp_bounce_align_td_split(preq, *trb_buff_len, in cdnsp_align_td()1843 *trb_buff_len = new_buff_len; in cdnsp_align_td()[all …]
3497 int trb_buff_len, unsigned int td_total_len, in xhci_td_remainder() argument3507 if (!more_trbs_coming || (transferred == 0 && trb_buff_len == 0) || in xhci_td_remainder()3508 trb_buff_len == td_total_len) in xhci_td_remainder()3513 trb_buff_len = 0; in xhci_td_remainder()3519 return (total_packet_count - ((transferred + trb_buff_len) / maxp)); in xhci_td_remainder()3524 u32 *trb_buff_len, struct xhci_segment *seg) in xhci_align_td() argument3533 unalign = (enqd_len + *trb_buff_len) % max_pkt; in xhci_align_td()3540 unalign, *trb_buff_len); in xhci_align_td()3543 if (*trb_buff_len > unalign) { in xhci_align_td()3544 *trb_buff_len -= unalign; in xhci_align_td()[all …]