Lines Matching refs:RX_RING_SIZE
81 #define RX_RING_SIZE 16 macro
89 volatile struct RDRE *rx_ring[RX_RING_SIZE];
91 volatile u_short *rx_buff[RX_RING_SIZE];
101 struct RDRE rx_ring[RX_RING_SIZE];
103 u_short rx_buff[RX_RING_SIZE][PKT_BUF_SIZE / sizeof(u_short)];
145 for (i = 0; i < RX_RING_SIZE; i++) { in ariadne_init_ring()
164 int entry = priv->cur_rx % RX_RING_SIZE; in ariadne_rx()
197 for (i = 0; i < RX_RING_SIZE; i++) in ariadne_rx()
198 if (lowb(priv->rx_ring[(entry + i) % RX_RING_SIZE]->RMD1) & RF_OWN) in ariadne_rx()
201 if (i > RX_RING_SIZE - 2) { in ariadne_rx()
227 entry = (++priv->cur_rx) % RX_RING_SIZE; in ariadne_rx()
230 priv->cur_rx = priv->cur_rx % RX_RING_SIZE; in ariadne_rx()
468 lance->RDP = swapw(((u_short)-RX_RING_SIZE)); in ariadne_open()