Searched refs:trbs_past_seg (Results 1 – 1 of 1) sorted by relevance
324 int trbs_past_seg; in xhci_ring_expansion_needed() local331 trbs_past_seg = enq_used + num_trbs - (TRBS_PER_SEGMENT - 1); in xhci_ring_expansion_needed()339 if (trbs_past_seg < 0) in xhci_ring_expansion_needed()346 new_segs = 1 + (trbs_past_seg / (TRBS_PER_SEGMENT - 1)); in xhci_ring_expansion_needed()