Home
last modified time | relevance | path

Searched refs:rb_ntbuf (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/sys/dev/sbus/
H A Dqecvar.h58 int rb_ntbuf; /* # of transmit buffers */ member
H A Dqe.c237 sc->sc_rb.rb_ntbuf = QEC_XD_RING_MAXSIZE; in qeattach()
242 sc->sc_rb.rb_ntbuf * QE_PKT_BUF_SZ + in qeattach()
376 bp = sc->sc_rb.rb_txbuf + (idx % sc->sc_rb.rb_ntbuf) * QE_PKT_BUF_SZ; in qe_put()
438 unsigned int ntbuf = sc->sc_rb.rb_ntbuf; in qestart()
H A Dbe.c289 sc->sc_rb.rb_ntbuf = QEC_XD_RING_MAXSIZE; in beattach()
295 sc->sc_rb.rb_ntbuf * BE_PKT_BUF_SZ + in beattach()
465 bp = sc->sc_rb.rb_txbuf + (idx % sc->sc_rb.rb_ntbuf) * BE_PKT_BUF_SZ; in be_put()
582 unsigned int ntbuf = sc->sc_rb.rb_ntbuf; in bestart()
H A Dqec.c311 ntbuf = qr->rb_ntbuf; in qec_meminit()
/netbsd-src/sys/dev/ic/
H A Dhme.c171 sc->sc_rb.rb_ntbuf = _HME_NDESC; in hme_config()
183 sc->sc_rb.rb_ntbuf * _HME_BUFSZ + /* TX buffers */ in hme_config()
402 ntbuf = hr->rb_ntbuf; in hme_meminit()
540 bus_space_write_4(t, etx, HME_ETXI_RSIZE, sc->sc_rb.rb_ntbuf); in hme_init()
668 bp = (char *)sc->sc_rb.rb_txbuf + (ri % sc->sc_rb.rb_ntbuf) * _HME_BUFSZ; in hme_put()
896 unsigned int ntbuf = sc->sc_rb.rb_ntbuf; in hme_start()
1022 if (++ri == sc->sc_rb.rb_ntbuf) in hme_tint()
H A Dhmevar.h45 int rb_ntbuf; /* # of transmit buffers */ member