Home
last modified time | relevance | path

Searched refs:ring_size (Results 1 – 3 of 3) sorted by relevance

/arch/powerpc/platforms/pasemi/
Ddma_lib.c252 int pasemi_dma_alloc_ring(struct pasemi_dmachan *chan, int ring_size) in pasemi_dma_alloc_ring() argument
256 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()
/arch/powerpc/include/asm/
Dpasemi_dma.h487 unsigned int ring_size; /* size of allocated ring */ member
517 extern int pasemi_dma_alloc_ring(struct pasemi_dmachan *chan, int ring_size);
/arch/sparc/include/asm/
Dvio.h278 unsigned int ring_size) in vio_dring_avail() argument
281 ((dr->prod - dr->cons) & (ring_size - 1)) - 1); in vio_dring_avail()