Lines Matching defs:lesc
174 struct le_softc *lesc = (struct le_softc *)sc;
178 bus_space_write_2(lesc->sc_iot, lesc->sc_ioh, LER_RAP, port);
179 bus_space_write_2(lesc->sc_iot, lesc->sc_ioh, LER_RDP, val);
186 struct le_softc *lesc = (struct le_softc *)sc;
191 bus_space_write_2(lesc->sc_iot, lesc->sc_ioh, LER_RAP, port);
192 val = bus_space_read_2(lesc->sc_iot, lesc->sc_ioh, LER_RDP);
316 le_intr(struct le_softc *lesc, int sr)
318 struct lance_softc *sc = &lesc->sc_am7990.lsc;
326 add_sicallback((si_farg)lepseudointr, lesc, sc);
333 lepseudointr(struct le_softc *lesc, void *sc)
337 s = splx(lesc->sc_splval);
345 struct le_softc *lesc = device_private(self);
346 struct lance_softc *sc = &lesc->sc_am7990.lsc;
363 lesc->sc_iot = iot;
364 lesc->sc_ioh = ioh;
365 lesc->sc_memt = memt;
366 lesc->sc_memh = memh;
367 lesc->sc_splval = (va->va_irq << 8) | PSL_S; /* XXX */
376 lesc->sc_type = LE_PAM;
381 lesc->sc_type = LE_BVME410;
386 lesc->sc_type = LE_NEW_RIEBL;
389 lesc->sc_type = LE_OLD_RIEBL;
396 switch (lesc->sc_type) {
424 switch (lesc->sc_type) {
453 am7990_config(&lesc->sc_am7990);
455 if ((lesc->sc_type == LE_OLD_RIEBL) || (lesc->sc_type == LE_NEW_RIEBL))
461 if ((lesc->sc_intr = intr_establish(64, USER_VEC, 0,
462 (hw_ifun_t)le_intr, lesc)) == NULL) {
470 switch (lesc->sc_type) {