Lines Matching defs:ncr_sc
124 struct ncr5380_softc *ncr_sc = &sc->ncr_sc;
133 ncr_sc->sc_no_disconnect =
135 ncr_sc->sc_parity_disable =
138 ncr_sc->sc_flags |= NCR5380_FORCE_POLLING;
144 ncr_sc->sc_dma_alloc = NULL;
147 ncr_sc->sc_min_dma_len = MIN_DMA_LEN;
152 ncr_sc->sci_r0 = ®s->sci.sci_r0;
153 ncr_sc->sci_r1 = ®s->sci.sci_r1;
154 ncr_sc->sci_r2 = ®s->sci.sci_r2;
155 ncr_sc->sci_r3 = ®s->sci.sci_r3;
156 ncr_sc->sci_r4 = ®s->sci.sci_r4;
157 ncr_sc->sci_r5 = ®s->sci.sci_r5;
158 ncr_sc->sci_r6 = ®s->sci.sci_r6;
159 ncr_sc->sci_r7 = ®s->sci.sci_r7;
161 ncr_sc->sc_rev = NCR_VARIANT_NCR5380;
171 ncr_sc->sc_channel.chan_id = 7;
172 ncr_sc->sc_adapter.adapt_minphys = si_minphys;
177 ncr5380_attach(ncr_sc);
224 if (sc->ncr_sc.sc_state & NCR_DOINGDMA)
225 sc->ncr_sc.sc_state |= NCR_ABORTING;
231 claimed = ncr5380_intr(&sc->ncr_sc);
257 si_dma_alloc(struct ncr5380_softc *ncr_sc)
259 struct si_softc *sc = (struct si_softc *)ncr_sc;
260 struct sci_req *sr = ncr_sc->sc_current;
271 addr = ncr_sc->sc_dataptr;
272 xlen = ncr_sc->sc_datalen;
293 ncr_sc->sc_datalen = xlen = MAX_DMA_LEN;
310 panic("%s: can't load dmamap", device_xname(ncr_sc->sc_dev));
342 si_dma_free(struct ncr5380_softc *ncr_sc)
344 struct si_softc *sc = (struct si_softc *)ncr_sc;
345 struct sci_req *sr = ncr_sc->sc_current;
353 if (ncr_sc->sc_state & NCR_DOINGDMA)
379 si_dma_poll(struct ncr5380_softc *ncr_sc)
381 struct si_softc *sc = (struct si_softc *)ncr_sc;
382 struct sci_req *sr = ncr_sc->sc_current;
387 if (ncr_sc->sc_state & NCR_ABORTING)