Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/cdns3/
Dcdnsp-mem.c426 unsigned int num_segs_needed; in cdnsp_ring_expansion() local
432 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()
/linux-6.1.9/drivers/usb/host/
Dxhci-mem.c429 unsigned int num_segs_needed; in xhci_ring_expansion() local
432 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()