Lines Matching refs:TX_RING_SIZE
497 for (i = 0; i < TX_RING_SIZE; i++) { in smsc9420_free_tx_ring()
920 pd->tx_ring_tail = (pd->tx_ring_tail + 1) % TX_RING_SIZE; in smsc9420_complete_tx()
932 (((pd->tx_ring_head + 2) % TX_RING_SIZE) == pd->tx_ring_tail); in smsc9420_hard_start_xmit()
959 if (unlikely(index == (TX_RING_SIZE - 1))) in smsc9420_hard_start_xmit()
967 pd->tx_ring_head = (pd->tx_ring_head + 1) % TX_RING_SIZE; in smsc9420_hard_start_xmit()
1181 pd->tx_buffers = kmalloc_array(TX_RING_SIZE, in smsc9420_alloc_tx_ring()
1188 for (i = 0; i < TX_RING_SIZE; i++) { in smsc9420_alloc_tx_ring()
1196 pd->tx_ring[TX_RING_SIZE - 1].length = TDES1_TER_; in smsc9420_alloc_tx_ring()
1549 sizeof(struct smsc9420_dma_desc) * (RX_RING_SIZE + TX_RING_SIZE), in smsc9420_probe()
1607 sizeof(struct smsc9420_dma_desc) * (RX_RING_SIZE + TX_RING_SIZE), in smsc9420_probe()
1641 sizeof(struct smsc9420_dma_desc) * (RX_RING_SIZE + TX_RING_SIZE), in smsc9420_remove()