Home
last modified time | relevance | path

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

/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c1873 unsigned int c_index; in __bcmgenet_tx_reclaim() local
1885 c_index = bcmgenet_tdma_ring_readl(priv, ring->index, TDMA_CONS_INDEX) in __bcmgenet_tx_reclaim()
1887 txbds_ready = (c_index - ring->c_index) & DMA_C_INDEX_MASK; in __bcmgenet_tx_reclaim()
1891 __func__, ring->index, ring->c_index, c_index, txbds_ready); in __bcmgenet_tx_reclaim()
1911 ring->c_index = c_index; in __bcmgenet_tx_reclaim()
2274 rxpkttoprocess = (p_index - ring->c_index) & DMA_C_INDEX_MASK; in bcmgenet_desc_rx()
2310 __func__, p_index, ring->c_index, in bcmgenet_desc_rx()
2381 ring->c_index = (ring->c_index + 1) & DMA_C_INDEX_MASK; in bcmgenet_desc_rx()
2382 bcmgenet_rdma_ring_writel(priv, ring->index, ring->c_index, RDMA_CONS_INDEX); in bcmgenet_desc_rx()
2649 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
/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.c1043 unsigned long c_index = 0; in remove_all_compat_devs() local
1049 xa_for_each (&dev->compat_devs, c_index, cdev) in remove_all_compat_devs()
1050 remove_one_compat_dev(dev, c_index); in remove_all_compat_devs()