Lines Matching refs:TX_RING_SIZE
111 #define TX_RING_SIZE (1 << TX_LOG_RING_SIZE) macro
113 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1)
157 struct lance_tx_head tx_head[TX_RING_SIZE];
704 for( i = 0; i < TX_RING_SIZE; i++ ) { in lance_init_ring()
755 for( i = 0 ; i < TX_RING_SIZE; i++ ) in lance_tx_timeout()
829 while( lp->cur_tx >= TX_RING_SIZE && lp->dirty_tx >= TX_RING_SIZE ) { in lance_start_xmit()
830 lp->cur_tx -= TX_RING_SIZE; in lance_start_xmit()
831 lp->dirty_tx -= TX_RING_SIZE; in lance_start_xmit()
920 if (lp->cur_tx - dirty_tx >= TX_RING_SIZE) { in lance_interrupt()
924 dirty_tx += TX_RING_SIZE; in lance_interrupt()
929 dirty_tx > lp->cur_tx - TX_RING_SIZE + 2) { in lance_interrupt()