Searched refs:c_index (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.15/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 1832 unsigned int c_index; in __bcmgenet_tx_reclaim() local 1844 c_index = bcmgenet_tdma_ring_readl(priv, ring->index, TDMA_CONS_INDEX) in __bcmgenet_tx_reclaim() 1846 txbds_ready = (c_index - ring->c_index) & DMA_C_INDEX_MASK; in __bcmgenet_tx_reclaim() 1850 __func__, ring->index, ring->c_index, c_index, txbds_ready); in __bcmgenet_tx_reclaim() 1870 ring->c_index = c_index; in __bcmgenet_tx_reclaim() 2224 rxpkttoprocess = (p_index - ring->c_index) & DMA_C_INDEX_MASK; in bcmgenet_desc_rx() 2258 __func__, p_index, ring->c_index, in bcmgenet_desc_rx() 2321 ring->c_index = (ring->c_index + 1) & DMA_C_INDEX_MASK; in bcmgenet_desc_rx() 2322 bcmgenet_rdma_ring_writel(priv, ring->index, ring->c_index, RDMA_CONS_INDEX); in bcmgenet_desc_rx() 2589 ring->c_index = 0; in bcmgenet_init_tx_ring() [all …]
|
D | bcmgenet.h | 519 unsigned int c_index; /* last consumer index of each ring*/ member 547 unsigned int c_index; /* Rx last consumer index */ member
|
/Linux-v5.15/drivers/net/ethernet/broadcom/ |
D | bcmsysport.c | 907 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()
|
D | bcmsysport.h | 686 unsigned int c_index; /* Last consumer index */ member
|
/Linux-v5.15/drivers/video/console/ |
D | sticore.c | 65 #define c_index(sti, c) ((c) & 0xff) macro 144 .index = c_index(sti, c), in sti_putc()
|
/Linux-v5.15/drivers/infiniband/core/ |
D | device.c | 1042 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()
|