Lines Matching refs:first_seg
81 struct xhci_segment *first_seg; in xhci_ring_free() local
85 first_seg = ring->first_seg; in xhci_ring_free()
86 seg = first_seg->next; in xhci_ring_free()
87 while (seg != first_seg) { in xhci_ring_free()
92 xhci_segment_free(first_seg); in xhci_ring_free()
250 ring->enqueue = ring->first_seg->trbs; in xhci_initialize_ring_info()
251 ring->enq_seg = ring->first_seg; in xhci_initialize_ring_info()
253 ring->deq_seg = ring->first_seg; in xhci_initialize_ring_info()
313 ring->first_seg = xhci_segment_alloc(); in xhci_ring_alloc()
314 BUG_ON(!ring->first_seg); in xhci_ring_alloc()
318 prev = ring->first_seg; in xhci_ring_alloc()
330 xhci_link_segments(prev, ring->first_seg, link_trbs); in xhci_ring_alloc()
528 trb_64 = (uintptr_t)ctrl->cmd_ring->first_seg->trbs; in xhci_mem_init()
555 for (val = 0, seg = ctrl->event_ring->first_seg; in xhci_mem_init()
852 trb_64 = (uintptr_t)virt_dev->eps[0].ring->first_seg->trbs; in xhci_setup_addressable_virt_dev()