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()
2273 rxpkttoprocess = (p_index - ring->c_index) & DMA_C_INDEX_MASK; in bcmgenet_desc_rx()
2309 __func__, p_index, ring->c_index, in bcmgenet_desc_rx()
2380 ring->c_index = (ring->c_index + 1) & DMA_C_INDEX_MASK; in bcmgenet_desc_rx()
2381 bcmgenet_rdma_ring_writel(priv, ring->index, ring->c_index, RDMA_CONS_INDEX); in bcmgenet_desc_rx()
2654 ring->c_index = 0; in bcmgenet_init_tx_ring()
2709 ring->c_index = 0; in bcmgenet_init_rx_ring()
3501 u32 p_index, c_index, intsts, intmsk; in bcmgenet_dump_tx_queue() local
3519 c_index = bcmgenet_tdma_ring_readl(priv, ring->index, TDMA_CONS_INDEX); in bcmgenet_dump_tx_queue()
3537 ring->c_index, c_index & DMA_C_INDEX_MASK, in bcmgenet_dump_tx_queue()