Lines Matching defs:TX_RING_SIZE
83 #define TX_RING_SIZE 5
94 volatile struct TDRE *tx_ring[TX_RING_SIZE];
96 volatile u_short *tx_buff[TX_RING_SIZE];
109 struct TDRE tx_ring[TX_RING_SIZE];
111 u_short tx_buff[TX_RING_SIZE][PKT_BUF_SIZE/sizeof(u_short)];
305 lance->RDP = swapw(((u_short)-TX_RING_SIZE));
345 for (i = 0; i < TX_RING_SIZE; i++) {
444 int entry = dirty_tx % TX_RING_SIZE;
480 if (priv->cur_tx - dirty_tx >= TX_RING_SIZE) {
483 dirty_tx += TX_RING_SIZE;
488 dirty_tx > priv->cur_tx - TX_RING_SIZE + 2) {
556 entry = priv->cur_tx % TX_RING_SIZE;
571 if ((priv->cur_tx >= TX_RING_SIZE) && (priv->dirty_tx >= TX_RING_SIZE)) {
574 priv->cur_tx -= TX_RING_SIZE;
575 priv->dirty_tx -= TX_RING_SIZE;
583 if (lowb(priv->tx_ring[(entry+1) % TX_RING_SIZE]->TMD1) != 0) {