Searched refs:desc_ring_size (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_tx.c | 177 u32 desc_ring_size, buff_info_size, sglist_size; in octep_setup_iq() local 196 desc_ring_size = OCTEP_IQ_DESC_SIZE * CFG_GET_IQ_NUM_DESC(oct->conf); in octep_setup_iq() 197 iq->desc_ring = dma_alloc_coherent(iq->dev, desc_ring_size, in octep_setup_iq() 246 dma_free_coherent(iq->dev, desc_ring_size, in octep_setup_iq() 265 u64 desc_ring_size, sglist_size; in octep_free_iq() local 268 desc_ring_size = OCTEP_IQ_DESC_SIZE * CFG_GET_IQ_NUM_DESC(oct->conf); in octep_free_iq() 273 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()
|
/linux/drivers/net/ethernet/marvell/octeon_ep_vf/ |
H A D | octep_vf_tx.c | 176 u32 desc_ring_size, buff_info_size, sglist_size; in octep_vf_setup_iq() local 195 desc_ring_size = OCTEP_VF_IQ_DESC_SIZE * CFG_GET_IQ_NUM_DESC(oct->conf); in octep_vf_setup_iq() 196 iq->desc_ring = dma_alloc_coherent(iq->dev, desc_ring_size, in octep_vf_setup_iq() 245 dma_free_coherent(iq->dev, desc_ring_size, in octep_vf_setup_iq() 264 u64 desc_ring_size, sglist_size; in octep_vf_free_iq() local 267 desc_ring_size = OCTEP_VF_IQ_DESC_SIZE * CFG_GET_IQ_NUM_DESC(oct->conf); in octep_vf_free_iq() 272 dma_free_coherent(iq->dev, desc_ring_size, in octep_vf_free_iq()
|
H A D | octep_vf_rx.c | 126 u32 desc_ring_size; in octep_vf_setup_oq() local 151 desc_ring_size = oq->max_count * OCTEP_VF_OQ_DESC_SIZE; in octep_vf_setup_oq() 152 oq->desc_ring = dma_alloc_coherent(oq->dev, desc_ring_size, in octep_vf_setup_oq() 182 dma_free_coherent(oq->dev, desc_ring_size, in octep_vf_setup_oq()
|
/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()
|
/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_droq.c | 224 u32 desc_ring_size = 0, c_num_descs = 0, c_buf_size = 0; in octeon_init_droq() local 265 desc_ring_size = droq->max_count * OCT_DROQ_DESC_SIZE; in octeon_init_droq() 266 droq->desc_ring = lio_dma_alloc(oct, desc_ring_size, in octeon_init_droq()
|