Searched refs:empty_slot (Results 1 – 1 of 1) sorted by relevance
238 int empty_slot; in bgmac_dma_tx_free() local242 empty_slot = bgmac_read(bgmac, ring->mmio_base + BGMAC_DMA_TX_STATUS); in bgmac_dma_tx_free()243 empty_slot &= BGMAC_DMA_TX_STATDPTR; in bgmac_dma_tx_free()244 empty_slot -= ring->index_base; in bgmac_dma_tx_free()245 empty_slot &= BGMAC_DMA_TX_STATDPTR; in bgmac_dma_tx_free()246 empty_slot /= sizeof(struct bgmac_dma_desc); in bgmac_dma_tx_free()254 if (slot_idx == empty_slot) in bgmac_dma_tx_free()