Lines Matching refs:rx_fifo
224 register short rx_fifo;
251 rx_fifo = status & RX_BYTES_MASK;
252 if (rx_fifo==0)
257 printf("[l=%d",rx_fifo);
259 insw(BASE + EP_W1_RX_PIO_RD_1, nic->packet, rx_fifo / 2);
260 if(rx_fifo & 1)
261 nic->packet[rx_fifo-1]=inb(BASE + EP_W1_RX_PIO_RD_1);
262 nic->packetlen=rx_fifo;
269 rx_fifo = status & RX_BYTES_MASK;
270 if(rx_fifo>0) {
271 insw(BASE + EP_W1_RX_PIO_RD_1, nic->packet+nic->packetlen, rx_fifo / 2);
272 if(rx_fifo & 1)
273 nic->packet[nic->packetlen+rx_fifo-1]=inb(BASE + EP_W1_RX_PIO_RD_1);
274 nic->packetlen+=rx_fifo;
276 printf("+%d",rx_fifo);