Lines Matching defs:init
151 struct leinit init;
160 init.init_mode = LE_MODE_NORMAL | LE_MODE_PROM;
162 init.init_mode = LE_MODE_NORMAL;
164 init.init_padr[0] = (sc->sc_enaddr[1] << 8) | sc->sc_enaddr[0];
165 init.init_padr[1] = (sc->sc_enaddr[3] << 8) | sc->sc_enaddr[2];
166 init.init_padr[2] = (sc->sc_enaddr[5] << 8) | sc->sc_enaddr[4];
167 lance_setladrf(sc, init.init_ladrf);
173 init.init_rdra = a;
174 init.init_rlen = (a >> 16) | ((ffs(sc->sc_nrbuf) - 1) << 13);
177 init.init_tdra = a;
178 init.init_tlen = (a >> 16) | ((ffs(sc->sc_ntbuf) - 1) << 13);
180 (*sc->sc_copytodesc)(sc, &init, LE_INITADDR(sc), sizeof(init));