Home
last modified time | relevance | path

Searched refs:c_index (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c1876 unsigned int c_index; in __bcmgenet_tx_reclaim() local
1888 c_index = bcmgenet_tdma_ring_readl(priv, ring->index, TDMA_CONS_INDEX) in __bcmgenet_tx_reclaim()
1890 txbds_ready = (c_index - ring->c_index) & DMA_C_INDEX_MASK; in __bcmgenet_tx_reclaim()
1894 __func__, ring->index, ring->c_index, c_index, txbds_ready); in __bcmgenet_tx_reclaim()
1914 ring->c_index = c_index; in __bcmgenet_tx_reclaim()
2273 rxpkttoprocess = (p_index - ring->c_index) & DMA_C_INDEX_MASK; in bcmgenet_desc_rx()
2309 __func__, p_index, ring->c_index, in bcmgenet_desc_rx()
2380 ring->c_index = (ring->c_index + 1) & DMA_C_INDEX_MASK; in bcmgenet_desc_rx()
2381 bcmgenet_rdma_ring_writel(priv, ring->index, ring->c_index, RDMA_CONS_INDEX); in bcmgenet_desc_rx()
2654 ring->c_index = 0; in bcmgenet_init_tx_ring()
[all …]
Dbcmgenet.h520 unsigned int c_index; /* last consumer index of each ring*/ member
548 unsigned int c_index; /* Rx last consumer index */ member
/linux-6.12.1/drivers/net/ethernet/broadcom/
Dbcmsysport.c918 unsigned int c_index; in __bcm_sysport_tx_reclaim() local
930 c_index = (hw_ind >> RING_CONS_INDEX_SHIFT) & RING_CONS_INDEX_MASK; in __bcm_sysport_tx_reclaim()
931 txbds_ready = (c_index - ring->c_index) & RING_CONS_INDEX_MASK; in __bcm_sysport_tx_reclaim()
935 ring->index, ring->c_index, c_index, txbds_ready); in __bcm_sysport_tx_reclaim()
955 ring->c_index = c_index; in __bcm_sysport_tx_reclaim()
959 ring->index, ring->c_index, pkts_compl, bytes_compl); in __bcm_sysport_tx_reclaim()
Dbcmsysport.h697 unsigned int c_index; /* Last consumer index */ member
/linux-6.12.1/drivers/video/
Dsticore.c85 #define c_index(sti, c) ((c) & 0xff) macro
164 .index = c_index(sti, c), in sti_putc()
/linux-6.12.1/drivers/infiniband/core/
Ddevice.c1049 unsigned long c_index = 0; in remove_all_compat_devs() local
1055 xa_for_each (&dev->compat_devs, c_index, cdev) in remove_all_compat_devs()
1056 remove_one_compat_dev(dev, c_index); in remove_all_compat_devs()