XUDC_EVENT_RING_SIZE
if (xudc->event_ring_deq_ptr == XUDC_EVENT_RING_SIZE) {
dma_alloc_coherent(xudc->dev, XUDC_EVENT_RING_SIZE *
dma_free_coherent(xudc->dev, XUDC_EVENT_RING_SIZE *
memset(xudc->event_ring[i], 0, XUDC_EVENT_RING_SIZE *
val |= XUDC_EVENT_RING_SIZE << ERSTSZ_ERSTXSZ_SHIFT(i);
dma_free_coherent(xudc->dev, XUDC_EVENT_RING_SIZE *