Home
last modified time | relevance | path

Searched refs:sc_ntbuf (Results 1 – 4 of 4) sorted by relevance

/haiku/src/add-ons/kernel/drivers/network/ether/pcnet/dev/le/
H A Dlance.c148 sc->sc_ntbuf = 1; in lance_config()
152 sc->sc_ntbuf = 2; in lance_config()
156 sc->sc_ntbuf = 4; in lance_config()
160 sc->sc_ntbuf = 8; in lance_config()
164 sc->sc_ntbuf = 16; in lance_config()
168 sc->sc_ntbuf = 32; in lance_config()
173 sc->sc_ntbuf = nbuf / 5; in lance_config()
174 sc->sc_nrbuf = nbuf - sc->sc_ntbuf; in lance_config()
178 sc->sc_nrbuf, sc->sc_ntbuf); in lance_config()
H A Dam79900.c159 mem += sizeof(struct letmd) * sc->lsc.sc_ntbuf; in am79900_config()
163 mem += LEBLEN * sc->lsc.sc_ntbuf; in am79900_config()
200 init.init_mode |= LE_HTOLE32(((ffs(sc->sc_ntbuf) - 1) << 28) | in am79900_meminit()
238 for (bix = 0; bix < sc->sc_ntbuf; bix++) { in am79900_meminit()
411 if (++bix == sc->sc_ntbuf) in am79900_tint()
557 for (; sc->sc_no_td < sc->sc_ntbuf && in am79900_start_locked()
607 if (++bix == sc->sc_ntbuf) in am79900_start_locked()
610 if (++sc->sc_no_td == sc->sc_ntbuf) { in am79900_start_locked()
H A Dam7990.c121 mem += sizeof(struct letmd) * sc->lsc.sc_ntbuf; in am7990_config()
125 mem += LEBLEN * sc->lsc.sc_ntbuf; in am7990_config()
176 init.init_tlen = (a >> 16) | ((ffs(sc->sc_ntbuf) - 1) << 13); in am7990_meminit()
197 for (bix = 0; bix < sc->sc_ntbuf; bix++) { in am7990_meminit()
373 if (++bix == sc->sc_ntbuf) in am7990_tint()
509 for (; sc->sc_no_td < sc->sc_ntbuf && in am7990_start_locked()
558 if (++bix == sc->sc_ntbuf) in am7990_start_locked()
561 if (++sc->sc_no_td == sc->sc_ntbuf) { in am7990_start_locked()
H A Dlancevar.h93 int sc_ntbuf; /* number of transmit buffers */ member