Lines Matching refs:first_seg
84 struct xhci_segment *first_seg; in xhci_ring_free() local
88 first_seg = ring->first_seg; in xhci_ring_free()
89 seg = first_seg->next; in xhci_ring_free()
90 while (seg != first_seg) { in xhci_ring_free()
95 xhci_segment_free(first_seg); in xhci_ring_free()
255 ring->enqueue = ring->first_seg->trbs; in xhci_initialize_ring_info()
256 ring->enq_seg = ring->first_seg; in xhci_initialize_ring_info()
258 ring->deq_seg = ring->first_seg; in xhci_initialize_ring_info()
319 ring->first_seg = xhci_segment_alloc(); in xhci_ring_alloc()
320 BUG_ON(!ring->first_seg); in xhci_ring_alloc()
324 prev = ring->first_seg; in xhci_ring_alloc()
336 xhci_link_segments(ctrl, prev, ring->first_seg, link_trbs); in xhci_ring_alloc()
536 trb_64 = xhci_virt_to_bus(ctrl, ctrl->cmd_ring->first_seg->trbs); in xhci_mem_init()
563 for (val = 0, seg = ctrl->event_ring->first_seg; in xhci_mem_init()
854 trb_64 = xhci_virt_to_bus(ctrl, virt_dev->eps[0].ring->first_seg->trbs); in xhci_setup_addressable_virt_dev()