Lines Matching defs:bix
193 int bix;
226 for (bix = 0; bix < sc->sc_nrbuf; bix++) {
227 a = sc->sc_addr + LE_RBUFADDR(sc, bix);
233 (*sc->sc_copytodesc)(sc, &rmd, LE_RMDADDR(sc, bix),
240 for (bix = 0; bix < sc->sc_ntbuf; bix++) {
241 a = sc->sc_addr + LE_TBUFADDR(sc, bix);
246 (*sc->sc_copytodesc)(sc, &tmd, LE_TMDADDR(sc, bix),
258 int bix, rp;
263 bix = sc->sc_last_rd;
267 rp = LE_RMDADDR(sc, bix);
301 am79900_recv_print(sc, bix);
304 m = lance_get(sc, LE_RBUFADDR(sc, bix),
314 if (++bix == sc->sc_nrbuf)
315 bix = 0;
341 sc->sc_last_rd = bix;
350 int bix;
352 bix = sc->sc_first_td;
358 (*sc->sc_copyfromdesc)(sc, &tmd, LE_TMDADDR(sc, bix),
413 if (++bix == sc->sc_ntbuf)
414 bix = 0;
419 sc->sc_first_td = bix;
538 int bix, enq, len, rp;
546 bix = sc->sc_last_td;
551 rp = LE_TMDADDR(sc, bix);
574 len = lance_put(sc, LE_TBUFADDR(sc, bix), m);
593 am79900_xmit_print(sc, bix);
599 if (++bix == sc->sc_ntbuf)
600 bix = 0;
608 sc->sc_last_td = bix;