Home
last modified time | relevance | path

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

/drivers/dma/
Dmic_x100_dma.c376 u64 desc_ring_size = MIC_DMA_DESC_RX_SIZE * sizeof(*ch->desc_ring); in mic_dma_alloc_desc_ring() local
379 desc_ring_size = ALIGN(desc_ring_size, MIC_DMA_ALIGN_BYTES); in mic_dma_alloc_desc_ring()
380 ch->desc_ring = kzalloc(desc_ring_size, GFP_KERNEL); in mic_dma_alloc_desc_ring()
386 desc_ring_size, DMA_BIDIRECTIONAL); in mic_dma_alloc_desc_ring()
395 dma_unmap_single(dev, ch->desc_ring_micpa, desc_ring_size, in mic_dma_alloc_desc_ring()
404 u64 desc_ring_size = MIC_DMA_DESC_RX_SIZE * sizeof(*ch->desc_ring); in mic_dma_free_desc_ring() local
407 desc_ring_size = ALIGN(desc_ring_size, MIC_DMA_ALIGN_BYTES); in mic_dma_free_desc_ring()
409 desc_ring_size, DMA_BIDIRECTIONAL); in mic_dma_free_desc_ring()
/drivers/net/ethernet/cavium/liquidio/
Docteon_droq.c243 u32 desc_ring_size = 0, c_num_descs = 0, c_buf_size = 0; in octeon_init_droq() local
270 desc_ring_size = droq->max_count * OCT_DROQ_DESC_SIZE; in octeon_init_droq()
271 droq->desc_ring = lio_dma_alloc(oct, desc_ring_size, in octeon_init_droq()