Searched refs:DESC_INDEX (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 838 bcmgenet_tdma_ring_readl(priv, DESC_INDEX, in bcmgenet_get_coalesce() 841 bcmgenet_rdma_ring_readl(priv, DESC_INDEX, in bcmgenet_get_coalesce() 850 ring = &priv->rx_rings[DESC_INDEX]; in bcmgenet_get_coalesce() 923 bcmgenet_tdma_ring_writel(priv, DESC_INDEX, in bcmgenet_set_coalesce() 929 bcmgenet_set_ring_rx_coalesce(&priv->rx_rings[DESC_INDEX], ec); in bcmgenet_set_coalesce() 1831 if (ring->index == DESC_INDEX) in __bcmgenet_tx_reclaim() 1923 bcmgenet_tx_reclaim(dev, &priv->tx_rings[DESC_INDEX]); in bcmgenet_tx_reclaim_all() 2013 index = DESC_INDEX; in bcmgenet_xmit() 2191 if (ring->index == DESC_INDEX) { in bcmgenet_desc_rx() 2572 if (index == DESC_INDEX) { in bcmgenet_init_tx_ring() [all …]
|
D | bcmgenet.h | 23 #define DESC_INDEX 16 macro 391 #define DMA_RINGS_SIZE (DMA_RING_SIZE * (DESC_INDEX + 1)) 638 struct bcmgenet_tx_ring tx_rings[DESC_INDEX + 1]; 648 struct bcmgenet_rx_ring rx_rings[DESC_INDEX + 1];
|
/Linux-v5.10/kernel/printk/ |
D | printk_ringbuffer.c | 318 #define DESC_INDEX(desc_ring, n) ((n) & DESCS_COUNT_MASK(desc_ring)) macro 357 return &desc_ring->descs[DESC_INDEX(desc_ring, n)]; in to_desc() 366 return &desc_ring->infos[DESC_INDEX(desc_ring, n)]; in to_info() 1536 if (seq == 0 && DESC_INDEX(desc_ring, id) != 0) in prb_reserve() 1537 info->seq = DESC_INDEX(desc_ring, id); in prb_reserve()
|