Lines Matching refs:first_seg
222 struct xhci_segment *first_seg, in xhci_update_stream_segment_mapping() argument
233 seg = first_seg; in xhci_update_stream_segment_mapping()
242 } while (seg != first_seg); in xhci_update_stream_segment_mapping()
248 seg = first_seg; in xhci_update_stream_segment_mapping()
254 } while (seg != first_seg); in xhci_update_stream_segment_mapping()
266 seg = ring->first_seg; in xhci_remove_stream_mapping()
270 } while (seg != ring->first_seg); in xhci_remove_stream_mapping()
276 ring->first_seg, ring->last_seg, mem_flags); in xhci_update_stream_mapping()
287 if (ring->first_seg) { in xhci_ring_free()
290 xhci_free_segments_for_ring(xhci, ring->first_seg); in xhci_ring_free()
300 ring->enqueue = ring->first_seg->trbs; in xhci_initialize_ring_info()
301 ring->enq_seg = ring->first_seg; in xhci_initialize_ring_info()
303 ring->deq_seg = ring->first_seg; in xhci_initialize_ring_info()
390 ret = xhci_alloc_segments_for_ring(xhci, &ring->first_seg, in xhci_ring_alloc()
654 addr = cur_ring->first_seg->dma | in xhci_alloc_stream_info()
1177 ep0_ctx->deq = cpu_to_le64(dev->eps[0].ring->first_seg->dma | in xhci_setup_addressable_virt_dev()
1484 ep_ctx->deq = cpu_to_le64(ep_ring->first_seg->dma | in xhci_endpoint_init()
1787 seg = evt_ring->first_seg; in xhci_alloc_erst()
2398 &xhci->cmd_ring->first_seg->dma); in xhci_mem_init()
2403 (xhci->cmd_ring->first_seg->dma & (u64) ~CMD_RING_RSVD_BITS) | in xhci_mem_init()