Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c607 bcmgenet_tdma_ring_readl(priv, DESC_INDEX, in bcmgenet_get_coalesce()
610 bcmgenet_rdma_ring_readl(priv, DESC_INDEX, in bcmgenet_get_coalesce()
619 ring = &priv->rx_rings[DESC_INDEX]; in bcmgenet_get_coalesce()
696 bcmgenet_tdma_ring_writel(priv, DESC_INDEX, in bcmgenet_set_coalesce()
702 bcmgenet_set_ring_rx_coalesce(&priv->rx_rings[DESC_INDEX], ec); in bcmgenet_set_coalesce()
1385 if (ring->index == DESC_INDEX) in __bcmgenet_tx_reclaim()
1477 bcmgenet_tx_reclaim(dev, &priv->tx_rings[DESC_INDEX]); in bcmgenet_tx_reclaim_all()
1568 index = DESC_INDEX; in bcmgenet_xmit()
1750 if (ring->index == DESC_INDEX) { in bcmgenet_desc_rx()
2123 if (index == DESC_INDEX) { in bcmgenet_init_tx_ring()
[all …]
Dbcmgenet.h22 #define DESC_INDEX 16 macro
383 #define DMA_RINGS_SIZE (DMA_RING_SIZE * (DESC_INDEX + 1))
618 struct bcmgenet_tx_ring tx_rings[DESC_INDEX + 1];
626 struct bcmgenet_rx_ring rx_rings[DESC_INDEX + 1];