Lines Matching defs:lmsc
58 struct lm_softc lmsc;
88 sc->lmsc.lm_writereg = lm_isa_writereg;
89 sc->lmsc.lm_readreg = lm_isa_readreg;
90 rv = lm_match(&sc->lmsc);
123 sc->lmsc.sc_dev = self;
124 sc->lmsc.lm_writereg = lm_isa_writereg;
125 sc->lmsc.lm_readreg = lm_isa_readreg;
127 sc->lmsc.sioid = (uint16_t)(uintptr_t)ia->ia_aux;
129 lm_attach(&sc->lmsc);
137 lm_detach(&sc->lmsc);
143 lm_isa_readreg(struct lm_softc *lmsc, int reg)
145 struct lm_isa_softc *sc = (struct lm_isa_softc *)lmsc;
152 lm_isa_writereg(struct lm_softc *lmsc, int reg, uint8_t val)
154 struct lm_isa_softc *sc = (struct lm_isa_softc *)lmsc;