Lines Matching refs:first_seg
226 struct xhci_segment *first_seg, in xhci_update_stream_segment_mapping() argument
237 seg = first_seg; in xhci_update_stream_segment_mapping()
246 } while (seg != first_seg); in xhci_update_stream_segment_mapping()
252 seg = first_seg; in xhci_update_stream_segment_mapping()
258 } while (seg != first_seg); in xhci_update_stream_segment_mapping()
270 seg = ring->first_seg; in xhci_remove_stream_mapping()
274 } while (seg != ring->first_seg); in xhci_remove_stream_mapping()
280 ring->first_seg, ring->last_seg, mem_flags); in xhci_update_stream_mapping()
291 if (ring->first_seg) { in xhci_ring_free()
294 xhci_free_segments_for_ring(xhci, ring->first_seg); in xhci_ring_free()
304 ring->enqueue = ring->first_seg->trbs; in xhci_initialize_ring_info()
305 ring->enq_seg = ring->first_seg; in xhci_initialize_ring_info()
307 ring->deq_seg = ring->first_seg; in xhci_initialize_ring_info()
395 ret = xhci_alloc_segments_for_ring(xhci, &ring->first_seg, &ring->last_seg, num_segs, in xhci_ring_alloc()
653 addr = cur_ring->first_seg->dma | in xhci_alloc_stream_info()
1172 ep0_ctx->deq = cpu_to_le64(dev->eps[0].ring->first_seg->dma | in xhci_setup_addressable_virt_dev()
1479 ep_ctx->deq = cpu_to_le64(ep_ring->first_seg->dma | in xhci_endpoint_init()
1784 seg = evt_ring->first_seg; in xhci_alloc_erst()
2482 &xhci->cmd_ring->first_seg->dma); in xhci_mem_init()
2487 (xhci->cmd_ring->first_seg->dma & (u64) ~CMD_RING_RSVD_BITS) | in xhci_mem_init()