sys/arch/acorn32/podulebus/asc.c
199
sbic = &sc->sc_softc;
sys/arch/acorn32/podulebus/asc.c
344
sbic_dump(&sc->sc_softc);
sys/arch/acorn32/podulebus/ascvar.h
42
struct sbic_softc sc_softc;
sys/arch/acorn32/podulebus/cosc.c
205
sc->sc_softc.sc_config4 = sc->sc_iobase[COSC_CONFIG_CONTROL_REG4];
sys/arch/acorn32/podulebus/cosc.c
207
sc->sc_softc.sc_esc = (esc_regmap_p)rp;
sys/arch/acorn32/podulebus/cosc.c
210
sc->sc_softc.sc_led = cosc_led;
sys/arch/acorn32/podulebus/cosc.c
211
sc->sc_softc.sc_setup_dma = cosc_setup_dma;
sys/arch/acorn32/podulebus/cosc.c
212
sc->sc_softc.sc_build_dma_chain = cosc_build_dma_chain;
sys/arch/acorn32/podulebus/cosc.c
213
sc->sc_softc.sc_need_bump = cosc_need_bump;
sys/arch/acorn32/podulebus/cosc.c
215
sc->sc_softc.sc_clock_freq = 40; /* Connect32 runs at 40MHz */
sys/arch/acorn32/podulebus/cosc.c
216
sc->sc_softc.sc_timeout = 250; /* Set default timeout to 250ms */
sys/arch/acorn32/podulebus/cosc.c
217
sc->sc_softc.sc_config_flags = ESC_NO_DMA;
sys/arch/acorn32/podulebus/cosc.c
218
sc->sc_softc.sc_host_id = sc->sc_iobase[COSC_CONFIG_CONTROL_REG1] & ESC_DEST_ID_MASK;
sys/arch/acorn32/podulebus/cosc.c
220
printf(" hostid=%d", sc->sc_softc.sc_host_id);
sys/arch/acorn32/podulebus/cosc.c
229
sc->sc_softc.sc_adapter.adapt_flags |= SCSIPI_ADAPT_POLL_ONLY;
sys/arch/acorn32/podulebus/cosc.c
233
sc->sc_softc.sc_bump_sz = PAGE_SIZE;
sys/arch/acorn32/podulebus/cosc.c
234
sc->sc_softc.sc_bump_pa = 0x0;
sys/arch/acorn32/podulebus/cosc.c
236
escinitialize(&sc->sc_softc);
sys/arch/acorn32/podulebus/cosc.c
238
sc->sc_softc.sc_dev = self;
sys/arch/acorn32/podulebus/cosc.c
239
sc->sc_softc.sc_adapter.adapt_dev = sc->sc_softc.sc_dev;
sys/arch/acorn32/podulebus/cosc.c
240
sc->sc_softc.sc_adapter.adapt_nchannels = 1;
sys/arch/acorn32/podulebus/cosc.c
241
sc->sc_softc.sc_adapter.adapt_openings = 7;
sys/arch/acorn32/podulebus/cosc.c
242
sc->sc_softc.sc_adapter.adapt_max_periph = 1;
sys/arch/acorn32/podulebus/cosc.c
243
sc->sc_softc.sc_adapter.adapt_ioctl = NULL;
sys/arch/acorn32/podulebus/cosc.c
244
sc->sc_softc.sc_adapter.adapt_minphys = esc_minphys;
sys/arch/acorn32/podulebus/cosc.c
245
sc->sc_softc.sc_adapter.adapt_request = esc_scsi_request;
sys/arch/acorn32/podulebus/cosc.c
247
sc->sc_softc.sc_channel.chan_adapter = &sc->sc_softc.sc_adapter;
sys/arch/acorn32/podulebus/cosc.c
248
sc->sc_softc.sc_channel.chan_bustype = &scsi_bustype;
sys/arch/acorn32/podulebus/cosc.c
249
sc->sc_softc.sc_channel.chan_channel = 0;
sys/arch/acorn32/podulebus/cosc.c
250
sc->sc_softc.sc_channel.chan_ntargets = 8;
sys/arch/acorn32/podulebus/cosc.c
251
sc->sc_softc.sc_channel.chan_nluns = 8;
sys/arch/acorn32/podulebus/cosc.c
252
sc->sc_softc.sc_channel.chan_id = sc->sc_softc.sc_host_id;
sys/arch/acorn32/podulebus/cosc.c
260
sc->sc_softc.sc_ih.ih_func = cosc_intr;
sys/arch/acorn32/podulebus/cosc.c
261
sc->sc_softc.sc_ih.ih_arg = &sc->sc_softc;
sys/arch/acorn32/podulebus/cosc.c
262
sc->sc_softc.sc_ih.ih_level = IPL_BIO;
sys/arch/acorn32/podulebus/cosc.c
263
sc->sc_softc.sc_ih.ih_name = "scsi: cosc";
sys/arch/acorn32/podulebus/cosc.c
264
sc->sc_softc.sc_ih.ih_maskaddr = sc->sc_podule->irq_addr;
sys/arch/acorn32/podulebus/cosc.c
265
sc->sc_softc.sc_ih.ih_maskbits = sc->sc_podule->irq_mask;
sys/arch/acorn32/podulebus/cosc.c
283
config_found(self, &sc->sc_softc.sc_channel, scsiprint, CFARGS_NONE);
sys/arch/acorn32/podulebus/coscvar.h
42
struct esc_softc sc_softc;
sys/arch/acorn32/podulebus/csc.c
137
sc->sc_softc.sc_dev = self;
sys/arch/acorn32/podulebus/csc.c
138
sc->sc_softc.sc_fas = (sfas_regmap_p)rp;
sys/arch/acorn32/podulebus/csc.c
139
sc->sc_softc.sc_spec = &sc->sc_specific;
sys/arch/acorn32/podulebus/csc.c
141
sc->sc_softc.sc_led = csc_led;
sys/arch/acorn32/podulebus/csc.c
143
sc->sc_softc.sc_setup_dma = csc_setup_dma;
sys/arch/acorn32/podulebus/csc.c
144
sc->sc_softc.sc_build_dma_chain = csc_build_dma_chain;
sys/arch/acorn32/podulebus/csc.c
145
sc->sc_softc.sc_need_bump = csc_need_bump;
sys/arch/acorn32/podulebus/csc.c
147
sc->sc_softc.sc_clock_freq = 8; /* Cumana runs at 8MHz */
sys/arch/acorn32/podulebus/csc.c
148
sc->sc_softc.sc_timeout = 250; /* Set default timeout to 250ms */
sys/arch/acorn32/podulebus/csc.c
149
sc->sc_softc.sc_config_flags = SFAS_NO_DMA /*| SFAS_NF_DEBUG*/;
sys/arch/acorn32/podulebus/csc.c
150
sc->sc_softc.sc_host_id = 7; /* Should check the jumpers */
sys/arch/acorn32/podulebus/csc.c
152
sc->sc_softc.sc_bump_sz = PAGE_SIZE;
sys/arch/acorn32/podulebus/csc.c
153
sc->sc_softc.sc_bump_pa = 0x0;
sys/arch/acorn32/podulebus/csc.c
157
sc->sc_softc.sc_adapter.adapt_dev = self;
sys/arch/acorn32/podulebus/csc.c
158
sc->sc_softc.sc_adapter.adapt_nchannels = 1;
sys/arch/acorn32/podulebus/csc.c
159
sc->sc_softc.sc_adapter.adapt_openings = 7;
sys/arch/acorn32/podulebus/csc.c
160
sc->sc_softc.sc_adapter.adapt_max_periph = 1;
sys/arch/acorn32/podulebus/csc.c
161
sc->sc_softc.sc_adapter.adapt_ioctl = NULL;
sys/arch/acorn32/podulebus/csc.c
162
sc->sc_softc.sc_adapter.adapt_minphys = sfas_minphys;
sys/arch/acorn32/podulebus/csc.c
163
sc->sc_softc.sc_adapter.adapt_request = sfas_scsi_request;
sys/arch/acorn32/podulebus/csc.c
165
sc->sc_softc.sc_channel.chan_adapter = &sc->sc_softc.sc_adapter;
sys/arch/acorn32/podulebus/csc.c
166
sc->sc_softc.sc_channel.chan_bustype = &scsi_bustype;
sys/arch/acorn32/podulebus/csc.c
167
sc->sc_softc.sc_channel.chan_channel = 0;
sys/arch/acorn32/podulebus/csc.c
168
sc->sc_softc.sc_channel.chan_ntargets = 8;
sys/arch/acorn32/podulebus/csc.c
169
sc->sc_softc.sc_channel.chan_nluns = 8;
sys/arch/acorn32/podulebus/csc.c
170
sc->sc_softc.sc_channel.chan_id = sc->sc_softc.sc_host_id;
sys/arch/acorn32/podulebus/csc.c
174
BOOTOPT_TYPE_INT, &sc->sc_softc.sc_channel.chan_id);
sys/arch/acorn32/podulebus/csc.c
176
printf(": host=%d", sc->sc_softc.sc_channel.chan_id);
sys/arch/acorn32/podulebus/csc.c
187
evcnt_attach_dynamic(&sc->sc_softc.sc_intrcnt, EVCNT_TYPE_INTR, NULL,
sys/arch/acorn32/podulebus/csc.c
189
sc->sc_softc.sc_ih = podulebus_irq_establish(pa->pa_ih, IPL_BIO,
sys/arch/acorn32/podulebus/csc.c
190
csc_intr, &sc->sc_softc, &sc->sc_softc.sc_intrcnt);
sys/arch/acorn32/podulebus/csc.c
191
if (sc->sc_softc.sc_ih == NULL)
sys/arch/acorn32/podulebus/csc.c
195
sc->sc_softc.sc_adapter.adapt_flags |= SCSIPI_ADAPT_POLL_ONLY;
sys/arch/acorn32/podulebus/csc.c
200
config_found(self, &sc->sc_softc.sc_channel, scsiprint, CFARGS_NONE);
sys/arch/acorn32/podulebus/cscvar.h
48
struct sfas_softc sc_softc;
sys/arch/acorn32/podulebus/ptsc.c
179
sc->sc_softc.sc_dev = self;
sys/arch/acorn32/podulebus/ptsc.c
180
sc->sc_softc.sc_fas = (sfas_regmap_p)rp;
sys/arch/acorn32/podulebus/ptsc.c
181
sc->sc_softc.sc_spec = &sc->sc_specific;
sys/arch/acorn32/podulebus/ptsc.c
183
sc->sc_softc.sc_led = ptsc_led;
sys/arch/acorn32/podulebus/ptsc.c
185
sc->sc_softc.sc_setup_dma = ptsc_setup_dma;
sys/arch/acorn32/podulebus/ptsc.c
186
sc->sc_softc.sc_build_dma_chain = ptsc_build_dma_chain;
sys/arch/acorn32/podulebus/ptsc.c
187
sc->sc_softc.sc_need_bump = ptsc_need_bump;
sys/arch/acorn32/podulebus/ptsc.c
189
sc->sc_softc.sc_clock_freq = 40; /* Power-Tec runs at 8MHz */
sys/arch/acorn32/podulebus/ptsc.c
190
sc->sc_softc.sc_timeout = 250; /* Set default timeout to 250ms */
sys/arch/acorn32/podulebus/ptsc.c
191
sc->sc_softc.sc_config_flags = SFAS_NO_DMA /*| SFAS_NF_DEBUG*/;
sys/arch/acorn32/podulebus/ptsc.c
192
sc->sc_softc.sc_host_id = 7; /* Should check the jumpers */
sys/arch/acorn32/podulebus/ptsc.c
194
sc->sc_softc.sc_bump_sz = PAGE_SIZE;
sys/arch/acorn32/podulebus/ptsc.c
195
sc->sc_softc.sc_bump_pa = 0x0;
sys/arch/acorn32/podulebus/ptsc.c
199
sc->sc_softc.sc_adapter.adapt_dev = sc->sc_softc.sc_dev;
sys/arch/acorn32/podulebus/ptsc.c
200
sc->sc_softc.sc_adapter.adapt_nchannels = 1;
sys/arch/acorn32/podulebus/ptsc.c
201
sc->sc_softc.sc_adapter.adapt_openings = 7;
sys/arch/acorn32/podulebus/ptsc.c
202
sc->sc_softc.sc_adapter.adapt_max_periph = 1;
sys/arch/acorn32/podulebus/ptsc.c
203
sc->sc_softc.sc_adapter.adapt_ioctl = NULL;
sys/arch/acorn32/podulebus/ptsc.c
204
sc->sc_softc.sc_adapter.adapt_minphys = sfas_minphys;
sys/arch/acorn32/podulebus/ptsc.c
205
sc->sc_softc.sc_adapter.adapt_request = sfas_scsi_request;
sys/arch/acorn32/podulebus/ptsc.c
207
sc->sc_softc.sc_channel.chan_adapter = &sc->sc_softc.sc_adapter;
sys/arch/acorn32/podulebus/ptsc.c
208
sc->sc_softc.sc_channel.chan_bustype = &scsi_bustype;
sys/arch/acorn32/podulebus/ptsc.c
209
sc->sc_softc.sc_channel.chan_channel = 0;
sys/arch/acorn32/podulebus/ptsc.c
210
sc->sc_softc.sc_channel.chan_ntargets = 8;
sys/arch/acorn32/podulebus/ptsc.c
211
sc->sc_softc.sc_channel.chan_nluns = 8;
sys/arch/acorn32/podulebus/ptsc.c
212
sc->sc_softc.sc_channel.chan_id = sc->sc_softc.sc_host_id;
sys/arch/acorn32/podulebus/ptsc.c
216
BOOTOPT_TYPE_INT, &sc->sc_softc.sc_channel.chan_id);
sys/arch/acorn32/podulebus/ptsc.c
218
printf(": host=%d", sc->sc_softc.sc_channel.chan_id);
sys/arch/acorn32/podulebus/ptsc.c
226
evcnt_attach_dynamic(&sc->sc_softc.sc_intrcnt, EVCNT_TYPE_INTR, NULL,
sys/arch/acorn32/podulebus/ptsc.c
228
sc->sc_softc.sc_ih = podulebus_irq_establish(pa->pa_ih, IPL_BIO,
sys/arch/acorn32/podulebus/ptsc.c
229
ptsc_intr, &sc->sc_softc, &sc->sc_softc.sc_intrcnt);
sys/arch/acorn32/podulebus/ptsc.c
230
if (sc->sc_softc.sc_ih == NULL)
sys/arch/acorn32/podulebus/ptsc.c
234
sc->sc_softc.sc_adapter.adapt_flags = SCSIPI_ADAPT_POLL_ONLY;
sys/arch/acorn32/podulebus/ptsc.c
240
config_found(self, &sc->sc_softc.sc_channel, scsiprint, CFARGS_NONE);
sys/arch/acorn32/podulebus/ptscvar.h
47
struct sfas_softc sc_softc;
sys/arch/newsmips/dev/sc_wrap.c
133
cxd1185_init(struct sc_softc *sc)
sys/arch/newsmips/dev/sc_wrap.c
144
free_scb(struct sc_softc *sc, struct sc_scb *scb)
sys/arch/newsmips/dev/sc_wrap.c
163
get_scb(struct sc_softc *sc, int flags)
sys/arch/newsmips/dev/sc_wrap.c
187
struct sc_softc *sc = device_private(chan->chan_adapter->adapt_dev);
sys/arch/newsmips/dev/sc_wrap.c
241
sc_poll(struct sc_softc *sc, int chan, int count)
sys/arch/newsmips/dev/sc_wrap.c
268
sc_sched(struct sc_softc *sc)
sys/arch/newsmips/dev/sc_wrap.c
356
struct sc_softc *sc;
sys/arch/newsmips/dev/sc_wrap.c
39
CFATTACH_DECL_NEW(sc, sizeof(struct sc_softc),
sys/arch/newsmips/dev/sc_wrap.c
42
void cxd1185_init(struct sc_softc *);
sys/arch/newsmips/dev/sc_wrap.c
43
static void free_scb(struct sc_softc *, struct sc_scb *);
sys/arch/newsmips/dev/sc_wrap.c
44
static struct sc_scb *get_scb(struct sc_softc *, int);
sys/arch/newsmips/dev/sc_wrap.c
47
static int sc_poll(struct sc_softc *, int, int);
sys/arch/newsmips/dev/sc_wrap.c
48
static void sc_sched(struct sc_softc *);
sys/arch/newsmips/dev/sc_wrap.c
56
extern int sc_busy(struct sc_softc *, int);
sys/arch/newsmips/dev/sc_wrap.c
75
struct sc_softc *sc = device_private(self);
sys/arch/newsmips/dev/scsi_1185.c
1057
flush_fifo(struct sc_softc *sc)
sys/arch/newsmips/dev/scsi_1185.c
1085
sc_cout(struct sc_softc *sc, struct sc_chan_stat *cs)
sys/arch/newsmips/dev/scsi_1185.c
1172
sc_min(struct sc_softc *sc, struct sc_chan_stat *cs)
sys/arch/newsmips/dev/scsi_1185.c
1327
sc_mout(struct sc_softc *sc, struct sc_chan_stat *cs)
sys/arch/newsmips/dev/scsi_1185.c
141
void scsi_chipreset(struct sc_softc *);
sys/arch/newsmips/dev/scsi_1185.c
142
void scsi_softreset(struct sc_softc *);
sys/arch/newsmips/dev/scsi_1185.c
143
int sc_busy(struct sc_softc *, int);
sys/arch/newsmips/dev/scsi_1185.c
1451
sc_sin(struct sc_softc *sc, volatile struct sc_chan_stat *cs)
sys/arch/newsmips/dev/scsi_1185.c
147
static void SET_CMD(struct sc_softc *, int);
sys/arch/newsmips/dev/scsi_1185.c
1491
sc_dio(struct sc_softc *sc, volatile struct sc_chan_stat *cs)
sys/arch/newsmips/dev/scsi_1185.c
151
static void sc_start(struct sc_softc *);
sys/arch/newsmips/dev/scsi_1185.c
152
static void sc_resel(struct sc_softc *);
sys/arch/newsmips/dev/scsi_1185.c
153
static void sc_discon(struct sc_softc *);
sys/arch/newsmips/dev/scsi_1185.c
154
static void sc_pmatch(struct sc_softc *);
sys/arch/newsmips/dev/scsi_1185.c
155
static void flush_fifo(struct sc_softc *);
sys/arch/newsmips/dev/scsi_1185.c
156
static void sc_cout(struct sc_softc *, struct sc_chan_stat *);
sys/arch/newsmips/dev/scsi_1185.c
157
static void sc_min(struct sc_softc *, struct sc_chan_stat *);
sys/arch/newsmips/dev/scsi_1185.c
158
static void sc_mout(struct sc_softc *, struct sc_chan_stat *);
sys/arch/newsmips/dev/scsi_1185.c
159
static void sc_sin(struct sc_softc *, volatile struct sc_chan_stat *);
sys/arch/newsmips/dev/scsi_1185.c
160
static void sc_dio(struct sc_softc *, volatile struct sc_chan_stat *);
sys/arch/newsmips/dev/scsi_1185.c
161
static void sc_dio_pad(struct sc_softc *, volatile struct sc_chan_stat *);
sys/arch/newsmips/dev/scsi_1185.c
162
static void print_scsi_stat(struct sc_softc *);
sys/arch/newsmips/dev/scsi_1185.c
1622
sc_dio_pad(struct sc_softc *sc, volatile struct sc_chan_stat *cs)
sys/arch/newsmips/dev/scsi_1185.c
163
static void append_wb(struct sc_softc *, struct sc_chan_stat *);
sys/arch/newsmips/dev/scsi_1185.c
164
static struct sc_chan_stat *get_wb_chan(struct sc_softc *);
sys/arch/newsmips/dev/scsi_1185.c
1641
print_scsi_stat(struct sc_softc *sc)
sys/arch/newsmips/dev/scsi_1185.c
165
static int release_wb(struct sc_softc *);
sys/arch/newsmips/dev/scsi_1185.c
1651
sc_busy(struct sc_softc *sc, int chan)
sys/arch/newsmips/dev/scsi_1185.c
166
static void adjust_transfer(struct sc_softc *, struct sc_chan_stat *);
sys/arch/newsmips/dev/scsi_1185.c
1662
append_wb(struct sc_softc *sc, struct sc_chan_stat *cs)
sys/arch/newsmips/dev/scsi_1185.c
1681
get_wb_chan(struct sc_softc *sc)
sys/arch/newsmips/dev/scsi_1185.c
1698
release_wb(struct sc_softc *sc)
sys/arch/newsmips/dev/scsi_1185.c
1721
adjust_transfer(struct sc_softc *sc, struct sc_chan_stat *cs)
sys/arch/newsmips/dev/scsi_1185.c
213
SET_CMD(struct sc_softc *sc, int CMD)
sys/arch/newsmips/dev/scsi_1185.c
266
struct sc_softc *sc = scb->scb_softc;
sys/arch/newsmips/dev/scsi_1185.c
342
sc_start(struct sc_softc *sc)
sys/arch/newsmips/dev/scsi_1185.c
418
struct sc_softc *sc;
sys/arch/newsmips/dev/scsi_1185.c
671
struct sc_softc *sc;
sys/arch/newsmips/dev/scsi_1185.c
708
scsi_chipreset(struct sc_softc *sc)
sys/arch/newsmips/dev/scsi_1185.c
766
scsi_softreset(struct sc_softc *sc)
sys/arch/newsmips/dev/scsi_1185.c
817
sc_resel(struct sc_softc *sc)
sys/arch/newsmips/dev/scsi_1185.c
902
sc_discon(struct sc_softc *sc)
sys/arch/newsmips/dev/scsi_1185.c
983
sc_pmatch(struct sc_softc *sc)
sys/arch/newsmips/dev/scsireg.h
228
struct sc_softc *scb_softc;
sys/dev/bi/kdb.c
195
ma.ma_softc = &sc->sc_softc;
sys/dev/bi/kdb.c
271
mscp_dgo(sc->sc_softc, mxi);
sys/dev/bi/kdb.c
301
mscp_intr(sc->sc_softc);
sys/dev/bi/kdb.c
85
struct mscp_softc *sc_softc; /* MSCP info (per mscpvar.h) */
sys/dev/cardbus/if_ex_cardbus.c
215
struct ex_softc *sc = &csc->sc_softc;
sys/dev/cardbus/if_ex_cardbus.c
303
struct ex_softc *sc = &csc->sc_softc;
sys/dev/cardbus/if_ex_cardbus.c
89
struct ex_softc sc_softc;
sys/dev/ic/cissvar.h
89
struct ciss_softc *sc_softc;
sys/dev/qbus/uda.c
103
struct mscp_softc *sc_softc; /* MSCP info (per mscpvar.h) */
sys/dev/qbus/uda.c
245
ma.ma_softc = &sc->sc_softc;
sys/dev/qbus/uda.c
280
mscp_dgo(sc->sc_softc, mxi);
sys/dev/qbus/uda.c
314
mscp_dgo(sc->sc_softc, mxi);
sys/dev/qbus/uda.c
385
mscp_requeue(sc->sc_softc);
sys/dev/qbus/uda.c
420
mscp_intr(sc->sc_softc);
sys/dev/qbus/uda.c
442
mscp_requeue(sc->sc_softc);