Lines Matching refs:tx_ring_size
1104 *slot = RING_NEXT(*slot, sky2->tx_ring_size); in get_tx_le()
1596 sky2->tx_ring_size * in sky2_alloc_buffers()
1602 sky2->tx_ring = kcalloc(sky2->tx_ring_size, sizeof(struct tx_ring_info), in sky2_alloc_buffers()
1635 sky2->tx_ring_size * sizeof(struct sky2_tx_le), in sky2_free_buffers()
1702 sky2->tx_ring_size - 1); in sky2_hw_up()
1778 return (sky2->tx_prod - sky2->tx_cons) & (sky2->tx_ring_size - 1); in tx_inuse()
1977 for (i = sky2->tx_prod; i != slot; i = RING_NEXT(i, sky2->tx_ring_size)) { in sky2_xmit_frame()
2006 BUG_ON(done >= sky2->tx_ring_size); in sky2_tx_complete()
2009 idx = RING_NEXT(idx, sky2->tx_ring_size)) { in sky2_tx_complete()
2025 sky2->tx_next = RING_NEXT(idx, sky2->tx_ring_size); in sky2_tx_complete()
4099 if (ecmd->tx_max_coalesced_frames >= sky2->tx_ring_size-1) in sky2_set_coalesce()
4172 sky2->tx_ring_size = roundup_ring_size(sky2->tx_pending); in sky2_set_ringparam()
4558 for (idx = sky2->tx_next; idx != sky2->tx_prod && idx < sky2->tx_ring_size; in sky2_debug_show()
4559 idx = RING_NEXT(idx, sky2->tx_ring_size)) { in sky2_debug_show()
4758 sky2->tx_ring_size = roundup_ring_size(TX_DEF_PENDING); in sky2_init_netdev()