sys/arch/acorn32/eb7500atx/rside.c
113
struct ata_channel *sc_chanarray[2]; /* channels definition */
sys/arch/acorn32/eb7500atx/rside.c
116
struct ata_channel rc_channel; /* generic part */
sys/arch/acorn32/eb7500atx/rside.c
166
struct ata_channel *cp;
sys/arch/acorn32/mainbus/wdc_pioc.c
60
struct ata_channel *sc_chanlist[1];
sys/arch/acorn32/mainbus/wdc_pioc.c
61
struct ata_channel sc_channel;
sys/arch/acorn32/podulebus/icside.c
180
struct ata_channel *cp;
sys/arch/acorn32/podulebus/icside.c
85
struct ata_channel *sc_chp[ICSIDE_MAX_CHANNELS];
sys/arch/acorn32/podulebus/icside.c
87
struct ata_channel ic_channel; /* generic part */
sys/arch/acorn32/podulebus/rapide.c
112
struct ata_channel *sc_chanarray[2]; /* channels definition */
sys/arch/acorn32/podulebus/rapide.c
120
struct ata_channel rc_channel; /* generic part */
sys/arch/acorn32/podulebus/rapide.c
197
struct ata_channel *cp;
sys/arch/acorn32/podulebus/simide.c
161
struct ata_channel *cp;
sys/arch/acorn32/podulebus/simide.c
81
struct ata_channel *sc_chanarray[2]; /* channels definition */
sys/arch/acorn32/podulebus/simide.c
90
struct ata_channel sc_channel; /* generic part */
sys/arch/amiga/dev/efa.c
476
efa_setup_channel(struct ata_channel *chp)
sys/arch/amiga/dev/efa.c
80
static void efa_setup_channel(struct ata_channel *chp);
sys/arch/amiga/dev/efavar.h
39
struct ata_channel chan;
sys/arch/amiga/dev/efavar.h
50
struct ata_channel *sc_chanlist[FATA1_CHANNELS];
sys/arch/amiga/dev/wdc_acafh.c
70
struct ata_channel channel;
sys/arch/amiga/dev/wdc_acafh.c
76
struct ata_channel *sc_chanlist[WDC_ACAFH_SLOTS];
sys/arch/amiga/dev/wdc_amiga.c
56
struct ata_channel *sc_chanlist[1];
sys/arch/amiga/dev/wdc_amiga.c
57
struct ata_channel sc_channel;
sys/arch/amiga/dev/wdc_buddha.c
121
struct ata_channel *cp;
sys/arch/amiga/dev/wdc_buddha.c
54
struct ata_channel *wdc_chanarray[BUDDHA_MAX_CHANNELS];
sys/arch/amiga/dev/wdc_buddha.c
55
struct ata_channel channels[BUDDHA_MAX_CHANNELS];
sys/arch/amiga/dev/wdc_xsurf.c
70
struct ata_channel channel;
sys/arch/amiga/dev/wdc_xsurf.c
76
struct ata_channel *sc_chanarray[WDC_XSURF_CHANNELS];
sys/arch/arm/gemini/obio_wdc.c
136
sc->wdc_chanlist[0] = &sc->ata_channel;
sys/arch/arm/gemini/obio_wdc.c
140
sc->ata_channel.ch_channel = 0;
sys/arch/arm/gemini/obio_wdc.c
141
sc->ata_channel.ch_atac = &sc->sc_wdcdev.sc_atac;
sys/arch/arm/gemini/obio_wdc.c
149
wdcintr, &sc->ata_channel);
sys/arch/arm/gemini/obio_wdc.c
155
wdcattach(&sc->ata_channel);
sys/arch/arm/gemini/obio_wdc.c
58
struct ata_channel *wdc_chanlist[1];
sys/arch/arm/gemini/obio_wdc.c
59
struct ata_channel ata_channel;
sys/arch/arm/sunxi/sunxi_sata.c
52
sunxi_sata_channel_start(struct ahci_softc *sc, struct ata_channel *chp)
sys/arch/atari/dev/wdc_mb.c
220
claim_hw(struct ata_channel *chp, int maysleep)
sys/arch/atari/dev/wdc_mb.c
240
free_hw(struct ata_channel *chp)
sys/arch/atari/dev/wdc_mb.c
63
static int claim_hw(struct ata_channel *, int);
sys/arch/atari/dev/wdc_mb.c
64
static void free_hw(struct ata_channel *);
sys/arch/atari/dev/wdc_mb.c
72
struct ata_channel *sc_chanlist[1];
sys/arch/atari/dev/wdc_mb.c
73
struct ata_channel sc_channel;
sys/arch/dreamcast/dev/g1/wdc_g1.c
141
sc->wdc_chanlist[0] = &sc->ata_channel;
sys/arch/dreamcast/dev/g1/wdc_g1.c
146
sc->ata_channel.ch_channel = 0;
sys/arch/dreamcast/dev/g1/wdc_g1.c
147
sc->ata_channel.ch_atac = &sc->sc_wdcdev.sc_atac;
sys/arch/dreamcast/dev/g1/wdc_g1.c
154
wdc_g1_intr, &sc->ata_channel);
sys/arch/dreamcast/dev/g1/wdc_g1.c
156
wdcattach(&sc->ata_channel);
sys/arch/dreamcast/dev/g1/wdc_g1.c
173
wdc_g1_do_reset(struct ata_channel *chp, int poll)
sys/arch/dreamcast/dev/g1/wdc_g1.c
55
struct ata_channel *wdc_chanlist[1];
sys/arch/dreamcast/dev/g1/wdc_g1.c
56
struct ata_channel ata_channel;
sys/arch/dreamcast/dev/g1/wdc_g1.c
64
static void wdc_g1_do_reset(struct ata_channel *, int);
sys/arch/evbarm/iq31244/wdc_obio.c
107
sc->wdc_chanlist[0] = &sc->ata_channel;
sys/arch/evbarm/iq31244/wdc_obio.c
111
sc->ata_channel.ch_channel = 0;
sys/arch/evbarm/iq31244/wdc_obio.c
112
sc->ata_channel.ch_atac = &sc->sc_wdcdev.sc_atac;
sys/arch/evbarm/iq31244/wdc_obio.c
126
wdcintr, &sc->ata_channel);
sys/arch/evbarm/iq31244/wdc_obio.c
132
wdcattach(&sc->ata_channel);
sys/arch/evbarm/iq31244/wdc_obio.c
54
struct ata_channel *wdc_chanlist[1];
sys/arch/evbarm/iq31244/wdc_obio.c
55
struct ata_channel ata_channel;
sys/arch/evbarm/tsarm/wdc_ts.c
105
sc->wdc_chanlist[0] = &sc->ata_channel;
sys/arch/evbarm/tsarm/wdc_ts.c
109
sc->ata_channel.ch_channel = 0;
sys/arch/evbarm/tsarm/wdc_ts.c
110
sc->ata_channel.ch_atac = &sc->sc_wdcdev.sc_atac;
sys/arch/evbarm/tsarm/wdc_ts.c
116
sc->sc_ih = ep93xx_intr_establish(32, IPL_BIO, wdcintr, &sc->ata_channel);
sys/arch/evbarm/tsarm/wdc_ts.c
118
wdcattach(&sc->ata_channel);
sys/arch/evbarm/tsarm/wdc_ts.c
51
struct ata_channel *wdc_chanlist[1];
sys/arch/evbarm/tsarm/wdc_ts.c
52
struct ata_channel ata_channel;
sys/arch/evbmips/alchemy/autoconf.c
135
struct ata_channel *chp = aux;
sys/arch/evbppc/mpc85xx/wdc_obio.c
147
sc->wdc_chanlist[0] = &sc->ata_channel;
sys/arch/evbppc/mpc85xx/wdc_obio.c
151
sc->ata_channel.ch_channel = 0;
sys/arch/evbppc/mpc85xx/wdc_obio.c
152
sc->ata_channel.ch_atac = &sc->sc_wdcdev.sc_atac;
sys/arch/evbppc/mpc85xx/wdc_obio.c
164
wdcintr, &sc->ata_channel);
sys/arch/evbppc/mpc85xx/wdc_obio.c
171
wdcattach(&sc->ata_channel);
sys/arch/evbppc/mpc85xx/wdc_obio.c
54
struct ata_channel *wdc_chanlist[1];
sys/arch/evbppc/mpc85xx/wdc_obio.c
55
struct ata_channel ata_channel;
sys/arch/evbppc/nintendo/dev/ahcisata_ahb.c
67
ret |= ahci_intr_port(&sc->sc_channels[0].ata_channel);
sys/arch/evbppc/nintendo/dev/ahcisata_ahb.c
70
ret |= ahci_intr_port(&sc->sc_channels[1].ata_channel);
sys/arch/i386/pci/gcscide.c
191
gcscide_setup_channel(struct ata_channel *chp)
sys/arch/i386/pci/gcscide.c
90
static void gcscide_setup_channel(struct ata_channel *);
sys/arch/i386/pnpbios/pciide_pnpbios.c
117
sc->wdc_chanarray[0] = &cp->ata_channel;
sys/arch/i386/pnpbios/pciide_pnpbios.c
118
cp->ata_channel.ch_channel = 0;
sys/arch/i386/pnpbios/pciide_pnpbios.c
119
cp->ata_channel.ch_atac = &sc->sc_wdcdev.sc_atac;
sys/arch/i386/pnpbios/pciide_pnpbios.c
151
wdc_cp = &cp->ata_channel;
sys/arch/i386/pnpbios/pciide_pnpbios.c
177
for (drive = 0; drive < cp->ata_channel.ch_ndrives; drive++) {
sys/arch/i386/pnpbios/pciide_pnpbios.c
83
struct ata_channel *wdc_cp;
sys/arch/landisk/dev/wdc_obio.c
50
struct ata_channel *sc_chanlist[1];
sys/arch/landisk/dev/wdc_obio.c
51
struct ata_channel sc_channel;
sys/arch/mac68k/obio/wdc_obio.c
139
struct ata_channel *chp = &sc->sc_channel;
sys/arch/mac68k/obio/wdc_obio.c
69
struct ata_channel *sc_chanlist[1];
sys/arch/mac68k/obio/wdc_obio.c
70
struct ata_channel sc_channel;
sys/arch/mac68k/obio/wdc_obio.c
84
static struct ata_channel *ch_sc;
sys/arch/macppc/dev/kauai.c
109
struct ata_channel *chp = &sc->sc_channel;
sys/arch/macppc/dev/kauai.c
222
kauai_set_modes(struct ata_channel *chp)
sys/arch/macppc/dev/kauai.c
279
struct ata_channel *chp = &sc->sc_channel;
sys/arch/macppc/dev/kauai.c
307
struct ata_channel *chp = &sc->sc_channel;
sys/arch/macppc/dev/kauai.c
62
struct ata_channel *sc_chanptr;
sys/arch/macppc/dev/kauai.c
63
struct ata_channel sc_channel;
sys/arch/macppc/dev/kauai.c
79
static void kauai_set_modes(struct ata_channel *);
sys/arch/macppc/dev/wdc_obio.c
122
struct ata_channel *chp = &sc->sc_channel;
sys/arch/macppc/dev/wdc_obio.c
301
wdc_obio_select(struct ata_channel *chp, int drive)
sys/arch/macppc/dev/wdc_obio.c
311
adjust_timing(struct ata_channel *chp)
sys/arch/macppc/dev/wdc_obio.c
376
ata4_adjust_timing(struct ata_channel *chp)
sys/arch/macppc/dev/wdc_obio.c
67
struct ata_channel *sc_chanptr;
sys/arch/macppc/dev/wdc_obio.c
68
struct ata_channel sc_channel;
sys/arch/macppc/dev/wdc_obio.c
84
static void wdc_obio_select(struct ata_channel *, int);
sys/arch/macppc/dev/wdc_obio.c
85
static void adjust_timing(struct ata_channel *);
sys/arch/macppc/dev/wdc_obio.c
86
static void ata4_adjust_timing(struct ata_channel *);
sys/arch/mips/adm5120/dev/wdc_extio.c
100
struct ata_channel sc_channel;
sys/arch/mips/adm5120/dev/wdc_extio.c
114
void wdc_extio_reset(struct ata_channel *, int);
sys/arch/mips/adm5120/dev/wdc_extio.c
116
wdc_extio_reset(struct ata_channel *chp, int poll)
sys/arch/mips/adm5120/dev/wdc_extio.c
215
wdc_extio_dataout(struct ata_channel *chp, int flags, void *bf, size_t len)
sys/arch/mips/adm5120/dev/wdc_extio.c
224
wdc_extio_datain(struct ata_channel *chp, int flags, void *bf, size_t len)
sys/arch/mips/adm5120/dev/wdc_extio.c
277
struct ata_channel *chp = &sc->sc_channel;
sys/arch/mips/adm5120/dev/wdc_extio.c
99
struct ata_channel *sc_chanlist[1];
sys/arch/mmeye/dev/wdc_mainbus.c
162
sc->wdc_chanlist[0] = &sc->ata_channel;
sys/arch/mmeye/dev/wdc_mainbus.c
166
sc->ata_channel.ch_channel = 0;
sys/arch/mmeye/dev/wdc_mainbus.c
167
sc->ata_channel.ch_atac = &sc->sc_wdcdev.sc_atac;
sys/arch/mmeye/dev/wdc_mainbus.c
174
wdcintr, &sc->ata_channel);
sys/arch/mmeye/dev/wdc_mainbus.c
176
wdcattach(&sc->ata_channel);
sys/arch/mmeye/dev/wdc_mainbus.c
58
struct ata_channel *wdc_chanlist[1];
sys/arch/mmeye/dev/wdc_mainbus.c
59
struct ata_channel ata_channel;
sys/arch/playstation2/dev/wdc_spd.c
190
struct ata_channel *ch = &sc->sc_channel;
sys/arch/playstation2/dev/wdc_spd.c
70
struct ata_channel *sc_chanlist[1];
sys/arch/playstation2/dev/wdc_spd.c
71
struct ata_channel sc_channel;
sys/arch/powerpc/ibm4xx/dev/dwcsata.c
1026
dwcsata_reset(struct ata_channel *chp, int poll)
sys/arch/powerpc/ibm4xx/dev/dwcsata.c
1061
dwcsata_probe(struct ata_channel *chp)
sys/arch/powerpc/ibm4xx/dev/dwcsata.c
124
struct ata_channel *sc_chanlist[1];
sys/arch/powerpc/ibm4xx/dev/dwcsata.c
125
struct ata_channel sc_channel;
sys/arch/powerpc/ibm4xx/dev/dwcsata.c
164
static void dwcsata_probe(struct ata_channel *);
sys/arch/powerpc/ibm4xx/dev/dwcsata.c
165
static void dwcsata_reset(struct ata_channel *, int);
sys/arch/powerpc/ibm4xx/dev/dwcsata.c
798
struct ata_channel *chp = &sc->sc_channel;
sys/arch/powerpc/ibm4xx/dev/dwcsata.c
844
struct ata_channel *chp = &sc->sc_channel;
sys/arch/powerpc/ibm4xx/dev/dwcsata.c
870
struct ata_channel *chp = &sc->sc_channel;
sys/arch/powerpc/mpc5200/mpc5200_ata.c
123
struct ata_channel *chp = &sc->sc_channel;
sys/arch/powerpc/mpc5200/mpc5200_ata.c
265
mpcata_set_modes(struct ata_channel *chp)
sys/arch/powerpc/mpc5200/mpc5200_ata.c
296
mpcata_datain(struct ata_channel *chp, int flags, void *bf, size_t len)
sys/arch/powerpc/mpc5200/mpc5200_ata.c
309
mpcata_dataout(struct ata_channel *chp, int flags, void *bf, size_t len)
sys/arch/powerpc/mpc5200/mpc5200_ata.c
81
static void mpcata_set_modes(struct ata_channel *);
sys/arch/powerpc/mpc5200/mpc5200_ata.c
83
static void mpcata_datain(struct ata_channel *, int, void *, size_t);
sys/arch/powerpc/mpc5200/mpc5200_ata.c
84
static void mpcata_dataout(struct ata_channel *, int, void *, size_t);
sys/arch/powerpc/mpc5200/mpc5200_atavar.h
43
struct ata_channel *sc_chanarray[1];
sys/arch/powerpc/mpc5200/mpc5200_atavar.h
44
struct ata_channel sc_channel;
sys/arch/prep/pnpbus/wdc_pnpbus.c
55
struct ata_channel *sc_chanlist[1];
sys/arch/prep/pnpbus/wdc_pnpbus.c
56
struct ata_channel sc_channel;
sys/dev/ata/ata.c
1035
ata_channel_idle(struct ata_channel *chp)
sys/dev/ata/ata.c
1052
ata_exec_xfer(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ata/ata.c
1120
atastart(struct ata_channel *chp)
sys/dev/ata/ata.c
1271
struct ata_channel *chp = xfer->c_chp;
sys/dev/ata/ata.c
1307
ata_activate_xfer_locked(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ata/ata.c
1333
ata_get_xfer(struct ata_channel *chp, bool waitok)
sys/dev/ata/ata.c
1343
ata_free_xfer(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ata/ata.c
136
static void ata_channel_idle(struct ata_channel *);
sys/dev/ata/ata.c
137
static void ata_activate_xfer_locked(struct ata_channel *, struct ata_xfer *);
sys/dev/ata/ata.c
1379
ata_deactivate_xfer(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ata/ata.c
138
static void ata_channel_freeze_locked(struct ata_channel *);
sys/dev/ata/ata.c
139
static void ata_thread_wake_locked(struct ata_channel *);
sys/dev/ata/ata.c
1417
ata_waitdrain_xfer_check(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ata/ata.c
1446
struct ata_channel *chp = xfer->c_chp;
sys/dev/ata/ata.c
1488
ata_kill_active(struct ata_channel *chp, int reason, int flags)
sys/dev/ata/ata.c
1508
struct ata_channel * const chp = drvp->chnl_softc;
sys/dev/ata/ata.c
1558
ata_channel_freeze_locked(struct ata_channel *chp)
sys/dev/ata/ata.c
1567
ata_channel_freeze(struct ata_channel *chp)
sys/dev/ata/ata.c
1575
ata_channel_thaw_locked(struct ata_channel *chp)
sys/dev/ata/ata.c
1592
ata_thread_run(struct ata_channel *chp, int flags, int type, int arg)
sys/dev/ata/ata.c
167
struct ata_channel *chan = aux;
sys/dev/ata/ata.c
1720
ata_addref(struct ata_channel *chp)
sys/dev/ata/ata.c
1738
ata_delref(struct ata_channel *chp)
sys/dev/ata/ata.c
1752
ata_print_modes(struct ata_channel *chp)
sys/dev/ata/ata.c
1820
struct ata_channel *chp = drvp->chnl_softc;
sys/dev/ata/ata.c
1877
struct ata_channel *chp = drvp->chnl_softc;
sys/dev/ata/ata.c
199
ata_channel_attach(struct ata_channel *chp)
sys/dev/ata/ata.c
218
ata_channel_detach(struct ata_channel *chp)
sys/dev/ata/ata.c
2201
struct ata_channel *chp = sc->sc_chan;
sys/dev/ata/ata.c
2280
struct ata_channel *chp = sc->sc_chan;
sys/dev/ata/ata.c
2291
struct ata_channel *chp = sc->sc_chan;
sys/dev/ata/ata.c
231
struct ata_channel *chp = atabus_sc->sc_chan;
sys/dev/ata/ata.c
2320
struct ata_channel *chp = sc->sc_chan;
sys/dev/ata/ata.c
2357
ata_delay(struct ata_channel *chp, int ms, const char *msg, int flags)
sys/dev/ata/ata.c
2405
ata_wait_cmd(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ata/ata.c
312
struct ata_channel *chp = atabus_sc->sc_chan;
sys/dev/ata/ata.c
441
struct ata_channel *chp = sc->sc_chan;
sys/dev/ata/ata.c
549
ata_is_thread_run(struct ata_channel *chp)
sys/dev/ata/ata.c
557
ata_thread_wake_locked(struct ata_channel *chp)
sys/dev/ata/ata.c
572
struct ata_channel *chp = aux;
sys/dev/ata/ata.c
593
struct ata_channel *chp = aux;
sys/dev/ata/ata.c
635
struct ata_channel *chp = sc->sc_chan;
sys/dev/ata/ata.c
701
struct ata_channel *chp = sc->sc_chan;
sys/dev/ata/ata.c
752
atabus_alloc_drives(struct ata_channel *chp, int ndrives)
sys/dev/ata/ata.c
780
atabus_free_drives(struct ata_channel *chp)
sys/dev/ata/ata.c
818
struct ata_channel *chp = drvp->chnl_softc;
sys/dev/ata/ata.c
921
struct ata_channel *chp = drvp->chnl_softc;
sys/dev/ata/ata.c
959
struct ata_channel *chp = drvp->chnl_softc;
sys/dev/ata/ata_recovery.c
160
ata_recovery_resume(struct ata_channel *chp, int drive, int tfd, int flags)
sys/dev/ata/ata_recovery.c
71
struct ata_channel *chp = drvp->chnl_softc;
sys/dev/ata/ata_subr.c
109
ata_queue_get_active_xfer_locked(struct ata_channel *chp)
sys/dev/ata/ata_subr.c
131
ata_queue_get_active_xfer(struct ata_channel *chp)
sys/dev/ata/ata_subr.c
143
ata_queue_drive_active_xfer(struct ata_channel *chp, int drive)
sys/dev/ata/ata_subr.c
196
ata_channel_init(struct ata_channel *chp)
sys/dev/ata/ata_subr.c
210
ata_channel_destroy(struct ata_channel *chp)
sys/dev/ata/ata_subr.c
229
struct ata_channel *chp = v;
sys/dev/ata/ata_subr.c
267
ata_channel_lock(struct ata_channel *chp)
sys/dev/ata/ata_subr.c
273
ata_channel_unlock(struct ata_channel *chp)
sys/dev/ata/ata_subr.c
279
ata_channel_lock_owned(struct ata_channel *chp)
sys/dev/ata/ata_subr.c
286
atachannel_debug(struct ata_channel *chp)
sys/dev/ata/ata_subr.c
300
ata_queue_alloc_slot(struct ata_channel *chp, uint8_t *c_slot,
sys/dev/ata/ata_subr.c
331
ata_queue_free_slot(struct ata_channel *chp, uint8_t c_slot)
sys/dev/ata/ata_subr.c
344
ata_queue_hold(struct ata_channel *chp)
sys/dev/ata/ata_subr.c
355
ata_queue_unhold(struct ata_channel *chp)
sys/dev/ata/ata_subr.c
369
ata_queue_active(struct ata_channel *chp)
sys/dev/ata/ata_subr.c
380
ata_queue_openings(struct ata_channel *chp)
sys/dev/ata/ata_subr.c
81
ata_queue_hwslot_to_xfer(struct ata_channel *chp, int hwslot)
sys/dev/ata/ata_wdc.c
107
static int wdc_ata_bio_start(struct ata_channel *,struct ata_xfer *);
sys/dev/ata/ata_wdc.c
108
static int _wdc_ata_bio_start(struct ata_channel *,struct ata_xfer *);
sys/dev/ata/ata_wdc.c
109
static int wdc_ata_bio_poll(struct ata_channel *,struct ata_xfer *);
sys/dev/ata/ata_wdc.c
110
static int wdc_ata_bio_intr(struct ata_channel *, struct ata_xfer *,
sys/dev/ata/ata_wdc.c
112
static void wdc_ata_bio_kill_xfer(struct ata_channel *,
sys/dev/ata/ata_wdc.c
114
static void wdc_ata_bio_done(struct ata_channel *, struct ata_xfer *);
sys/dev/ata/ata_wdc.c
149
struct ata_channel *chp = drvp->chnl_softc;
sys/dev/ata/ata_wdc.c
177
wdc_ata_bio_start(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ata/ata_wdc.c
335
_wdc_ata_bio_start(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ata/ata_wdc.c
609
wdc_ata_bio_poll(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ata/ata_wdc.c
624
wdc_ata_bio_intr(struct ata_channel *chp, struct ata_xfer *xfer, int irq)
sys/dev/ata/ata_wdc.c
790
wdc_ata_bio_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer,
sys/dev/ata/ata_wdc.c
823
wdc_ata_bio_done(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ata/ata_wdc.c
881
struct ata_channel *chp = drvp->chnl_softc;
sys/dev/ata/ata_wdc.c
889
struct ata_channel *chp = drvp->chnl_softc;
sys/dev/ata/atavar.h
138
struct ata_channel *c_chp;
sys/dev/ata/atavar.h
176
int (*c_start)(struct ata_channel *, struct ata_xfer *);
sys/dev/ata/atavar.h
181
int (*c_poll)(struct ata_channel *, struct ata_xfer *);
sys/dev/ata/atavar.h
184
void (*c_abort)(struct ata_channel *, struct ata_xfer *);
sys/dev/ata/atavar.h
185
int (*c_intr)(struct ata_channel *, struct ata_xfer *, int);
sys/dev/ata/atavar.h
186
void (*c_kill_xfer)(struct ata_channel *, struct ata_xfer *, int);
sys/dev/ata/atavar.h
247
struct ata_channel *sc_chan;
sys/dev/ata/atavar.h
336
struct ata_channel *chnl_softc; /* channel softc */
sys/dev/ata/atavar.h
365
void (*ata_reset_channel)(struct ata_channel *, int);
sys/dev/ata/atavar.h
378
void (*ata_recovery)(struct ata_channel *, int, uint32_t);
sys/dev/ata/atavar.h
487
struct ata_channel **atac_channels;
sys/dev/ata/atavar.h
502
void (*atac_probe)(struct ata_channel *);
sys/dev/ata/atavar.h
508
int (*atac_claim_hw)(struct ata_channel *, int);
sys/dev/ata/atavar.h
509
void (*atac_free_hw)(struct ata_channel *);
sys/dev/ata/atavar.h
515
void (*atac_set_modes)(struct ata_channel *);
sys/dev/ata/atavar.h
519
void ata_channel_attach(struct ata_channel *);
sys/dev/ata/atavar.h
520
void ata_channel_init(struct ata_channel *);
sys/dev/ata/atavar.h
521
void ata_channel_detach(struct ata_channel *);
sys/dev/ata/atavar.h
522
void ata_channel_destroy(struct ata_channel *);
sys/dev/ata/atavar.h
526
int atabus_alloc_drives(struct ata_channel *, int);
sys/dev/ata/atavar.h
527
void atabus_free_drives(struct ata_channel *);
sys/dev/ata/atavar.h
535
void ata_recovery_resume(struct ata_channel *, int, int, int);
sys/dev/ata/atavar.h
542
struct ata_xfer *ata_get_xfer(struct ata_channel *, bool);
sys/dev/ata/atavar.h
543
void ata_free_xfer(struct ata_channel *, struct ata_xfer *);
sys/dev/ata/atavar.h
544
void ata_deactivate_xfer(struct ata_channel *, struct ata_xfer *);
sys/dev/ata/atavar.h
545
void ata_exec_xfer(struct ata_channel *, struct ata_xfer *);
sys/dev/ata/atavar.h
547
void ata_wait_cmd(struct ata_channel *, struct ata_xfer *xfer);
sys/dev/ata/atavar.h
552
void ata_kill_active(struct ata_channel *, int, int);
sys/dev/ata/atavar.h
553
void ata_thread_run(struct ata_channel *, int, int, int);
sys/dev/ata/atavar.h
554
bool ata_is_thread_run(struct ata_channel *);
sys/dev/ata/atavar.h
555
void ata_channel_freeze(struct ata_channel *);
sys/dev/ata/atavar.h
556
void ata_channel_thaw_locked(struct ata_channel *);
sys/dev/ata/atavar.h
557
void ata_channel_lock(struct ata_channel *);
sys/dev/ata/atavar.h
558
void ata_channel_unlock(struct ata_channel *);
sys/dev/ata/atavar.h
559
void ata_channel_lock_owned(struct ata_channel *);
sys/dev/ata/atavar.h
561
int ata_addref(struct ata_channel *);
sys/dev/ata/atavar.h
562
void ata_delref(struct ata_channel *);
sys/dev/ata/atavar.h
563
void atastart(struct ata_channel *);
sys/dev/ata/atavar.h
564
void ata_print_modes(struct ata_channel *);
sys/dev/ata/atavar.h
574
ata_queue_hwslot_to_xfer(struct ata_channel *, int);
sys/dev/ata/atavar.h
576
ata_queue_get_active_xfer(struct ata_channel *);
sys/dev/ata/atavar.h
578
ata_queue_get_active_xfer_locked(struct ata_channel *);
sys/dev/ata/atavar.h
580
ata_queue_drive_active_xfer(struct ata_channel *, int);
sys/dev/ata/atavar.h
581
bool ata_queue_alloc_slot(struct ata_channel *, uint8_t *, uint8_t);
sys/dev/ata/atavar.h
582
void ata_queue_free_slot(struct ata_channel *, uint8_t);
sys/dev/ata/atavar.h
583
uint32_t ata_queue_active(struct ata_channel *);
sys/dev/ata/atavar.h
584
uint8_t ata_queue_openings(struct ata_channel *);
sys/dev/ata/atavar.h
585
void ata_queue_hold(struct ata_channel *);
sys/dev/ata/atavar.h
586
void ata_queue_unhold(struct ata_channel *);
sys/dev/ata/atavar.h
588
void ata_delay(struct ata_channel *, int, const char *, int);
sys/dev/ata/atavar.h
590
bool ata_waitdrain_xfer_check(struct ata_channel *, struct ata_xfer *);
sys/dev/ata/atavar.h
596
void atachannel_debug(struct ata_channel *);
sys/dev/ata/sata_subr.c
130
sata_interpret_det(struct ata_channel *chp, uint32_t sstatus)
sys/dev/ata/sata_subr.c
161
sata_interpret_sig(struct ata_channel *chp, int port, uint32_t sig)
sys/dev/ata/sata_subr.c
82
sata_reset_interface(struct ata_channel *chp, bus_space_tag_t sata_t,
sys/dev/ata/satafis_subr.c
168
satafis_rdh_parse(struct ata_channel *chp, const uint8_t *fis)
sys/dev/ata/satafisvar.h
37
int satafis_rdh_parse(struct ata_channel *, const uint8_t *);
sys/dev/ata/satapmp_subr.c
105
satapmp_read(struct ata_channel *chp, int port, int reg, uint32_t *value,
sys/dev/ata/satapmp_subr.c
120
satapmp_write_8(struct ata_channel *chp, int port, int reg, uint64_t value,
sys/dev/ata/satapmp_subr.c
173
satapmp_write(struct ata_channel *chp, int port, int reg, uint32_t value,
sys/dev/ata/satapmp_subr.c
184
satapmp_reset_device_port(struct ata_channel *chp, int port,
sys/dev/ata/satapmp_subr.c
239
satapmp_rescan(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ata/satapmp_subr.c
270
satapmp_attach(struct ata_channel *chp)
sys/dev/ata/satapmp_subr.c
51
satapmp_read_8(struct ata_channel *chp, int port, int reg, uint64_t *value,
sys/dev/ata/satapmpvar.h
31
void satapmp_attach(struct ata_channel *);
sys/dev/ata/satavar.h
43
uint32_t sata_reset_interface(struct ata_channel *, bus_space_tag_t,
sys/dev/ata/satavar.h
45
void sata_interpret_det(struct ata_channel *, uint32_t);
sys/dev/ata/satavar.h
46
void sata_interpret_sig(struct ata_channel *, int, uint32_t);
sys/dev/ata/wd.c
1838
struct ata_channel *chp = wd->drvp->chnl_softc;
sys/dev/ata/wd.c
809
struct ata_channel *chp;
sys/dev/fdt/wdc_fdt.c
155
sc->wdc_chanlist[0] = &sc->ata_channel;
sys/dev/fdt/wdc_fdt.c
161
sc->ata_channel.ch_channel = 0;
sys/dev/fdt/wdc_fdt.c
162
sc->ata_channel.ch_atac = &sc->sc_wdcdev.sc_atac;
sys/dev/fdt/wdc_fdt.c
173
0, wdcintr, &sc->ata_channel, device_xname(self));
sys/dev/fdt/wdc_fdt.c
185
wdcattach(&sc->ata_channel);
sys/dev/fdt/wdc_fdt.c
49
struct ata_channel *wdc_chanlist[1];
sys/dev/fdt/wdc_fdt.c
50
struct ata_channel ata_channel;
sys/dev/fdt/wdc_fdt.c
57
void (*set_modes)(struct ata_channel *);
sys/dev/ic/ahcisata_core.c
100
static int ahci_atapi_complete(struct ata_channel *, struct ata_xfer *, int);
sys/dev/ic/ahcisata_core.c
101
static void ahci_atapi_kill_xfer(struct ata_channel *, struct ata_xfer *, int);
sys/dev/ic/ahcisata_core.c
1051
ahci_probe_drive(struct ata_channel *chp)
sys/dev/ic/ahcisata_core.c
1134
ahci_setup_channel(struct ata_channel *chp)
sys/dev/ic/ahcisata_core.c
1150
struct ata_channel *chp = drvp->chnl_softc;
sys/dev/ic/ahcisata_core.c
1170
ahci_cmd_start(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/ahcisata_core.c
1228
ahci_cmd_poll(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/ahcisata_core.c
1269
ahci_cmd_abort(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/ahcisata_core.c
1275
ahci_cmd_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer, int reason)
sys/dev/ic/ahcisata_core.c
1308
ahci_cmd_complete(struct ata_channel *chp, struct ata_xfer *xfer, int tfd)
sys/dev/ic/ahcisata_core.c
1350
ahci_cmd_done(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/ahcisata_core.c
1388
ahci_cmd_done_end(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/ahcisata_core.c
1406
struct ata_channel *chp = drvp->chnl_softc;
sys/dev/ic/ahcisata_core.c
1423
ahci_bio_start(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/ahcisata_core.c
1478
ahci_bio_poll(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/ahcisata_core.c
1511
ahci_bio_abort(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/ahcisata_core.c
1517
ahci_bio_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer, int reason)
sys/dev/ic/ahcisata_core.c
1553
ahci_bio_complete(struct ata_channel *chp, struct ata_xfer *xfer, int tfd)
sys/dev/ic/ahcisata_core.c
1616
ahci_channel_stop(struct ahci_softc *sc, struct ata_channel *chp, int flags)
sys/dev/ic/ahcisata_core.c
1640
ahci_channel_start(struct ahci_softc *sc, struct ata_channel *chp,
sys/dev/ic/ahcisata_core.c
1683
ahci_channel_recover(struct ata_channel *chp, int flags, uint32_t tfd)
sys/dev/ic/ahcisata_core.c
1756
ahci_dma_setup(struct ata_channel *chp, int slot, void *data,
sys/dev/ic/ahcisata_core.c
1801
struct ata_channel *chp = ata_sc->sc_chan;
sys/dev/ic/ahcisata_core.c
1848
struct ata_channel *chp =
sys/dev/ic/ahcisata_core.c
1918
ahci_atapi_start(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/ahcisata_core.c
1976
ahci_atapi_poll(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/ahcisata_core.c
2009
ahci_atapi_abort(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/ahcisata_core.c
2015
ahci_atapi_complete(struct ata_channel *chp, struct ata_xfer *xfer, int tfd)
sys/dev/ic/ahcisata_core.c
2068
ahci_atapi_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer, int reason)
sys/dev/ic/ahcisata_core.c
2109
struct ata_channel *chp = atac->atac_channels[chan->chan_channel];
sys/dev/ic/ahcisata_core.c
212
struct ata_channel *chp;
sys/dev/ic/ahcisata_core.c
223
chp = &achp->ata_channel;
sys/dev/ic/ahcisata_core.c
259
struct ata_channel *chp;
sys/dev/ic/ahcisata_core.c
408
chp = &achp->ata_channel;
sys/dev/ic/ahcisata_core.c
521
struct ata_channel *chp;
sys/dev/ic/ahcisata_core.c
525
chp = &achp->ata_channel;
sys/dev/ic/ahcisata_core.c
540
struct ata_channel *chp;
sys/dev/ic/ahcisata_core.c
550
chp = &achp->ata_channel;
sys/dev/ic/ahcisata_core.c
59
static void ahci_probe_drive(struct ata_channel *);
sys/dev/ic/ahcisata_core.c
60
static void ahci_setup_channel(struct ata_channel *);
sys/dev/ic/ahcisata_core.c
619
ahci_intr_port_common(&sc->sc_channels[bit].ata_channel);
sys/dev/ic/ahcisata_core.c
63
static int ahci_do_reset_drive(struct ata_channel *, int, int, uint32_t *,
sys/dev/ic/ahcisata_core.c
632
struct ata_channel *chp = &achp->ata_channel;
sys/dev/ic/ahcisata_core.c
645
ahci_intr_port_common(struct ata_channel *chp)
sys/dev/ic/ahcisata_core.c
66
static void ahci_reset_channel(struct ata_channel *, int);
sys/dev/ic/ahcisata_core.c
72
static int ahci_cmd_start(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/ahcisata_core.c
73
static int ahci_cmd_complete(struct ata_channel *, struct ata_xfer *, int);
sys/dev/ic/ahcisata_core.c
74
static int ahci_cmd_poll(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/ahcisata_core.c
75
static void ahci_cmd_abort(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/ahcisata_core.c
76
static void ahci_cmd_done(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/ahcisata_core.c
767
struct ata_channel *chp = drvp->chnl_softc;
sys/dev/ic/ahcisata_core.c
77
static void ahci_cmd_done_end(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/ahcisata_core.c
78
static void ahci_cmd_kill_xfer(struct ata_channel *, struct ata_xfer *, int);
sys/dev/ic/ahcisata_core.c
79
static int ahci_bio_start(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/ahcisata_core.c
792
ahci_exec_fis(struct ata_channel *chp, int timeout, int flags, int slot)
sys/dev/ic/ahcisata_core.c
80
static int ahci_bio_poll(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/ahcisata_core.c
81
static void ahci_bio_abort(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/ahcisata_core.c
82
static int ahci_bio_complete(struct ata_channel *, struct ata_xfer *, int);
sys/dev/ic/ahcisata_core.c
83
static void ahci_bio_kill_xfer(struct ata_channel *, struct ata_xfer *, int) ;
sys/dev/ic/ahcisata_core.c
84
static void ahci_channel_stop(struct ahci_softc *, struct ata_channel *, int);
sys/dev/ic/ahcisata_core.c
840
ahci_do_reset_drive(struct ata_channel *chp, int drive, int flags,
sys/dev/ic/ahcisata_core.c
85
static void ahci_channel_start(struct ahci_softc *, struct ata_channel *,
sys/dev/ic/ahcisata_core.c
87
static void ahci_channel_recover(struct ata_channel *, int, uint32_t);
sys/dev/ic/ahcisata_core.c
88
static int ahci_dma_setup(struct ata_channel *, int, void *, size_t, int);
sys/dev/ic/ahcisata_core.c
89
static int ahci_intr_port_common(struct ata_channel *);
sys/dev/ic/ahcisata_core.c
97
static int ahci_atapi_start(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/ahcisata_core.c
98
static int ahci_atapi_poll(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/ahcisata_core.c
99
static void ahci_atapi_abort(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/ahcisata_core.c
993
ahci_reset_channel(struct ata_channel *chp, int flags)
sys/dev/ic/ahcisatavar.h
66
struct ata_channel *sc_chanarray[AHCI_MAX_PORTS];
sys/dev/ic/ahcisatavar.h
68
struct ata_channel ata_channel; /* generic part */
sys/dev/ic/ahcisatavar.h
86
void (*sc_channel_start)(struct ahci_softc *, struct ata_channel *);
sys/dev/ic/ahcisatavar.h
87
void (*sc_channel_stop)(struct ahci_softc *, struct ata_channel *);
sys/dev/ic/mvsata.c
1016
mvsata_bio_start(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/mvsata.c
121
static void mvsata_probe_drive(struct ata_channel *);
sys/dev/ic/mvsata.c
124
static void mvsata_reset_channel(struct ata_channel *, int);
sys/dev/ic/mvsata.c
1245
mvsata_bio_poll(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/mvsata.c
1264
mvsata_bio_intr(struct ata_channel *chp, struct ata_xfer *xfer, int intr_arg)
sys/dev/ic/mvsata.c
1398
mvsata_bio_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer, int reason)
sys/dev/ic/mvsata.c
142
static void mvsata_setup_channel(struct ata_channel *);
sys/dev/ic/mvsata.c
1444
mvsata_bio_done(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/mvsata.c
145
static int mvsata_bio_start(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/mvsata.c
146
static int mvsata_bio_intr(struct ata_channel *, struct ata_xfer *, int);
sys/dev/ic/mvsata.c
147
static int mvsata_bio_poll(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/mvsata.c
148
static void mvsata_bio_kill_xfer(struct ata_channel *, struct ata_xfer *, int);
sys/dev/ic/mvsata.c
1481
struct ata_channel *chp = &mvport->port_ata_channel;
sys/dev/ic/mvsata.c
149
static void mvsata_bio_done(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/mvsata.c
152
static int mvsata_wdc_cmd_start(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/mvsata.c
153
static int mvsata_wdc_cmd_intr(struct ata_channel *, struct ata_xfer *, int);
sys/dev/ic/mvsata.c
154
static int mvsata_wdc_cmd_poll(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/mvsata.c
155
static void mvsata_wdc_cmd_kill_xfer(struct ata_channel *, struct ata_xfer *,
sys/dev/ic/mvsata.c
157
static void mvsata_wdc_cmd_done(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/mvsata.c
158
static void mvsata_wdc_cmd_done_end(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/mvsata.c
1598
struct ata_channel *chp = drvp->chnl_softc;
sys/dev/ic/mvsata.c
160
static int mvsata_atapi_start(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/mvsata.c
161
static int mvsata_atapi_intr(struct ata_channel *, struct ata_xfer *, int);
sys/dev/ic/mvsata.c
162
static int mvsata_atapi_poll(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/mvsata.c
1623
mvsata_wdc_cmd_start(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/mvsata.c
163
static void mvsata_atapi_kill_xfer(struct ata_channel *, struct ata_xfer *,
sys/dev/ic/mvsata.c
165
static void mvsata_atapi_reset(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/mvsata.c
167
static void mvsata_atapi_done(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/mvsata.c
1682
mvsata_wdc_cmd_poll(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/mvsata.c
1694
mvsata_wdc_cmd_intr(struct ata_channel *chp, struct ata_xfer *xfer, int irq)
sys/dev/ic/mvsata.c
1814
mvsata_wdc_cmd_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer,
sys/dev/ic/mvsata.c
1851
mvsata_wdc_cmd_done(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/mvsata.c
186
static void mvsata_channel_recover(struct ata_channel *, int, uint32_t);
sys/dev/ic/mvsata.c
1919
mvsata_wdc_cmd_done_end(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/mvsata.c
1951
struct ata_channel *chp = atac->atac_channels[chan->chan_channel];
sys/dev/ic/mvsata.c
2000
mvsata_atapi_start(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/mvsata.c
2168
mvsata_atapi_poll(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/mvsata.c
2199
mvsata_atapi_intr(struct ata_channel *chp, struct ata_xfer *xfer, int irq)
sys/dev/ic/mvsata.c
2430
mvsata_atapi_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer,
sys/dev/ic/mvsata.c
2465
mvsata_atapi_reset(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/mvsata.c
2494
struct ata_channel *chp = xfer->c_chp;
sys/dev/ic/mvsata.c
2582
mvsata_atapi_done(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/mvsata.c
2615
struct ata_channel *chp = arg;
sys/dev/ic/mvsata.c
2714
struct ata_channel *chp = &mvport->port_ata_channel;
sys/dev/ic/mvsata.c
2858
struct ata_channel *chp = &mvport->port_ata_channel;
sys/dev/ic/mvsata.c
2988
struct ata_channel *chp;
sys/dev/ic/mvsata.c
3346
struct ata_channel *chp = &mvport->port_ata_channel;
sys/dev/ic/mvsata.c
3409
struct ata_channel *chp = &mvport->port_ata_channel;
sys/dev/ic/mvsata.c
447
struct ata_channel *chp = &mvport->port_ata_channel;
sys/dev/ic/mvsata.c
544
struct ata_channel *chp = &mvport->port_ata_channel;
sys/dev/ic/mvsata.c
561
mvsata_channel_recover(struct ata_channel *chp, int flags, uint32_t tfd)
sys/dev/ic/mvsata.c
595
mvsata_probe_drive(struct ata_channel *chp)
sys/dev/ic/mvsata.c
621
struct ata_channel *chp = drvp->chnl_softc;
sys/dev/ic/mvsata.c
652
mvsata_reset_channel(struct ata_channel *chp, int flags)
sys/dev/ic/mvsata.c
718
struct ata_channel *chp = ata_sc->sc_chan;
sys/dev/ic/mvsata.c
768
struct ata_channel *chp = atac->atac_channels[chan->chan_channel];
sys/dev/ic/mvsata.c
868
struct ata_channel *chp =
sys/dev/ic/mvsata.c
883
mvsata_setup_channel(struct ata_channel *chp)
sys/dev/ic/mvsata.c
992
struct ata_channel *chp = drvp->chnl_softc;
sys/dev/ic/mvsatavar.h
128
struct ata_channel *sc_ata_channels[MVSATA_CHANNEL_MAX];
sys/dev/ic/mvsatavar.h
68
struct ata_channel port_ata_channel;
sys/dev/ic/ninjaata32.c
272
njata32_irqack(struct ata_channel *chp)
sys/dev/ic/ninjaata32.c
282
njata32_clearirq(struct ata_channel *chp, int irq)
sys/dev/ic/ninjaata32.c
312
njata32_setup_channel(struct ata_channel *chp)
sys/dev/ic/ninjaata32.c
54
static void njata32_irqack(struct ata_channel *);
sys/dev/ic/ninjaata32.c
55
static void njata32_clearirq(struct ata_channel *, int);
sys/dev/ic/ninjaata32.c
56
static void njata32_setup_channel(struct ata_channel *);
sys/dev/ic/ninjaata32.c
660
struct ata_channel *chp;
sys/dev/ic/ninjaata32var.h
68
struct ata_channel ch_ata_channel; /* generic part */
sys/dev/ic/ninjaata32var.h
71
struct ata_channel *sc_wdc_chanarray[NJATA32_NCHAN];
sys/dev/ic/siisata.c
1010
siisata_cmd_poll(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/siisata.c
1039
siisata_cmd_abort(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/siisata.c
1045
siisata_cmd_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer,
sys/dev/ic/siisata.c
1079
siisata_cmd_complete(struct ata_channel *chp, struct ata_xfer *xfer, int tfd)
sys/dev/ic/siisata.c
1118
siisata_cmd_done(struct ata_channel *chp, struct ata_xfer *xfer, int tfd)
sys/dev/ic/siisata.c
1161
siisata_cmd_done_end(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/siisata.c
1179
struct ata_channel *chp = drvp->chnl_softc;
sys/dev/ic/siisata.c
1196
siisata_bio_start(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/siisata.c
1239
siisata_bio_poll(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/siisata.c
1267
siisata_bio_abort(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/siisata.c
1273
siisata_bio_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer,
sys/dev/ic/siisata.c
1314
siisata_bio_complete(struct ata_channel *chp, struct ata_xfer *xfer, int tfd)
sys/dev/ic/siisata.c
1368
siisata_dma_setup(struct ata_channel *chp, int slot, void *data,
sys/dev/ic/siisata.c
140
void siisata_probe_drive(struct ata_channel *);
sys/dev/ic/siisata.c
141
void siisata_setup_channel(struct ata_channel *);
sys/dev/ic/siisata.c
1420
sc = (struct siisata_softc *)schp->ata_channel.ch_atac;
sys/dev/ic/siisata.c
1424
offset = PRO_CARX(schp->ata_channel.ch_channel, slot);
sys/dev/ic/siisata.c
1437
sc = (struct siisata_softc *)schp->ata_channel.ch_atac;
sys/dev/ic/siisata.c
1443
siisata_reinit_port(struct ata_channel *chp, int drive)
sys/dev/ic/siisata.c
145
void siisata_reset_channel(struct ata_channel *, int);
sys/dev/ic/siisata.c
1490
siisata_device_reset(struct ata_channel *chp)
sys/dev/ic/siisata.c
150
int siisata_cmd_start(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/siisata.c
151
int siisata_cmd_complete(struct ata_channel *, struct ata_xfer *, int);
sys/dev/ic/siisata.c
152
int siisata_cmd_poll(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/siisata.c
1524
struct ata_channel *chp = ata_sc->sc_chan;
sys/dev/ic/siisata.c
153
void siisata_cmd_abort(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/siisata.c
154
void siisata_cmd_done(struct ata_channel *, struct ata_xfer *, int);
sys/dev/ic/siisata.c
155
static void siisata_cmd_done_end(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/siisata.c
156
void siisata_cmd_kill_xfer(struct ata_channel *, struct ata_xfer *, int);
sys/dev/ic/siisata.c
1574
struct ata_channel *chp =
sys/dev/ic/siisata.c
158
int siisata_bio_start(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/siisata.c
1581
siisata_atapi_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer,
sys/dev/ic/siisata.c
159
int siisata_bio_complete(struct ata_channel *, struct ata_xfer *, int);
sys/dev/ic/siisata.c
160
int siisata_bio_poll(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/siisata.c
161
void siisata_bio_abort(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/siisata.c
162
void siisata_bio_kill_xfer(struct ata_channel *, struct ata_xfer *, int);
sys/dev/ic/siisata.c
1626
struct ata_channel *chp = atac->atac_channels[chan->chan_channel];
sys/dev/ic/siisata.c
165
static int siisata_reinit_port(struct ata_channel *, int);
sys/dev/ic/siisata.c
166
static void siisata_device_reset(struct ata_channel *);
sys/dev/ic/siisata.c
169
static int siisata_dma_setup(struct ata_channel *, int, void *, size_t, int);
sys/dev/ic/siisata.c
170
static void siisata_channel_recover(struct ata_channel *, int, uint32_t);
sys/dev/ic/siisata.c
176
int siisata_atapi_start(struct ata_channel *,struct ata_xfer *);
sys/dev/ic/siisata.c
177
int siisata_atapi_complete(struct ata_channel *, struct ata_xfer *, int);
sys/dev/ic/siisata.c
178
int siisata_atapi_poll(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/siisata.c
1785
siisata_atapi_start(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/siisata.c
179
void siisata_atapi_abort(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/siisata.c
180
void siisata_atapi_kill_xfer(struct ata_channel *, struct ata_xfer *, int);
sys/dev/ic/siisata.c
1843
siisata_atapi_poll(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/siisata.c
1870
siisata_atapi_abort(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/siisata.c
1876
siisata_atapi_complete(struct ata_channel *chp, struct ata_xfer *xfer,
sys/dev/ic/siisata.c
244
siisata_disable_port_interrupt(struct ata_channel *chp)
sys/dev/ic/siisata.c
252
siisata_enable_port_interrupt(struct ata_channel *chp)
sys/dev/ic/siisata.c
268
struct ata_channel *chp;
sys/dev/ic/siisata.c
272
chp = (struct ata_channel *)schp;
sys/dev/ic/siisata.c
298
struct ata_channel *chp;
sys/dev/ic/siisata.c
301
chp = (struct ata_channel *)schp;
sys/dev/ic/siisata.c
414
struct ata_channel *chp;
sys/dev/ic/siisata.c
430
struct ata_channel *chp;
sys/dev/ic/siisata.c
481
struct ata_channel *chp = (struct ata_channel *)schp;
sys/dev/ic/siisata.c
511
(struct siisata_softc *)schp->ata_channel.ch_atac;
sys/dev/ic/siisata.c
512
struct ata_channel *chp = &schp->ata_channel;
sys/dev/ic/siisata.c
626
siisata_channel_recover(struct ata_channel *chp, int flags, uint32_t tfd)
sys/dev/ic/siisata.c
630
(struct siisata_softc *)schp->ata_channel.ch_atac;
sys/dev/ic/siisata.c
667
struct ata_channel *chp = drvp->chnl_softc;
sys/dev/ic/siisata.c
750
siisata_reset_channel(struct ata_channel *chp, int flags)
sys/dev/ic/siisata.c
794
siisata_probe_drive(struct ata_channel *chp)
sys/dev/ic/siisata.c
919
siisata_setup_channel(struct ata_channel *chp)
sys/dev/ic/siisata.c
935
struct ata_channel *chp = drvp->chnl_softc;
sys/dev/ic/siisata.c
959
siisata_cmd_start(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/siisatavar.h
87
struct ata_channel *sc_chanarray[SIISATA_MAX_PORTS];
sys/dev/ic/siisatavar.h
89
struct ata_channel ata_channel;
sys/dev/ic/wdc.c
1012
wdc_reset_channel(struct ata_channel *chp, int flags)
sys/dev/ic/wdc.c
1077
wdcreset(struct ata_channel *chp, int poll)
sys/dev/ic/wdc.c
1116
wdc_do_reset(struct ata_channel *chp, int poll)
sys/dev/ic/wdc.c
1149
__wdcwait_reset(struct ata_channel *chp, int drv_mask, int poll)
sys/dev/ic/wdc.c
1256
__wdcwait(struct ata_channel *chp, int mask, int bits, int timeout, int *tfd)
sys/dev/ic/wdc.c
1324
wdcwait(struct ata_channel *chp, int mask, int bits, int timeout, int flags,
sys/dev/ic/wdc.c
1369
wdc_dmawait(struct ata_channel *chp, struct ata_xfer *xfer, int timeout)
sys/dev/ic/wdc.c
1393
struct ata_channel *chp = arg;
sys/dev/ic/wdc.c
1455
struct ata_channel *chp = drvp->chnl_softc;
sys/dev/ic/wdc.c
147
static int wdcprobe1(struct ata_channel *, int);
sys/dev/ic/wdc.c
1478
__wdccommand_start(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/wdc.c
148
static int wdcreset(struct ata_channel *, int);
sys/dev/ic/wdc.c
149
static void __wdcerror(struct ata_channel *, const char *);
sys/dev/ic/wdc.c
150
static int __wdcwait_reset(struct ata_channel *, int, int);
sys/dev/ic/wdc.c
151
static void __wdccommand_done(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/wdc.c
152
static int __wdccommand_poll(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/wdc.c
153
static void __wdccommand_done_end(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/wdc.c
154
static void __wdccommand_kill_xfer(struct ata_channel *,
sys/dev/ic/wdc.c
1542
__wdccommand_poll(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/wdc.c
1549
__wdccommand_intr(struct ata_channel *chp, struct ata_xfer *xfer, int irq)
sys/dev/ic/wdc.c
156
static int __wdccommand_start(struct ata_channel *, struct ata_xfer *);
sys/dev/ic/wdc.c
157
static int __wdccommand_intr(struct ata_channel *, struct ata_xfer *, int);
sys/dev/ic/wdc.c
158
static int __wdcwait(struct ata_channel *, int, int, int, int *);
sys/dev/ic/wdc.c
160
static void wdc_datain_pio(struct ata_channel *, int, void *, size_t);
sys/dev/ic/wdc.c
161
static void wdc_dataout_pio(struct ata_channel *, int, void *, size_t);
sys/dev/ic/wdc.c
1675
__wdccommand_done(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/wdc.c
1764
__wdccommand_done_end(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/ic/wdc.c
1772
__wdccommand_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer,
sys/dev/ic/wdc.c
1805
wdccommand(struct ata_channel *chp, u_int8_t drive, u_int8_t command,
sys/dev/ic/wdc.c
1842
wdccommandext(struct ata_channel *chp, u_int8_t drive, u_int8_t command,
sys/dev/ic/wdc.c
1910
wdccommandshort(struct ata_channel *chp, int drive, int command)
sys/dev/ic/wdc.c
1930
__wdcerror(struct ata_channel *chp, const char *msg)
sys/dev/ic/wdc.c
1947
wdcbit_bucket(struct ata_channel *chp, int size)
sys/dev/ic/wdc.c
1958
wdc_datain_pio(struct ata_channel *chp, int flags, void *bf, size_t len)
sys/dev/ic/wdc.c
205
wdc_sataprobe(struct ata_channel *chp)
sys/dev/ic/wdc.c
2070
wdc_dataout_pio(struct ata_channel *chp, int flags, void *bf, size_t len)
sys/dev/ic/wdc.c
293
wdc_drvprobe(struct ata_channel *chp)
sys/dev/ic/wdc.c
524
void (*do_reset)(struct ata_channel *, int))
sys/dev/ic/wdc.c
527
struct ata_channel *ch;
sys/dev/ic/wdc.c
553
wdcprobe1(struct ata_channel *chp, int poll)
sys/dev/ic/wdc.c
843
wdcattach(struct ata_channel *chp)
sys/dev/ic/wdc.c
876
struct ata_channel *chp;
sys/dev/ic/wdc.c
892
struct ata_channel *chp;
sys/dev/ic/wdc.c
916
struct ata_channel *chp = v;
sys/dev/ic/wdc.c
934
struct ata_channel *chp = arg;
sys/dev/ic/wdc.c
998
struct ata_channel *chp = drvp->chnl_softc;
sys/dev/ic/wdcvar.h
121
void (*select)(struct ata_channel *,int);
sys/dev/ic/wdcvar.h
124
void (*irqack)(struct ata_channel *);
sys/dev/ic/wdcvar.h
127
void (*reset)(struct ata_channel *, int);
sys/dev/ic/wdcvar.h
130
void (*datain_pio)(struct ata_channel *, int, void *, size_t);
sys/dev/ic/wdcvar.h
131
void (*dataout_pio)(struct ata_channel *, int, void *, size_t);
sys/dev/ic/wdcvar.h
150
void (*)(struct ata_channel *, int));
sys/dev/ic/wdcvar.h
151
void wdcattach(struct ata_channel *);
sys/dev/ic/wdcvar.h
156
void wdc_sataprobe(struct ata_channel *);
sys/dev/ic/wdcvar.h
157
void wdc_drvprobe(struct ata_channel *);
sys/dev/ic/wdcvar.h
161
int wdcwait(struct ata_channel *, int, int, int, int, int *);
sys/dev/ic/wdcvar.h
166
void wdcbit_bucket(struct ata_channel *, int);
sys/dev/ic/wdcvar.h
168
int wdc_dmawait(struct ata_channel *, struct ata_xfer *, int);
sys/dev/ic/wdcvar.h
169
void wdccommand(struct ata_channel *, u_int8_t, u_int8_t, u_int16_t,
sys/dev/ic/wdcvar.h
171
void wdccommandext(struct ata_channel *, u_int8_t, u_int8_t, u_int64_t,
sys/dev/ic/wdcvar.h
173
void wdccommandshort(struct ata_channel *, int, int);
sys/dev/ic/wdcvar.h
176
void wdc_reset_channel(struct ata_channel *, int);
sys/dev/ic/wdcvar.h
177
void wdc_do_reset(struct ata_channel *, int);
sys/dev/isa/wdc_isa.c
215
sc->wdc_chanlist[0] = &sc->ata_channel;
sys/dev/isa/wdc_isa.c
219
sc->ata_channel.ch_channel = 0;
sys/dev/isa/wdc_isa.c
220
sc->ata_channel.ch_atac = &sc->sc_wdcdev.sc_atac;
sys/dev/isa/wdc_isa.c
227
IST_EDGE, IPL_BIO, wdcintr, &sc->ata_channel);
sys/dev/isa/wdc_isa.c
229
wdcattach(&sc->ata_channel);
sys/dev/isa/wdc_isa.c
60
struct ata_channel *wdc_chanlist[1];
sys/dev/isa/wdc_isa.c
61
struct ata_channel ata_channel;
sys/dev/isapnp/wdc_isapnp.c
140
ipa->ipa_irq[0].type, IPL_BIO, wdcintr, &sc->ata_channel);
sys/dev/isapnp/wdc_isapnp.c
154
sc->wdc_chanlist[0] = &sc->ata_channel;
sys/dev/isapnp/wdc_isapnp.c
158
sc->ata_channel.ch_channel = 0;
sys/dev/isapnp/wdc_isapnp.c
159
sc->ata_channel.ch_atac = &sc->sc_wdcdev.sc_atac;
sys/dev/isapnp/wdc_isapnp.c
163
wdcattach(&sc->ata_channel);
sys/dev/isapnp/wdc_isapnp.c
55
struct ata_channel *wdc_chanlist[1];
sys/dev/isapnp/wdc_isapnp.c
56
struct ata_channel ata_channel;
sys/dev/ofisa/wdc_ofisa.c
61
struct ata_channel *sc_chanlist[1];
sys/dev/ofisa/wdc_ofisa.c
62
struct ata_channel sc_channel;
sys/dev/pci/acardide.c
181
acard_setup_channel(struct ata_channel *chp)
sys/dev/pci/acardide.c
40
static void acard_setup_channel(struct ata_channel*);
sys/dev/pci/aceride.c
220
cp->ata_channel.ch_flags |= ATACH_DISABLED;
sys/dev/pci/aceride.c
230
acer_do_reset(struct ata_channel *chp, int poll)
sys/dev/pci/aceride.c
253
acer_setup_channel(struct ata_channel *chp)
sys/dev/pci/aceride.c
360
struct ata_channel *wdc_cp;
sys/dev/pci/aceride.c
368
wdc_cp = &cp->ata_channel;
sys/dev/pci/aceride.c
40
static void acer_do_reset(struct ata_channel *, int);
sys/dev/pci/aceride.c
42
static void acer_setup_channel(struct ata_channel*);
sys/dev/pci/artsata.c
124
struct pciide_softc *sc = CHAN_TO_PCIIDE(&cp->ata_channel);
sys/dev/pci/artsata.c
125
struct ata_channel *wdc_cp = &cp->ata_channel;
sys/dev/pci/artsata.c
231
sc->wdc_chanarray[channel] = &cp->ata_channel;
sys/dev/pci/artsata.c
233
cp->ata_channel.ch_channel = channel;
sys/dev/pci/artsata.c
234
cp->ata_channel.ch_atac = &sc->sc_wdcdev.sc_atac;
sys/dev/pci/cmdide.c
152
sc->wdc_chanarray[channel] = &cp->ata_channel;
sys/dev/pci/cmdide.c
154
cp->ata_channel.ch_channel = channel;
sys/dev/pci/cmdide.c
155
cp->ata_channel.ch_atac = &sc->sc_wdcdev.sc_atac;
sys/dev/pci/cmdide.c
180
cp->ata_channel.ch_flags |= ATACH_DISABLED;
sys/dev/pci/cmdide.c
192
cmd064x_claim_hw(struct ata_channel *chp, int maysleep)
sys/dev/pci/cmdide.c
203
cmd064x_free_hw(struct ata_channel *ochp)
sys/dev/pci/cmdide.c
208
struct ata_channel *nchp;
sys/dev/pci/cmdide.c
218
nchp = &sc->pciide_channels[i].ata_channel;
sys/dev/pci/cmdide.c
231
struct ata_channel *wdc_cp;
sys/dev/pci/cmdide.c
240
wdc_cp = &cp->ata_channel;
sys/dev/pci/cmdide.c
391
cmd0643_9_setup_channel(struct ata_channel *chp)
sys/dev/pci/cmdide.c
471
cmd646_9_irqack(struct ata_channel *chp)
sys/dev/pci/cmdide.c
51
static void cmd0643_9_setup_channel(struct ata_channel*);
sys/dev/pci/cmdide.c
54
static int cmd064x_claim_hw(struct ata_channel *, int);
sys/dev/pci/cmdide.c
544
sc->wdc_chanarray[channel] = &cp->ata_channel;
sys/dev/pci/cmdide.c
546
cp->ata_channel.ch_channel = channel;
sys/dev/pci/cmdide.c
547
cp->ata_channel.ch_atac = &sc->sc_wdcdev.sc_atac;
sys/dev/pci/cmdide.c
55
static void cmd064x_free_hw(struct ata_channel *);
sys/dev/pci/cmdide.c
565
cmd680_setup_channel(struct ata_channel *chp)
sys/dev/pci/cmdide.c
57
static void cmd646_9_irqack(struct ata_channel *);
sys/dev/pci/cmdide.c
60
static void cmd680_setup_channel(struct ata_channel*);
sys/dev/pci/cypide.c
147
sc->wdc_chanarray[0] = &cp->ata_channel;
sys/dev/pci/cypide.c
149
cp->ata_channel.ch_channel = 0;
sys/dev/pci/cypide.c
150
cp->ata_channel.ch_atac = &sc->sc_wdcdev.sc_atac;
sys/dev/pci/cypide.c
162
if ((cp->ata_channel.ch_flags & ATACH_DISABLED) == 0)
sys/dev/pci/cypide.c
165
wdcattach(&cp->ata_channel);
sys/dev/pci/cypide.c
169
cy693_setup_channel(struct ata_channel *chp)
sys/dev/pci/cypide.c
42
static void cy693_setup_channel(struct ata_channel*);
sys/dev/pci/geodeide.c
169
geodeide_setup_channel(struct ata_channel *chp)
sys/dev/pci/geodeide.c
49
static void geodeide_setup_channel(struct ata_channel *);
sys/dev/pci/hptide.c
217
cp->ata_channel.ch_flags |= ATACH_DISABLED;
sys/dev/pci/hptide.c
244
if ((cp->ata_channel.ch_flags & ATACH_DISABLED) == 0)
sys/dev/pci/hptide.c
248
wdcattach(&cp->ata_channel);
sys/dev/pci/hptide.c
279
hpt_setup_channel(struct ata_channel *chp)
sys/dev/pci/hptide.c
391
struct ata_channel *wdc_cp;
sys/dev/pci/hptide.c
40
static void hpt_setup_channel(struct ata_channel*);
sys/dev/pci/hptide.c
402
wdc_cp = &cp->ata_channel;
sys/dev/pci/iteide.c
163
ite_setup_channel(struct ata_channel *chp)
sys/dev/pci/iteide.c
46
static void ite_setup_channel(struct ata_channel*);
sys/dev/pci/ixpide.c
175
ixp_setup_channel(struct ata_channel *chp)
sys/dev/pci/ixpide.c
48
static void ixp_setup_channel(struct ata_channel *);
sys/dev/pci/jmide.c
359
cp->ata_channel.ch_flags |= ATACH_DISABLED;
sys/dev/pci/jmide.c
367
jmpata_setup_channel(struct ata_channel *chp)
sys/dev/pci/jmide.c
53
static void jmpata_setup_channel(struct ata_channel*);
sys/dev/pci/nside.c
156
natsemi_setup_channel(struct ata_channel *chp)
sys/dev/pci/nside.c
211
natsemi_irqack(struct ata_channel *chp)
sys/dev/pci/nside.c
229
struct ata_channel *wdc_cp;
sys/dev/pci/nside.c
237
wdc_cp = &cp->ata_channel;
sys/dev/pci/nside.c
41
static void natsemi_setup_channel(struct ata_channel *);
sys/dev/pci/nside.c
43
static void natsemi_irqack(struct ata_channel *);
sys/dev/pci/optiide.c
162
cp->ata_channel.ch_flags |= ATACH_DISABLED;
sys/dev/pci/optiide.c
170
opti_setup_channel(struct ata_channel *chp)
sys/dev/pci/optiide.c
45
static void opti_setup_channel(struct ata_channel*);
sys/dev/pci/pciide_common.c
1046
wdr = CHAN_TO_WDC_REGS(&cp->ata_channel);
sys/dev/pci/pciide_common.c
1051
cp->ata_channel.ch_channel);
sys/dev/pci/pciide_common.c
1052
if (cp->ata_channel.ch_flags & ATACH_DISABLED)
sys/dev/pci/pciide_common.c
1064
wdcattach(&cp->ata_channel);
sys/dev/pci/pciide_common.c
1067
if (!wdcprobe(CHAN_TO_WDC_REGS(&cp->ata_channel))) {
sys/dev/pci/pciide_common.c
1082
if (wdcprobe(CHAN_TO_WDC_REGS(&cp->ata_channel)))
sys/dev/pci/pciide_common.c
1090
cp->ata_channel.ch_flags |= ATACH_DISABLED;
sys/dev/pci/pciide_common.c
1097
cp->ata_channel.ch_channel);
sys/dev/pci/pciide_common.c
1098
wdcattach(&cp->ata_channel);
sys/dev/pci/pciide_common.c
1141
sata_setup_channel(struct ata_channel *chp)
sys/dev/pci/pciide_common.c
1158
KASSERT(cp->ata_channel.ch_ndrives != 0);
sys/dev/pci/pciide_common.c
1159
for (drive = 0; drive < cp->ata_channel.ch_ndrives; drive++) {
sys/dev/pci/pciide_common.c
180
struct ata_channel *wdc_cp;
sys/dev/pci/pciide_common.c
192
wdc_cp = &cp->ata_channel;
sys/dev/pci/pciide_common.c
292
struct pciide_softc *sc = CHAN_TO_PCIIDE(&cp->ata_channel);
sys/dev/pci/pciide_common.c
293
struct ata_channel *wdc_cp = &cp->ata_channel;
sys/dev/pci/pciide_common.c
333
cp->ata_channel.ch_flags |= ATACH_DISABLED;
sys/dev/pci/pciide_common.c
341
struct pciide_softc *sc = CHAN_TO_PCIIDE(&cp->ata_channel);
sys/dev/pci/pciide_common.c
342
struct ata_channel *wdc_cp = &cp->ata_channel;
sys/dev/pci/pciide_common.c
420
cp->ata_channel.ch_flags |= ATACH_DISABLED;
sys/dev/pci/pciide_common.c
545
return (wdcintr(&cp->ata_channel));
sys/dev/pci/pciide_common.c
553
struct ata_channel *wdc_cp;
sys/dev/pci/pciide_common.c
559
wdc_cp = &cp->ata_channel;
sys/dev/pci/pciide_common.c
585
struct pciide_softc *sc = CHAN_TO_PCIIDE(&cp->ata_channel);
sys/dev/pci/pciide_common.c
588
KASSERT(cp->ata_channel.ch_ndrives != 0);
sys/dev/pci/pciide_common.c
590
for (drive = 0; drive < cp->ata_channel.ch_ndrives; drive++) {
sys/dev/pci/pciide_common.c
591
drvp = &cp->ata_channel.ch_drive[drive];
sys/dev/pci/pciide_common.c
604
if (pciide_dma_table_setup(sc, cp->ata_channel.ch_channel,
sys/dev/pci/pciide_common.c
895
pciide_irqack(struct ata_channel *chp)
sys/dev/pci/pciide_common.c
911
sc->wdc_chanarray[channel] = &cp->ata_channel;
sys/dev/pci/pciide_common.c
913
cp->ata_channel.ch_channel = channel;
sys/dev/pci/pciide_common.c
914
cp->ata_channel.ch_atac = &sc->sc_wdcdev.sc_atac;
sys/dev/pci/pciide_common.c
930
struct ata_channel *wdc_cp = &cp->ata_channel;
sys/dev/pci/pciide_common.c
936
if ((cp->ata_channel.ch_flags & ATACH_DISABLED) == 0)
sys/dev/pci/pciide_common.c
949
struct pciide_softc *sc = CHAN_TO_PCIIDE(&cp->ata_channel);
sys/dev/pci/pciide_common.c
960
cp->ata_channel.ch_flags |= ATACH_DISABLED;
sys/dev/pci/pciide_common.c
971
struct pciide_softc *sc = CHAN_TO_PCIIDE(&cp->ata_channel);
sys/dev/pci/pciide_opti_reg.h
109
opti_read_config(struct ata_channel *chp, int reg)
sys/dev/pci/pciide_opti_reg.h
134
opti_write_config(struct ata_channel *chp, int reg, u_int8_t val)
sys/dev/pci/pciidevar.h
133
struct ata_channel *wdc_chanarray[PCIIDE_MAX_CHANNELS];
sys/dev/pci/pciidevar.h
136
struct ata_channel ata_channel; /* generic part */
sys/dev/pci/pciidevar.h
210
void sata_setup_channel(struct ata_channel*);
sys/dev/pci/pciidevar.h
221
void pciide_irqack(struct ata_channel *);
sys/dev/pci/pdcide.c
314
cp->ata_channel.ch_flags |= ATACH_DISABLED;
sys/dev/pci/pdcide.c
327
pdc202xx_setup_channel(struct ata_channel *chp)
sys/dev/pci/pdcide.c
41
static void pdc202xx_setup_channel(struct ata_channel *);
sys/dev/pci/pdcide.c
42
static void pdc20268_setup_channel(struct ata_channel *);
sys/dev/pci/pdcide.c
444
pdc20268_setup_channel(struct ata_channel *chp)
sys/dev/pci/pdcide.c
499
struct ata_channel *wdc_cp;
sys/dev/pci/pdcide.c
507
wdc_cp = &cp->ata_channel;
sys/dev/pci/pdcide.c
529
struct ata_channel *wdc_cp;
sys/dev/pci/pdcide.c
536
wdc_cp = &cp->ata_channel;
sys/dev/pci/pdcide.c
590
struct ata_channel *chp;
sys/dev/pci/pdcsata.c
226
struct ata_channel *wdc_cp;
sys/dev/pci/pdcsata.c
374
sc->wdc_chanarray[channel] = &cp->ata_channel;
sys/dev/pci/pdcsata.c
378
cp->ata_channel.ch_channel = channel;
sys/dev/pci/pdcsata.c
379
cp->ata_channel.ch_atac = &sc->sc_wdcdev.sc_atac;
sys/dev/pci/pdcsata.c
381
wdc_cp = &cp->ata_channel;
sys/dev/pci/pdcsata.c
477
pdc203xx_combo_probe(struct ata_channel *chp)
sys/dev/pci/pdcsata.c
486
pdc203xx_setup_channel(struct ata_channel *chp)
sys/dev/pci/pdcsata.c
511
struct ata_channel *wdc_cp;
sys/dev/pci/pdcsata.c
524
wdc_cp = &cp->ata_channel;
sys/dev/pci/pdcsata.c
551
pdc203xx_irqack(struct ata_channel *chp)
sys/dev/pci/pdcsata.c
558
0) & ~0x00003f9f) | (cp->ata_channel.ch_channel + 1));
sys/dev/pci/pdcsata.c
560
(cp->ata_channel.ch_channel + 1) << 2, 0x00000001);
sys/dev/pci/pdcsata.c
60
static void pdc203xx_setup_channel(struct ata_channel *);
sys/dev/pci/pdcsata.c
61
static void pdc203xx_irqack(struct ata_channel *);
sys/dev/pci/pdcsata.c
613
pdcsata_do_reset(struct ata_channel *chp, int poll)
sys/dev/pci/pdcsata.c
65
static void pdc203xx_combo_probe(struct ata_channel *);
sys/dev/pci/pdcsata.c
67
static void pdcsata_do_reset(struct ata_channel *, int);
sys/dev/pci/piixide.c
41
static void piix_setup_channel(struct ata_channel *);
sys/dev/pci/piixide.c
42
static void piix3_4_setup_channel(struct ata_channel *);
sys/dev/pci/piixide.c
542
cp->ata_channel.ch_flags |= ATACH_DISABLED;
sys/dev/pci/piixide.c
594
piix_setup_channel(struct ata_channel *chp)
sys/dev/pci/piixide.c
600
struct ata_drive_datas *drvp = cp->ata_channel.ch_drive;
sys/dev/pci/piixide.c
700
piix3_4_setup_channel(struct ata_channel *chp)
sys/dev/pci/piixide.c
861
struct ata_channel *chp = drvp->chnl_softc;
sys/dev/pci/rccide.c
182
serverworks_setup_channel(struct ata_channel *chp)
sys/dev/pci/rccide.c
267
struct ata_channel *wdc_cp;
sys/dev/pci/rccide.c
278
wdc_cp = &cp->ata_channel;
sys/dev/pci/rccide.c
296
struct ata_channel *wdc_cp;
sys/dev/pci/rccide.c
302
wdc_cp = &cp->ata_channel;
sys/dev/pci/rccide.c
42
static void serverworks_setup_channel(struct ata_channel *);
sys/dev/pci/rdcide.c
179
cp->ata_channel.ch_flags |= ATACH_DISABLED;
sys/dev/pci/rdcide.c
201
rdcide_setup_channel(struct ata_channel *chp)
sys/dev/pci/rdcide.c
207
struct ata_drive_datas *drvp = cp->ata_channel.ch_drive;
sys/dev/pci/rdcide.c
41
static void rdcide_setup_channel(struct ata_channel *);
sys/dev/pci/satalink.c
268
static void sii3112_drv_probe(struct ata_channel*);
sys/dev/pci/satalink.c
269
static void sii3112_setup_channel(struct ata_channel*);
sys/dev/pci/satalink.c
604
sc->wdc_chanarray[channel] = &cp->ata_channel;
sys/dev/pci/satalink.c
614
cp->ata_channel.ch_channel = channel;
sys/dev/pci/satalink.c
615
cp->ata_channel.ch_atac = &sc->sc_wdcdev.sc_atac;
sys/dev/pci/satalink.c
623
struct ata_channel *wdc_cp = &cp->ata_channel;
sys/dev/pci/satalink.c
667
cp->ata_channel.ch_flags |= ATACH_DISABLED;
sys/dev/pci/satalink.c
795
sii3112_drv_probe(struct ata_channel *chp)
sys/dev/pci/satalink.c
908
sii3112_setup_channel(struct ata_channel *chp)
sys/dev/pci/schide.c
170
sch_setup_channel(struct ata_channel *chp)
sys/dev/pci/schide.c
72
static void sch_setup_channel(struct ata_channel*);
sys/dev/pci/siside.c
332
cp->ata_channel.ch_flags |= ATACH_DISABLED;
sys/dev/pci/siside.c
340
sis96x_setup_channel(struct ata_channel *chp)
sys/dev/pci/siside.c
406
sis_setup_channel(struct ata_channel *chp)
sys/dev/pci/siside.c
42
static void sis_setup_channel(struct ata_channel *);
sys/dev/pci/siside.c
43
static void sis96x_setup_channel(struct ata_channel *);
sys/dev/pci/slide.c
180
cp->ata_channel.ch_flags |= ATACH_DISABLED;
sys/dev/pci/slide.c
188
sl82c105_setup_channel(struct ata_channel *chp)
sys/dev/pci/slide.c
46
static void sl82c105_setup_channel(struct ata_channel*);
sys/dev/pci/stpcide.c
142
stpc_setup_channel(struct ata_channel *chp)
sys/dev/pci/stpcide.c
45
static void stpc_setup_channel(struct ata_channel *);
sys/dev/pci/svwsata.c
246
struct ata_channel *wdc_cp = &cp->ata_channel;
sys/dev/pci/svwsata.c
325
cp->ata_channel.ch_flags |= ATACH_DMA_BEFORE_CMD;
sys/dev/pci/svwsata.c
331
cp->ata_channel.ch_flags |= ATACH_DISABLED;
sys/dev/pci/svwsata.c
339
struct ata_channel *wdc_cp;
sys/dev/pci/svwsata.c
348
wdc_cp = &cp->ata_channel;
sys/dev/pci/toshide.c
166
piccolo_setup_channel(struct ata_channel *chp)
sys/dev/pci/toshide.c
43
static void piccolo_setup_channel(struct ata_channel *);
sys/dev/pci/viaide.c
1065
struct ata_channel *wdc_cp;
sys/dev/pci/viaide.c
1089
wdc_cp = &cp->ata_channel;
sys/dev/pci/viaide.c
1187
sc->wdc_chanarray[channel] = &cp->ata_channel;
sys/dev/pci/viaide.c
1189
cp->ata_channel.ch_channel = channel;
sys/dev/pci/viaide.c
1190
cp->ata_channel.ch_atac = &sc->sc_wdcdev.sc_atac;
sys/dev/pci/viaide.c
1200
struct ata_channel *wdc_cp;
sys/dev/pci/viaide.c
1270
wdc_cp = &cp->ata_channel;
sys/dev/pci/viaide.c
58
static void via_setup_channel(struct ata_channel *);
sys/dev/pci/viaide.c
763
cp->ata_channel.ch_flags |= ATACH_DISABLED;
sys/dev/pci/viaide.c
774
struct ata_channel *wdc_cp;
sys/dev/pci/viaide.c
777
wdc_cp = &cp->ata_channel;
sys/dev/pci/viaide.c
778
sc = CHAN_TO_PCIIDE(&cp->ata_channel);
sys/dev/pci/viaide.c
789
if ((cp->ata_channel.ch_flags & ATACH_DISABLED) == 0)
sys/dev/pci/viaide.c
805
struct ata_channel *wdc_cp;
sys/dev/pci/viaide.c
808
wdc_cp = &cp->ata_channel;
sys/dev/pci/viaide.c
809
sc = CHAN_TO_PCIIDE(&cp->ata_channel);
sys/dev/pci/viaide.c
837
via_setup_channel(struct ata_channel *chp)
sys/dev/pcmcia/wdc_pcmcia.c
164
static void wdc_pcmcia_datain_memory(struct ata_channel *, int, void *,
sys/dev/pcmcia/wdc_pcmcia.c
166
static void wdc_pcmcia_dataout_memory(struct ata_channel *, int, void *,
sys/dev/pcmcia/wdc_pcmcia.c
291
sc->wdc_chanlist[0] = &sc->ata_channel;
sys/dev/pcmcia/wdc_pcmcia.c
294
sc->ata_channel.ch_channel = 0;
sys/dev/pcmcia/wdc_pcmcia.c
295
sc->ata_channel.ch_atac = &sc->sc_wdcdev.sc_atac;
sys/dev/pcmcia/wdc_pcmcia.c
319
wdcattach(&sc->ata_channel);
sys/dev/pcmcia/wdc_pcmcia.c
325
ata_delref(&sc->ata_channel);
sys/dev/pcmcia/wdc_pcmcia.c
376
wdcintr, &sc->ata_channel);
sys/dev/pcmcia/wdc_pcmcia.c
401
wdc_pcmcia_datain_memory(struct ata_channel *chp, int flags, void *buf,
sys/dev/pcmcia/wdc_pcmcia.c
422
wdc_pcmcia_dataout_memory(struct ata_channel *chp, int flags, void *buf,
sys/dev/pcmcia/wdc_pcmcia.c
65
struct ata_channel *wdc_chanlist[1];
sys/dev/pcmcia/wdc_pcmcia.c
66
struct ata_channel ata_channel;
sys/dev/podulebus/dtide.c
54
struct ata_channel *sc_chp[DTIDE_NCHANNELS];/* pointers to sc_chan */
sys/dev/podulebus/dtide.c
55
struct ata_channel sc_chan[DTIDE_NCHANNELS];
sys/dev/podulebus/dtide.c
84
struct ata_channel *ch;
sys/dev/podulebus/hcide.c
53
struct ata_channel *sc_chp[HCIDE_NCHANNELS];/* pointers to sc_chan */
sys/dev/podulebus/hcide.c
54
struct ata_channel sc_chan[HCIDE_NCHANNELS];
sys/dev/podulebus/hcide.c
84
struct ata_channel *ch;
sys/dev/scsipi/atapi_wdc.c
1056
struct ata_channel *chp = xfer->c_chp;
sys/dev/scsipi/atapi_wdc.c
1147
wdc_atapi_done(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/scsipi/atapi_wdc.c
115
struct ata_channel *chp = ata_sc->sc_chan;
sys/dev/scsipi/atapi_wdc.c
1170
wdc_atapi_reset(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/scsipi/atapi_wdc.c
1194
struct ata_channel *chp = arg;
sys/dev/scsipi/atapi_wdc.c
167
struct ata_channel *chp =
sys/dev/scsipi/atapi_wdc.c
174
wdc_atapi_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer, int reason)
sys/dev/scsipi/atapi_wdc.c
210
struct ata_channel *chp = atac->atac_channels[chan->chan_channel];
sys/dev/scsipi/atapi_wdc.c
271
struct ata_channel *chp = atac->atac_channels[chan->chan_channel];
sys/dev/scsipi/atapi_wdc.c
478
wdc_atapi_start(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/scsipi/atapi_wdc.c
700
wdc_atapi_poll(struct ata_channel *chp, struct ata_xfer *xfer)
sys/dev/scsipi/atapi_wdc.c
732
wdc_atapi_intr(struct ata_channel *chp, struct ata_xfer *xfer, int irq)
sys/dev/scsipi/atapi_wdc.c
88
static int wdc_atapi_start(struct ata_channel *,struct ata_xfer *);
sys/dev/scsipi/atapi_wdc.c
89
static int wdc_atapi_intr(struct ata_channel *, struct ata_xfer *, int);
sys/dev/scsipi/atapi_wdc.c
90
static void wdc_atapi_kill_xfer(struct ata_channel *,
sys/dev/scsipi/atapi_wdc.c
93
static int wdc_atapi_poll(struct ata_channel *, struct ata_xfer *);
sys/dev/scsipi/atapi_wdc.c
94
static void wdc_atapi_done(struct ata_channel *, struct ata_xfer *);
sys/dev/scsipi/atapi_wdc.c
95
static void wdc_atapi_reset(struct ata_channel *, struct ata_xfer *);