Lines Matching refs:first_seg
82 struct xhci_segment *first_seg; in xhci_ring_free() local
86 first_seg = ring->first_seg; in xhci_ring_free()
87 seg = first_seg->next; in xhci_ring_free()
88 while (seg != first_seg) { in xhci_ring_free()
93 xhci_segment_free(first_seg); in xhci_ring_free()
251 ring->enqueue = ring->first_seg->trbs; in xhci_initialize_ring_info()
252 ring->enq_seg = ring->first_seg; in xhci_initialize_ring_info()
254 ring->deq_seg = ring->first_seg; in xhci_initialize_ring_info()
314 ring->first_seg = xhci_segment_alloc(); in xhci_ring_alloc()
315 BUG_ON(!ring->first_seg); in xhci_ring_alloc()
319 prev = ring->first_seg; in xhci_ring_alloc()
331 xhci_link_segments(prev, ring->first_seg, link_trbs); in xhci_ring_alloc()
529 trb_64 = (uintptr_t)ctrl->cmd_ring->first_seg->trbs; in xhci_mem_init()
556 for (val = 0, seg = ctrl->event_ring->first_seg; in xhci_mem_init()
853 trb_64 = (uintptr_t)virt_dev->eps[0].ring->first_seg->trbs; in xhci_setup_addressable_virt_dev()