Searched refs:BGMAC_TX_RING_SLOTS (Results 1 – 2 of 2) sorted by relevance
118 if (i == BGMAC_TX_RING_SLOTS - 1) in bgmac_dma_tx_add_buf()137 int index = ring->end % BGMAC_TX_RING_SLOTS; in bgmac_dma_tx_add()156 if (ring->end - ring->start + nr_frags + 1 >= BGMAC_TX_RING_SLOTS) { in bgmac_dma_tx_add()178 index = (index + 1) % BGMAC_TX_RING_SLOTS; in bgmac_dma_tx_add()202 (ring->end % BGMAC_TX_RING_SLOTS) * in bgmac_dma_tx_add()205 if (ring->end - ring->start >= BGMAC_TX_RING_SLOTS - 8) in bgmac_dma_tx_add()215 int index = (ring->end + i) % BGMAC_TX_RING_SLOTS; in bgmac_dma_tx_add()249 int slot_idx = ring->start % BGMAC_TX_RING_SLOTS; in bgmac_dma_tx_free()533 for (i = 0; i < BGMAC_TX_RING_SLOTS; i++) { in bgmac_dma_tx_ring_free()605 BGMAC_TX_RING_SLOTS); in bgmac_dma_free()[all …]
324 #define BGMAC_TX_RING_SLOTS 128 macro