Searched refs:new_segs (Results 1 – 1 of 1) sorted by relevance
326 int new_segs; in xhci_ring_expansion_needed() local346 new_segs = 1 + (trbs_past_seg / (TRBS_PER_SEGMENT - 1)); in xhci_ring_expansion_needed()349 while (new_segs > 0) { in xhci_ring_expansion_needed()353 num_trbs, new_segs); in xhci_ring_expansion_needed()354 return new_segs; in xhci_ring_expansion_needed()356 new_segs--; in xhci_ring_expansion_needed()3178 unsigned int new_segs = 0; in prepare_ring() local3210 new_segs = xhci_ring_expansion_needed(xhci, ep_ring, num_trbs); in prepare_ring()3216 if (new_segs) { in prepare_ring()3219 if (xhci_ring_expansion(xhci, ep_ring, new_segs, mem_flags)) { in prepare_ring()