Searched refs:num_segs_needed (Results 1 – 2 of 2) sorted by relevance
426 unsigned int num_segs_needed; in cdnsp_ring_expansion() local432 num_segs_needed = (num_trbs + (TRBS_PER_SEGMENT - 1) - 1) / in cdnsp_ring_expansion()436 num_segs = max(ring->num_segs, num_segs_needed); in cdnsp_ring_expansion()
429 unsigned int num_segs_needed; in xhci_ring_expansion() local432 num_segs_needed = (num_trbs + (TRBS_PER_SEGMENT - 1) - 1) / in xhci_ring_expansion()436 num_segs = max(ring->num_segs, num_segs_needed); in xhci_ring_expansion()