Home
last modified time | relevance | path

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

/drivers/net/ethernet/marvell/octeon_ep/
Doctep_tx.c180 u32 desc_ring_size, buff_info_size, sglist_size; in octep_setup_iq() local
199 desc_ring_size = OCTEP_IQ_DESC_SIZE * CFG_GET_IQ_NUM_DESC(oct->conf); in octep_setup_iq()
200 iq->desc_ring = dma_alloc_coherent(iq->dev, desc_ring_size, in octep_setup_iq()
249 dma_free_coherent(iq->dev, desc_ring_size, in octep_setup_iq()
268 u64 desc_ring_size, sglist_size; in octep_free_iq() local
271 desc_ring_size = OCTEP_IQ_DESC_SIZE * CFG_GET_IQ_NUM_DESC(oct->conf); in octep_free_iq()
276 dma_free_coherent(iq->dev, desc_ring_size, in octep_free_iq()
Doctep_rx.c126 u32 desc_ring_size; in octep_setup_oq() local
151 desc_ring_size = oq->max_count * OCTEP_OQ_DESC_SIZE; in octep_setup_oq()
152 oq->desc_ring = dma_alloc_coherent(oq->dev, desc_ring_size, in octep_setup_oq()
181 dma_free_coherent(oq->dev, desc_ring_size, in octep_setup_oq()
/drivers/net/wireless/ath/wil6210/
Dtxrx_edma.c480 static int wil_init_rx_desc_ring(struct wil6210_priv *wil, u16 desc_ring_size, in wil_init_rx_desc_ring() argument
488 ring->size = desc_ring_size; in wil_init_rx_desc_ring()
603 u16 status_ring_size, desc_ring_size = 1 << desc_ring_order; in wil_rx_init_edma() local
620 if (wil->rx_buff_id_count <= desc_ring_size) in wil_rx_init_edma()
622 wil->rx_buff_id_count = desc_ring_size + 512; in wil_rx_init_edma()
631 desc_ring_size, status_ring_size, elem_size); in wil_rx_init_edma()
661 rc = wil_init_rx_desc_ring(wil, desc_ring_size, in wil_rx_init_edma()
/drivers/net/ethernet/cavium/liquidio/
Docteon_droq.c227 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()