Home
last modified time | relevance | path

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

/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c575 bcmgenet_tdma_ring_readl(priv, DESC_INDEX, in bcmgenet_get_coalesce()
578 bcmgenet_rdma_ring_readl(priv, DESC_INDEX, in bcmgenet_get_coalesce()
621 bcmgenet_tdma_ring_writel(priv, DESC_INDEX, in bcmgenet_set_coalesce()
636 bcmgenet_rdma_ring_writel(priv, DESC_INDEX, in bcmgenet_set_coalesce()
1327 bcmgenet_tx_reclaim(dev, &priv->tx_rings[DESC_INDEX]); in bcmgenet_tx_reclaim_all()
1499 index = DESC_INDEX; in bcmgenet_xmit()
1996 if (index == DESC_INDEX) { in bcmgenet_init_tx_ring()
2016 if (index != DESC_INDEX) in bcmgenet_init_tx_ring()
2051 if (index == DESC_INDEX) { in bcmgenet_init_rx_ring()
2103 ring = &priv->tx_rings[DESC_INDEX]; in bcmgenet_init_tx_napi()
[all …]
Dbcmgenet.h24 #define DESC_INDEX 16 macro
379 #define DMA_RINGS_SIZE (DMA_RING_SIZE * (DESC_INDEX + 1))
587 struct bcmgenet_tx_ring tx_rings[DESC_INDEX + 1];
595 struct bcmgenet_rx_ring rx_rings[DESC_INDEX + 1];