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