Home
last modified time | relevance | path

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

/linux/drivers/dma/
H A Dplx_dma.c95 #define PLX_DMA_RING_COUNT 2048 macro
131 return plxdev->desc_ring[i & (PLX_DMA_RING_COUNT - 1)]; in plx_dma_get_desc()
263 if (!CIRC_SPACE(plxdev->head, plxdev->tail, PLX_DMA_RING_COUNT)) in plx_dma_prep_memcpy()
381 plxdev->desc_ring = kzalloc_objs(*plxdev->desc_ring, PLX_DMA_RING_COUNT); in plx_dma_alloc_desc()
385 for (i = 0; i < PLX_DMA_RING_COUNT; i++) { in plx_dma_alloc_desc()
400 for (i = 0; i < PLX_DMA_RING_COUNT; i++) in plx_dma_alloc_desc()
409 size_t ring_sz = PLX_DMA_RING_COUNT * sizeof(*plxdev->hw_ring); in plx_dma_alloc_chan_resources()
436 writel(PLX_DMA_RING_COUNT, plxdev->bar + PLX_REG_DESC_RING_COUNT); in plx_dma_alloc_chan_resources()
443 return PLX_DMA_RING_COUNT; in plx_dma_alloc_chan_resources()
454 size_t ring_sz = PLX_DMA_RING_COUNT * sizeof(*plxdev->hw_ring); in plx_dma_free_chan_resources()
[all …]