Home
last modified time | relevance | path

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

/freebsd/sys/dev/le/
H A Dam79900.c154 mem += sizeof(struct letmd) * sc->lsc.sc_ntbuf; in am79900_config()
158 mem += LEBLEN * sc->lsc.sc_ntbuf; in am79900_config()
195 init.init_mode |= LE_HTOLE32(((ffs(sc->sc_ntbuf) - 1) << 28) | in am79900_meminit()
233 for (bix = 0; bix < sc->sc_ntbuf; bix++) { in am79900_meminit()
406 if (++bix == sc->sc_ntbuf) in am79900_tint()
542 for (; sc->sc_no_td < sc->sc_ntbuf && in am79900_start_locked()
592 if (++bix == sc->sc_ntbuf) in am79900_start_locked()
595 if (++sc->sc_no_td == sc->sc_ntbuf) { in am79900_start_locked()
H A Dlance.c143 sc->sc_ntbuf = 1; in lance_config()
147 sc->sc_ntbuf = 2; in lance_config()
151 sc->sc_ntbuf = 4; in lance_config()
155 sc->sc_ntbuf = 8; in lance_config()
159 sc->sc_ntbuf = 16; in lance_config()
163 sc->sc_ntbuf = 32; in lance_config()
168 sc->sc_ntbuf = nbuf / 5; in lance_config()
169 sc->sc_nrbuf = nbuf - sc->sc_ntbuf; in lance_config()
173 sc->sc_nrbuf, sc->sc_ntbuf); in lance_config()
H A Dam7990.c118 mem += sizeof(struct letmd) * sc->lsc.sc_ntbuf; in am7990_config()
122 mem += LEBLEN * sc->lsc.sc_ntbuf; in am7990_config()
173 init.init_tlen = (a >> 16) | ((ffs(sc->sc_ntbuf) - 1) << 13); in am7990_meminit()
194 for (bix = 0; bix < sc->sc_ntbuf; bix++) { in am7990_meminit()
370 if (++bix == sc->sc_ntbuf) in am7990_tint()
506 for (; sc->sc_no_td < sc->sc_ntbuf && in am7990_start_locked()
555 if (++bix == sc->sc_ntbuf) in am7990_start_locked()
558 if (++sc->sc_no_td == sc->sc_ntbuf) { in am7990_start_locked()
H A Dlancevar.h93 int sc_ntbuf; /* number of transmit buffers */ member