Lines Matching defs:bix
155 int bix;
185 for (bix = 0; bix < sc->sc_nrbuf; bix++) {
186 a = sc->sc_addr + LE_RBUFADDR(sc, bix);
192 (*sc->sc_copytodesc)(sc, &rmd, LE_RMDADDR(sc, bix),
199 for (bix = 0; bix < sc->sc_ntbuf; bix++) {
200 a = sc->sc_addr + LE_TBUFADDR(sc, bix);
206 (*sc->sc_copytodesc)(sc, &tmd, LE_TMDADDR(sc, bix),
217 int bix, rp;
224 bix = sc->sc_last_rd;
228 rp = LE_RMDADDR(sc, bix);
261 am7990_recv_print(sc, bix);
264 m = lance_get(sc, LE_RBUFADDR(sc, bix),
273 if (++bix == sc->sc_nrbuf)
274 bix = 0;
304 sc->sc_last_rd = bix;
312 int bix;
314 bix = sc->sc_first_td;
320 (*sc->sc_copyfromdesc)(sc, &tmd, LE_TMDADDR(sc, bix),
375 if (++bix == sc->sc_ntbuf)
376 bix = 0;
381 sc->sc_first_td = bix;
500 int bix, enq, len, rp;
508 bix = sc->sc_last_td;
513 rp = LE_TMDADDR(sc, bix);
536 len = lance_put(sc, LE_TBUFADDR(sc, bix), m);
554 am7990_xmit_print(sc, bix);
560 if (++bix == sc->sc_ntbuf)
561 bix = 0;
569 sc->sc_last_td = bix;