Searched refs:MIC_DMA_DESC_RX_SIZE (Results 1 – 2 of 2) sorted by relevance
47 return (val + 1) % MIC_DMA_DESC_RX_SIZE; in mic_dma_hw_ring_inc()52 return val ? val - 1 : MIC_DMA_DESC_RX_SIZE - 1; in mic_dma_hw_ring_dec()123 count = (tail - 0) + (MIC_DMA_DESC_RX_SIZE - head); in mic_dma_ring_count()374 u64 desc_ring_size = MIC_DMA_DESC_RX_SIZE * sizeof(*ch->desc_ring); in mic_dma_alloc_desc_ring()388 ch->tx_array = vzalloc(array_size(MIC_DMA_DESC_RX_SIZE, in mic_dma_alloc_desc_ring()403 u64 desc_ring_size = MIC_DMA_DESC_RX_SIZE * sizeof(*ch->desc_ring); in mic_dma_free_desc_ring()584 return MIC_DMA_DESC_RX_SIZE; in mic_dma_alloc_chan_resources()
44 #define MIC_DMA_DESC_RX_SIZE (128 * 1024 - 4) macro242 drar_hi = (MIC_DMA_DESC_RX_SIZE & 0x1ffff) << 4; in mic_dma_chan_set_desc_ring()