Lines Matching defs:bix
191 int bix;
224 for (bix = 0; bix < sc->sc_nrbuf; bix++) {
225 a = sc->sc_addr + LE_RBUFADDR(sc, bix);
231 (*sc->sc_copytodesc)(sc, &rmd, LE_RMDADDR(sc, bix),
238 for (bix = 0; bix < sc->sc_ntbuf; bix++) {
239 a = sc->sc_addr + LE_TBUFADDR(sc, bix);
244 (*sc->sc_copytodesc)(sc, &tmd, LE_TMDADDR(sc, bix),
256 int bix, rp;
261 bix = sc->sc_last_rd;
265 rp = LE_RMDADDR(sc, bix);
299 am79900_recv_print(sc, bix);
302 m = lance_get(sc, LE_RBUFADDR(sc, bix),
312 if (++bix == sc->sc_nrbuf)
313 bix = 0;
339 sc->sc_last_rd = bix;
348 int bix;
350 bix = sc->sc_first_td;
356 (*sc->sc_copyfromdesc)(sc, &tmd, LE_TMDADDR(sc, bix),
411 if (++bix == sc->sc_ntbuf)
412 bix = 0;
417 sc->sc_first_td = bix;
536 int bix, enq, len, rp;
544 bix = sc->sc_last_td;
549 rp = LE_TMDADDR(sc, bix);
572 len = lance_put(sc, LE_TBUFADDR(sc, bix), m);
591 am79900_xmit_print(sc, bix);
597 if (++bix == sc->sc_ntbuf)
598 bix = 0;
606 sc->sc_last_td = bix;