Searched refs:nrxbuf (Results 1 - 4 of 4) sorted by relevance

/netbsd-current/sys/arch/sun3/dev/
H A Dif_ievar.h87 int nrxbuf; /* number of recv buffs in use */ member in struct:ie_softc
H A Dif_ie.c302 sc->nrxbuf = 8 * 6;
306 sc->nrxbuf = 16 * 6;
310 sc->nrxbuf = 32 * 6;
317 if (sc->nrxbuf > MXRXBUF)
318 sc->nrxbuf = MXRXBUF;
323 (sc->sc_msize >> 10), sc->ntxbuf, sc->nframes, sc->nrxbuf);
326 if ((sc->nframes <= 0) || (sc->nrxbuf <= 0))
701 head = (head + 1) % sc->nrxbuf;
855 head = (head + 1) % sc->nrxbuf;
944 sc->rbhead = (sc->rbhead + 1) % sc->nrxbuf;
[all...]
/netbsd-current/sys/dev/ic/
H A Di82586var.h222 int rframes; /* Offset to `nrxbuf' frame descriptors */
223 int rbds; /* Offset to `nrxbuf' buffer descriptors */
224 int rbufs; /* Offset to `nrxbuf' receive buffers */
229 int nrxbuf; /* number of recv buffs in use */ member in struct:ie_softc
H A Di82586.c768 if (++rbindex == sc->nrxbuf)
792 if (++rbindex == sc->nrxbuf)
797 rbindex = ((rbindex == 0) ? sc->nrxbuf : rbindex) - 1;
843 for (n = 0; n < sc->nrxbuf; n++) {
972 if (++head == sc->nrxbuf)
1379 sc->nrxbuf = sc->nframes * B_PER_F;
1387 ptr += sc->nrxbuf * IE_RBD_SZ;
1391 ptr += sc->nrxbuf * IE_RBUF_SIZE;
1395 sc->nframes, sc->nrxbuf);
1423 for (n = 0; n < sc->nrxbuf;
[all...]

Completed in 169 milliseconds