Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c822 bcmgenet_tdma_ring_readl(priv, DESC_INDEX, in bcmgenet_get_coalesce()
825 bcmgenet_rdma_ring_readl(priv, DESC_INDEX, in bcmgenet_get_coalesce()
834 ring = &priv->rx_rings[DESC_INDEX]; in bcmgenet_get_coalesce()
909 bcmgenet_tdma_ring_writel(priv, DESC_INDEX, in bcmgenet_set_coalesce()
915 bcmgenet_set_ring_rx_coalesce(&priv->rx_rings[DESC_INDEX], ec); in bcmgenet_set_coalesce()
1880 if (ring->index == DESC_INDEX) in __bcmgenet_tx_reclaim()
1972 bcmgenet_tx_reclaim(dev, &priv->tx_rings[DESC_INDEX]); in bcmgenet_tx_reclaim_all()
2067 index = DESC_INDEX; in bcmgenet_xmit()
2245 if (ring->index == DESC_INDEX) { in bcmgenet_desc_rx()
2642 if (index == DESC_INDEX) { in bcmgenet_init_tx_ring()
[all …]
H A Dbcmgenet.h25 #define DESC_INDEX 16 macro
337 #define DMA_RINGS_SIZE (DMA_RING_SIZE * (DESC_INDEX + 1))
586 struct bcmgenet_tx_ring tx_rings[DESC_INDEX + 1];
596 struct bcmgenet_rx_ring rx_rings[DESC_INDEX + 1];
/linux/kernel/printk/
H A Dprintk_ringbuffer.c322 #define DESC_INDEX(desc_ring, n) ((n) & DESCS_COUNT_MASK(desc_ring)) macro
361 return &desc_ring->descs[DESC_INDEX(desc_ring, n)]; in to_desc()
370 return &desc_ring->infos[DESC_INDEX(desc_ring, n)]; in to_info()
1655 if (seq == 0 && DESC_INDEX(desc_ring, id) != 0) in prb_reserve()
1656 info->seq = DESC_INDEX(desc_ring, id); in prb_reserve()