Home
last modified time | relevance | path

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

/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c1829 unsigned int c_index; in __bcmgenet_tx_reclaim() local
1841 c_index = bcmgenet_tdma_ring_readl(priv, ring->index, TDMA_CONS_INDEX) in __bcmgenet_tx_reclaim()
1843 txbds_ready = (c_index - ring->c_index) & DMA_C_INDEX_MASK; in __bcmgenet_tx_reclaim()
1847 __func__, ring->index, ring->c_index, c_index, txbds_ready); in __bcmgenet_tx_reclaim()
1867 ring->c_index = c_index; in __bcmgenet_tx_reclaim()
2230 rxpkttoprocess = (p_index - ring->c_index) & DMA_C_INDEX_MASK; in bcmgenet_desc_rx()
2266 __func__, p_index, ring->c_index, in bcmgenet_desc_rx()
2337 ring->c_index = (ring->c_index + 1) & DMA_C_INDEX_MASK; in bcmgenet_desc_rx()
2338 bcmgenet_rdma_ring_writel(priv, ring->index, ring->c_index, RDMA_CONS_INDEX); in bcmgenet_desc_rx()
2605 ring->c_index = 0; in bcmgenet_init_tx_ring()
[all …]
Dbcmgenet.h519 unsigned int c_index; /* last consumer index of each ring*/ member
547 unsigned int c_index; /* Rx last consumer index */ member
/drivers/net/ethernet/broadcom/
Dbcmsysport.c907 unsigned int c_index; in __bcm_sysport_tx_reclaim() local
919 c_index = (hw_ind >> RING_CONS_INDEX_SHIFT) & RING_CONS_INDEX_MASK; in __bcm_sysport_tx_reclaim()
920 txbds_ready = (c_index - ring->c_index) & RING_CONS_INDEX_MASK; in __bcm_sysport_tx_reclaim()
924 ring->index, ring->c_index, c_index, txbds_ready); in __bcm_sysport_tx_reclaim()
944 ring->c_index = c_index; in __bcm_sysport_tx_reclaim()
948 ring->index, ring->c_index, pkts_compl, bytes_compl); in __bcm_sysport_tx_reclaim()
Dbcmsysport.h686 unsigned int c_index; /* Last consumer index */ member
/drivers/video/console/
Dsticore.c66 #define c_index(sti, c) ((c) & 0xff) macro
145 .index = c_index(sti, c), in sti_putc()
/drivers/infiniband/core/
Ddevice.c1042 unsigned long c_index = 0; in remove_all_compat_devs() local
1048 xa_for_each (&dev->compat_devs, c_index, cdev) in remove_all_compat_devs()
1049 remove_one_compat_dev(dev, c_index); in remove_all_compat_devs()