Home | History | Annotate | Download | only in isa

Lines Matching defs:lsc

135 	struct atppc_softc *lsc = &sc->sc_atppc;
140 lsc->sc_iot = ia->ia_iot;
141 lsc->sc_dmat = ia->ia_dmat;
142 lsc->sc_has = 0;
146 if (bus_space_map(lsc->sc_iot, sc->sc_iobase, IO_LPTSIZE, 0,
147 &lsc->sc_ioh) != 0) {
150 lsc->sc_dev_ok = ATPPC_NOATTACH;
154 lsc->sc_dev = self;
155 lsc->sc_dev_ok = ATPPC_ATTACHED;
167 lsc->sc_ieh = isa_intr_establish(sc->sc_ic, sc->sc_irq,
168 IST_EDGE, IPL_TTY, atppcintr, lsc->sc_dev);
170 lsc->sc_has |= ATPPC_HAS_INTR;
182 && atppc_isadma_setup(lsc, sc->sc_ic, sc->sc_drq) == 0) {
183 lsc->sc_has |= ATPPC_HAS_DMA;
186 lsc->sc_dma_start = atppc_isa_dma_start;
187 lsc->sc_dma_finish = atppc_isa_dma_finish;
188 lsc->sc_dma_abort = atppc_isa_dma_abort;
189 lsc->sc_dma_malloc = atppc_isa_dma_malloc;
190 lsc->sc_dma_free = atppc_isa_dma_free;
194 atppc_sc_attach(lsc);
201 atppc_isa_dma_start(struct atppc_softc *lsc, void *buf, u_int nbytes,
204 struct atppc_isa_softc *sc = (struct atppc_isa_softc *) lsc;
211 atppc_isa_dma_finish(struct atppc_softc *lsc)
213 struct atppc_isa_softc *sc = (struct atppc_isa_softc *) lsc;
220 atppc_isa_dma_abort(struct atppc_softc *lsc)
222 struct atppc_isa_softc *sc = (struct atppc_isa_softc *) lsc;