Searched refs:ring_size (Results 1 – 3 of 3) sorted by relevance
252 int pasemi_dma_alloc_ring(struct pasemi_dmachan *chan, int ring_size) in pasemi_dma_alloc_ring() argument256 chan->ring_size = ring_size; in pasemi_dma_alloc_ring()259 ring_size * sizeof(u64), in pasemi_dma_alloc_ring()265 memset(chan->ring_virt, 0, ring_size * sizeof(u64)); in pasemi_dma_alloc_ring()280 dma_free_coherent(&dma_pdev->dev, chan->ring_size * sizeof(u64), in pasemi_dma_free_ring()283 chan->ring_size = 0; in pasemi_dma_free_ring()
487 unsigned int ring_size; /* size of allocated ring */ member517 extern int pasemi_dma_alloc_ring(struct pasemi_dmachan *chan, int ring_size);
278 unsigned int ring_size) in vio_dring_avail() argument281 ((dr->prod - dr->cons) & (ring_size - 1)) - 1); in vio_dring_avail()