Lines Matching refs:RX_SIZE
1026 if((addr + len) < (RX_BASE + RX_SIZE)) in read_ringbuf()
1029 chunk_len = RX_BASE + RX_SIZE - addr; in read_ringbuf()
1033 ring_ptr = (ring_ptr - RX_BASE + chunk_len) % RX_SIZE + RX_BASE; in read_ringbuf()
2638 rp = (rfp - 5 + RX_SIZE) % RX_SIZE;
2666 if(len > ((wrap - (rfp - len) + RX_SIZE) % RX_SIZE)) /* magic formula ! */
2675 return((rp - len + RX_SIZE) % RX_SIZE);
2746 fd_p = read_ringbuf(dev, (fd_p + 4) % RX_SIZE + RX_BASE,
2816 i593_rfp %= RX_SIZE;
2825 newrfp %= RX_SIZE;
2869 stat_ptr = (rp - 7 + RX_SIZE) % RX_SIZE;
2903 lp->stop = (i593_rfp + RX_SIZE - ((RX_SIZE / 64) * 3)) % RX_SIZE;
3344 lp->stop = (0 + RX_SIZE - ((RX_SIZE / 64) * 3)) % RX_SIZE;
3465 cfblk.rbuf_size = RX_SIZE>>11; /* Set receive buffer size */