Searched refs:desc_ring_size (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_tx.c | 180 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()
|
H A D | octep_rx.c | 126 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()
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | txrx_edma.c | 480 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()
|
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_droq.c | 229 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()
|