Lines Matching defs:ncr_sc

117 	struct ncr5380_softc *ncr_sc = &sc->ncr_sc;
122 ncr_sc->sc_dev = self;
167 ncr_sc->sci_r0 = &sc->sc_regs->sci_pr0.sci_reg;
168 ncr_sc->sci_r1 = &sc->sc_regs->sci_pr1.sci_reg;
169 ncr_sc->sci_r2 = &sc->sc_regs->sci_pr2.sci_reg;
170 ncr_sc->sci_r3 = &sc->sc_regs->sci_pr3.sci_reg;
171 ncr_sc->sci_r4 = &sc->sc_regs->sci_pr4.sci_reg;
172 ncr_sc->sci_r5 = &sc->sc_regs->sci_pr5.sci_reg;
173 ncr_sc->sci_r6 = &sc->sc_regs->sci_pr6.sci_reg;
174 ncr_sc->sci_r7 = &sc->sc_regs->sci_pr7.sci_reg;
176 ncr_sc->sc_rev = NCR_VARIANT_NCR5380;
182 ncr_sc->sc_pio_out = sbc_pdma_out;
183 ncr_sc->sc_pio_in = sbc_pdma_in;
185 ncr_sc->sc_pio_out = ncr5380_pio_out;
186 ncr_sc->sc_pio_in = ncr5380_pio_in;
188 ncr_sc->sc_dma_alloc = NULL;
189 ncr_sc->sc_dma_free = NULL;
190 ncr_sc->sc_dma_poll = NULL;
191 ncr_sc->sc_intr_on = NULL;
192 ncr_sc->sc_intr_off = NULL;
193 ncr_sc->sc_dma_setup = NULL;
194 ncr_sc->sc_dma_start = NULL;
195 ncr_sc->sc_dma_eop = NULL;
196 ncr_sc->sc_dma_stop = NULL;
197 ncr_sc->sc_flags = 0;
198 ncr_sc->sc_min_dma_len = MIN_DMA_LEN;
201 ncr_sc->sc_dma_alloc = sbc_dma_alloc;
202 ncr_sc->sc_dma_free = sbc_dma_free;
203 ncr_sc->sc_dma_poll = sbc_dma_poll;
204 ncr_sc->sc_dma_setup = sbc_dma_setup;
205 ncr_sc->sc_dma_start = sbc_dma_start;
206 ncr_sc->sc_dma_eop = sbc_dma_eop;
207 ncr_sc->sc_dma_stop = sbc_dma_stop;
208 via2_register_irq(VIA2_SCSIDRQ, sbc_drq_intr, ncr_sc);
211 via2_register_irq(VIA2_SCSIIRQ, sbc_irq_intr, ncr_sc);
215 ncr_sc->sc_no_disconnect = 0xff;
225 sbc_intr_enable(ncr_sc);
233 ncr_sc->sc_channel.chan_id = 7;
234 ncr_sc->sc_adapter.adapt_minphys = minphys;
239 ncr5380_attach(ncr_sc);
246 sbc_intr_enable(struct ncr5380_softc *ncr_sc)
248 struct sbc_softc *sc = (struct sbc_softc *)ncr_sc;
264 sbc_intr_disable(struct ncr5380_softc *ncr_sc)
266 struct sbc_softc *sc = (struct sbc_softc *)ncr_sc;
282 sbc_obio_clrintr(struct ncr5380_softc *ncr_sc)
284 struct sbc_softc *sc = (struct sbc_softc *)ncr_sc;