Lines Matching defs:first_seg
229 struct cdnsp_segment *first_seg,
237 seg = first_seg;
246 } while (seg != first_seg);
252 seg = first_seg;
258 } while (seg != first_seg);
267 seg = ring->first_seg;
271 } while (seg != ring->first_seg);
277 ring->first_seg, ring->last_seg, GFP_ATOMIC);
287 if (ring->first_seg) {
291 cdnsp_free_segments_for_ring(pdev, ring->first_seg);
299 ring->enqueue = ring->first_seg->trbs;
300 ring->enq_seg = ring->first_seg;
302 ring->deq_seg = ring->first_seg;
391 ret = cdnsp_alloc_segments_for_ring(pdev, &ring->first_seg,
611 addr = cur_ring->first_seg->dma | SCT_FOR_CTX(SCT_PRI_TR) |
769 ep0_ctx->deq = cpu_to_le64(pdev->eps[0].ring->first_seg->dma |
1001 ep_ctx->deq = cpu_to_le64(pep->ring->first_seg->dma |
1042 seg = evt_ring->first_seg;
1268 (pdev->cmd_ring->first_seg->dma & (u64)~CMD_RING_RSVD_BITS) |