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