Searched refs:c_index (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 1878 unsigned int c_index; in __bcmgenet_tx_reclaim() local 1890 c_index = bcmgenet_tdma_ring_readl(priv, ring->index, TDMA_CONS_INDEX) in __bcmgenet_tx_reclaim() 1892 txbds_ready = (c_index - ring->c_index) & DMA_C_INDEX_MASK; in __bcmgenet_tx_reclaim() 1896 __func__, ring->index, ring->c_index, c_index, txbds_ready); in __bcmgenet_tx_reclaim() 1916 ring->c_index = c_index; in __bcmgenet_tx_reclaim() 2275 rxpkttoprocess = (p_index - ring->c_index) & DMA_C_INDEX_MASK; in bcmgenet_desc_rx() 2311 __func__, p_index, ring->c_index, in bcmgenet_desc_rx() 2382 ring->c_index = (ring->c_index + 1) & DMA_C_INDEX_MASK; in bcmgenet_desc_rx() 2383 bcmgenet_rdma_ring_writel(priv, ring->index, ring->c_index, RDMA_CONS_INDEX); in bcmgenet_desc_rx() 2656 ring->c_index = 0; in bcmgenet_init_tx_ring() [all …]
|
D | bcmgenet.h | 520 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/ |
D | bcmsysport.c | 918 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()
|
D | bcmsysport.h | 697 unsigned int c_index; /* Last consumer index */ member
|
/drivers/video/ |
D | sticore.c | 85 #define c_index(sti, c) ((c) & 0xff) macro 164 .index = c_index(sti, c), in sti_putc()
|
/drivers/infiniband/core/ |
D | device.c | 1043 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()
|