Searched refs:empty_slot (Results 1 – 1 of 1) sorted by relevance
178 int empty_slot; in bgmac_dma_tx_free() local182 empty_slot = bgmac_read(bgmac, ring->mmio_base + BGMAC_DMA_TX_STATUS); in bgmac_dma_tx_free()183 empty_slot &= BGMAC_DMA_TX_STATDPTR; in bgmac_dma_tx_free()184 empty_slot /= sizeof(struct bgmac_dma_desc); in bgmac_dma_tx_free()186 while (ring->start != empty_slot) { in bgmac_dma_tx_free()