Lines Matching refs:c_index
1876 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()
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()
2374 ring->c_index = (ring->c_index + 1) & DMA_C_INDEX_MASK; in bcmgenet_desc_rx()
2375 bcmgenet_rdma_ring_writel(priv, ring->index, ring->c_index, RDMA_CONS_INDEX); in bcmgenet_desc_rx()
2642 ring->c_index = 0; in bcmgenet_init_tx_ring()
2697 ring->c_index = 0; in bcmgenet_init_rx_ring()
3496 u32 p_index, c_index, intsts, intmsk; in bcmgenet_dump_tx_queue() local
3514 c_index = bcmgenet_tdma_ring_readl(priv, ring->index, TDMA_CONS_INDEX); in bcmgenet_dump_tx_queue()
3532 ring->c_index, c_index & DMA_C_INDEX_MASK, in bcmgenet_dump_tx_queue()