Searched refs:desc_ring_size (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/dma/ |
D | mic_x100_dma.c | 363 u64 desc_ring_size = MIC_DMA_DESC_RX_SIZE * sizeof(*ch->desc_ring); in mic_dma_alloc_desc_ring() local 366 desc_ring_size = ALIGN(desc_ring_size, MIC_DMA_ALIGN_BYTES); in mic_dma_alloc_desc_ring() 367 ch->desc_ring = kzalloc(desc_ring_size, GFP_KERNEL); in mic_dma_alloc_desc_ring() 373 desc_ring_size, DMA_BIDIRECTIONAL); in mic_dma_alloc_desc_ring() 383 dma_unmap_single(dev, ch->desc_ring_micpa, desc_ring_size, in mic_dma_alloc_desc_ring() 392 u64 desc_ring_size = MIC_DMA_DESC_RX_SIZE * sizeof(*ch->desc_ring); in mic_dma_free_desc_ring() local 395 desc_ring_size = ALIGN(desc_ring_size, MIC_DMA_ALIGN_BYTES); in mic_dma_free_desc_ring() 397 desc_ring_size, DMA_BIDIRECTIONAL); in mic_dma_free_desc_ring()
|
/Linux-v5.4/drivers/net/wireless/ath/wil6210/ |
D | txrx_edma.c | 493 static int wil_init_rx_desc_ring(struct wil6210_priv *wil, u16 desc_ring_size, in wil_init_rx_desc_ring() argument 501 ring->size = desc_ring_size; in wil_init_rx_desc_ring() 616 u16 status_ring_size, desc_ring_size = 1 << desc_ring_order; in wil_rx_init_edma() local 633 if (wil->rx_buff_id_count <= desc_ring_size) in wil_rx_init_edma() 635 wil->rx_buff_id_count = desc_ring_size + 512; in wil_rx_init_edma() 644 desc_ring_size, status_ring_size, elem_size); in wil_rx_init_edma() 674 rc = wil_init_rx_desc_ring(wil, desc_ring_size, in wil_rx_init_edma()
|
/Linux-v5.4/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_droq.c | 227 u32 desc_ring_size = 0, c_num_descs = 0, c_buf_size = 0; in octeon_init_droq() local 268 desc_ring_size = droq->max_count * OCT_DROQ_DESC_SIZE; in octeon_init_droq() 269 droq->desc_ring = lio_dma_alloc(oct, desc_ring_size, in octeon_init_droq()
|