channel_softc
gcsc_setup_channel(struct channel_softc *chp)
void gcsc_setup_channel(struct channel_softc *);
struct channel_softc *chp = &sc->sc_channel;
wdc_obio_read_reg(struct channel_softc *chp, enum wdc_regs reg)
wdc_obio_write_reg(struct channel_softc *chp, enum wdc_regs reg, u_int8_t val)
struct channel_softc *sc_chanptr;
struct channel_softc sc_channel;
u_int8_t wdc_obio_read_reg(struct channel_softc *chp, enum wdc_regs reg);
void wdc_obio_write_reg(struct channel_softc *chp, enum wdc_regs reg,
void wdc_obio_adjust_timing(struct channel_softc *);
void wdc_obio_ata4_adjust_timing(struct channel_softc *);
void wdc_obio_ata6_adjust_timing(struct channel_softc *);
struct channel_softc *chp = &sc->wdc_channel;
struct channel_softc *chp = &sc->wdc_channel;
wdc_obio_adjust_timing(struct channel_softc *chp)
wdc_obio_ata4_adjust_timing(struct channel_softc *chp)
wdc_obio_ata6_adjust_timing(struct channel_softc *chp)
wdc_obio_read_reg(struct channel_softc *chp, enum wdc_regs reg)
wdc_obio_write_reg(struct channel_softc *chp, enum wdc_regs reg, u_int8_t val)
struct channel_softc *wdc_chanptr;
struct channel_softc wdc_channel;
u_int8_t wdc_obio_read_reg(struct channel_softc *, enum wdc_regs);
void wdc_obio_write_reg(struct channel_softc *, enum wdc_regs, u_int8_t);
void wdcattach(struct channel_softc *);
int wdcdetach(struct channel_softc *, int);
int wdc_ata_bio_intr(struct channel_softc *, struct wdc_xfer *, int);
void wdc_ata_bio_kill_xfer(struct channel_softc *, struct wdc_xfer *);
void wdc_ata_bio_done(struct channel_softc *, struct wdc_xfer *);
int wdc_ata_ctrl_intr(struct channel_softc *, struct wdc_xfer *, int);
struct channel_softc chp;
struct channel_softc *chp = &my->chp;
struct channel_softc *chp = drvp->chnl_softc;
wdc_ata_bio_start(struct channel_softc *chp, struct wdc_xfer *xfer)
_wdc_ata_bio_start(struct channel_softc *chp, struct wdc_xfer *xfer)
wdc_ata_bio_intr(struct channel_softc *chp, struct wdc_xfer *xfer, int irq)
wdc_ata_bio_kill_xfer(struct channel_softc *chp, struct wdc_xfer *xfer)
wdc_ata_bio_done(struct channel_softc *chp, struct wdc_xfer *xfer)
wdc_ata_ctrl_intr(struct channel_softc *chp, struct wdc_xfer *xfer, int irq)
struct channel_softc *chp = drvp->chnl_softc;
void wdc_ata_bio_start(struct channel_softc *, struct wdc_xfer *);
void _wdc_ata_bio_start(struct channel_softc *, struct wdc_xfer *);
struct channel_softc *chnl;
chnl = (struct channel_softc *)(wd->drvp->chnl_softc);
struct channel_softc *chnl;
chnl = (struct channel_softc *)(wd->drvp->chnl_softc);
void wdc_atapi_real_start(struct channel_softc *, struct wdc_xfer *,
void wdc_atapi_real_start_2(struct channel_softc *, struct wdc_xfer *,
wdc_atapi_intr_complete(struct channel_softc *chp, struct wdc_xfer *xfer,
void wdc_atapi_intr_command(struct channel_softc *, struct wdc_xfer *,
void wdc_atapi_intr_data(struct channel_softc *, struct wdc_xfer *,
void wdc_atapi_intr_complete(struct channel_softc *, struct wdc_xfer *,
void wdc_atapi_pio_intr(struct channel_softc *, struct wdc_xfer *,
void wdc_atapi_send_packet(struct channel_softc *, struct wdc_xfer *,
void wdc_atapi_ctrl(struct channel_softc *, struct wdc_xfer *,
wdc_atapi_pio_intr(struct channel_softc *chp, struct wdc_xfer *xfer,
int wdc_atapi_intr(struct channel_softc *, struct wdc_xfer *, int);
void wdc_atapi_done(struct channel_softc *, struct wdc_xfer *,
void wdc_atapi_reset(struct channel_softc *, struct wdc_xfer *,
void wdc_atapi_reset_2(struct channel_softc *, struct wdc_xfer *,
wdc_atapi_ctrl(struct channel_softc *chp, struct wdc_xfer *xfer,
void wdc_atapi_tape_done(struct channel_softc *, struct wdc_xfer *,
struct channel_softc *chp;
wdc_atapi_tape_done(struct channel_softc *chp, struct wdc_xfer *xfer,
wdc_atapi_done(struct channel_softc *chp, struct wdc_xfer *xfer,
wdc_atapi_reset(struct channel_softc *chp, struct wdc_xfer *xfer,
wdc_atapi_reset_2(struct channel_softc *chp, struct wdc_xfer *xfer,
struct channel_softc *chp = drvp->chnl_softc;
struct channel_softc *chp = as->chp;
struct channel_softc *chp = as->chp;
struct channel_softc *chp = as->chp;
int wdc_atapi_drive_selected(struct channel_softc *, int);
wdc_atapi_drive_selected(struct channel_softc *chp, int drive)
void wdc_atapi_the_machine(struct channel_softc *, struct wdc_xfer *,
void wdc_atapi_the_poll_machine(struct channel_softc *, struct wdc_xfer *);
wdc_atapi_start(struct channel_softc *chp, struct wdc_xfer *xfer)
struct channel_softc *chp = arg;
wdc_atapi_intr(struct channel_softc *chp, struct wdc_xfer *xfer, int irq)
wdc_atapi_the_poll_machine(struct channel_softc *chp, struct wdc_xfer *xfer)
wdc_atapi_the_machine(struct channel_softc *chp, struct wdc_xfer *xfer,
void wdc_atapi_update_status(struct channel_softc *);
wdc_atapi_update_status(struct channel_softc *chp)
wdc_atapi_real_start(struct channel_softc *chp, struct wdc_xfer *xfer,
wdc_atapi_real_start_2(struct channel_softc *chp, struct wdc_xfer *xfer,
wdc_atapi_send_packet(struct channel_softc *chp, struct wdc_xfer *xfer,
wdc_atapi_intr_command(struct channel_softc *chp, struct wdc_xfer *xfer,
wdc_atapi_intr_data(struct channel_softc *chp, struct wdc_xfer *xfer,
void wdc_atapi_start(struct channel_softc *,struct wdc_xfer *);
wdc_do_reset(struct channel_softc *chp)
__wdcwait_reset(struct channel_softc *chp, int drv_mask)
wdc_wait_for_status(struct channel_softc *chp, int mask, int bits, int timeout)
wdc_dmawait(struct channel_softc *chp, struct wdc_xfer *xfer, int timeout)
struct channel_softc *chp = (struct channel_softc *)arg;
struct channel_softc *chp = drvp->chnl_softc;
int wdc_floating_bus(struct channel_softc *, int);
int wdc_preata_drive(struct channel_softc *, int);
int wdc_ata_present(struct channel_softc *, int);
struct channel_softc *chp = drvp->chnl_softc;
struct channel_softc *chp = drvp->chnl_softc;
wdc_log(struct channel_softc *chp, enum wdcevent_type type,
wdc_print_current_modes(struct channel_softc *chp)
struct channel_softc *chp = drvp->chnl_softc;
struct channel_softc *chp = drvp->chnl_softc;
__wdccommand_start(struct channel_softc *chp, struct wdc_xfer *xfer)
__wdccommand_intr(struct channel_softc *chp, struct wdc_xfer *xfer, int irq)
__wdccommand_done(struct channel_softc *chp, struct wdc_xfer *xfer)
wdccommand(struct channel_softc *chp, u_int8_t drive, u_int8_t command,
wdccommandext(struct channel_softc *chp, u_int8_t drive, u_int8_t command,
wdccommandshort(struct channel_softc *chp, int drive, int command)
wdc_exec_xfer(struct channel_softc *chp, struct wdc_xfer *xfer)
wdc_free_xfer(struct channel_softc *chp, struct wdc_xfer *xfer)
wdc_kill_pending(struct channel_softc *chp)
__wdcerror(struct channel_softc *chp, char *msg)
wdcbit_bucket(struct channel_softc *chp, int size)
wdc_default_read_reg(struct channel_softc *chp, enum wdc_regs reg)
wdc_default_write_reg(struct channel_softc *chp, enum wdc_regs reg, u_int8_t val)
wdc_default_lba48_write_reg(struct channel_softc *chp, enum wdc_regs reg,
wdc_default_read_raw_multi_2(struct channel_softc *chp, void *data,
wdc_default_write_raw_multi_2(struct channel_softc *chp, void *data,
wdc_default_write_raw_multi_4(struct channel_softc *chp, void *data,
wdc_default_read_raw_multi_4(struct channel_softc *chp, void *data,
wdc_disable_intr(struct channel_softc *chp)
wdc_enable_intr(struct channel_softc *chp)
wdc_set_drive(struct channel_softc *chp, int drive)
wdc_floating_bus(struct channel_softc *chp, int drive)
wdc_preata_drive(struct channel_softc *chp, int drive)
wdc_ata_present(struct channel_softc *chp, int drive)
wdcprobe(struct channel_softc *chp)
wdcattach(struct channel_softc *chp)
wdcstart(struct channel_softc *chp)
wdcdetach(struct channel_softc *chp, int flags)
void __wdcerror(struct channel_softc *, char *);
int __wdcwait_reset(struct channel_softc *, int);
struct channel_softc *chp = arg;
void __wdccommand_done(struct channel_softc *, struct wdc_xfer *);
void __wdccommand_start(struct channel_softc *, struct wdc_xfer *);
int __wdccommand_intr(struct channel_softc *, struct wdc_xfer *, int);
struct channel_softc *chp = drvp->chnl_softc;
void wdc_kill_pending(struct channel_softc *);
wdcreset(struct channel_softc *chp, int flags)
static __inline void WDC_LOG_REG(struct channel_softc *chp,
static __inline void WDC_LOG_ATA_CMDEXT(struct channel_softc *chp,
void wdc_log(struct channel_softc *chp, enum wdcevent_type type,
static __inline void WDC_LOG_STATUS(struct channel_softc *chp,
static __inline void WDC_LOG_ERROR(struct channel_softc *chp,
static __inline void WDC_LOG_ATAPI_CMD(struct channel_softc *chp, int drive,
static __inline void WDC_LOG_ATAPI_DONE(struct channel_softc *chp, int drive,
static __inline void WDC_LOG_ATA_CMDSHORT(struct channel_softc *chp, u_int8_t cmd) {
static __inline void WDC_LOG_ATA_CMDLONG(struct channel_softc *chp,
static __inline void WDC_LOG_SET_DRIVE(struct channel_softc *chp,
u_int8_t (*read_reg)(struct channel_softc *, enum wdc_regs reg);
void (*write_reg)(struct channel_softc *, enum wdc_regs reg,
void (*lba48_write_reg)(struct channel_softc *, enum wdc_regs reg,
void (*read_raw_multi_2)(struct channel_softc *,
void (*write_raw_multi_2)(struct channel_softc *,
void (*read_raw_multi_4)(struct channel_softc *,
void (*write_raw_multi_4)(struct channel_softc *,
struct channel_softc **channels; /* channel-specific data (array) */
void (*set_modes)(struct channel_softc *);
void (*irqack)(struct channel_softc *);
void (*reset)(struct channel_softc *);
void (*drv_probe)(struct channel_softc *);
struct channel_softc *chp;
void (*c_start)(struct channel_softc *, struct wdc_xfer *);
int (*c_intr)(struct channel_softc *, struct wdc_xfer *, int);
void (*c_kill_xfer)(struct channel_softc *, struct wdc_xfer *);
void (*next)(struct channel_softc *, struct wdc_xfer *, int,
void (*c_done)(struct channel_softc *, struct wdc_xfer *, int,
int wdcprobe(struct channel_softc *);
void wdcattach(struct channel_softc *);
int wdcdetach(struct channel_softc *, int);
void wdc_exec_xfer(struct channel_softc *, struct wdc_xfer *);
void wdc_free_xfer(struct channel_softc *, struct wdc_xfer *);
void wdcstart(struct channel_softc *);
int wdcreset(struct channel_softc *, int);
int wdc_wait_for_status(struct channel_softc *, int, int, int);
int wdc_dmawait(struct channel_softc *, struct wdc_xfer *, int);
void wdcbit_bucket(struct channel_softc *, int);
void wdccommand(struct channel_softc *, u_int8_t, u_int8_t, u_int16_t,
void wdccommandext(struct channel_softc *, u_int8_t, u_int8_t, u_int64_t,
void wdccommandshort(struct channel_softc *, int, int);
void wdc_do_reset(struct channel_softc *);
void wdc_disable_intr(struct channel_softc *);
void wdc_enable_intr(struct channel_softc *);
void wdc_set_drive(struct channel_softc *, int drive);
void wdc_print_current_modes(struct channel_softc *);
u_int8_t wdc_default_read_reg(struct channel_softc *,
void wdc_default_write_reg(struct channel_softc *,
void wdc_default_lba48_write_reg(struct channel_softc *,
void wdc_default_read_raw_multi_2(struct channel_softc *,
void wdc_default_write_raw_multi_2(struct channel_softc *,
void wdc_default_read_raw_multi_4(struct channel_softc *,
void wdc_default_write_raw_multi_4(struct channel_softc *,
struct channel_softc *wdc_chanptr;
struct channel_softc wdc_channel;
struct channel_softc ch;
struct channel_softc *wdc_chanptr;
struct channel_softc wdc_channel;
void sata_setup_channel(struct channel_softc *);
void piix_setup_channel(struct channel_softc *);
void piix3_4_setup_channel(struct channel_softc *);
struct channel_softc *wdc_cp = &cp->wdc_channel;
struct channel_softc *wdc_cp = &cp->wdc_channel;
void amd756_setup_channel(struct channel_softc *);
struct channel_softc *wdc_cp = &cp->wdc_channel;
void apollo_setup_channel(struct channel_softc *);
void cmd0643_9_setup_channel(struct channel_softc *);
struct channel_softc *wdc_cp = &cp->wdc_channel;
void cmd680_setup_channel(struct channel_softc *);
void cmd646_9_irqack(struct channel_softc *);
void sii3112_setup_channel(struct channel_softc *);
void sii3112_drv_probe(struct channel_softc *);
struct channel_softc *wdc_cp;
void cy693_setup_channel(struct channel_softc *);
void sis_setup_channel(struct channel_softc *);
void sis96x_setup_channel(struct channel_softc *);
void natsemi_setup_channel(struct channel_softc *);
void natsemi_irqack(struct channel_softc *);
void ns_scx200_setup_channel(struct channel_softc *);
void acer_setup_channel(struct channel_softc *);
void pdc202xx_setup_channel(struct channel_softc *);
void pdc20268_setup_channel(struct channel_softc *);
pciide_irqack(struct channel_softc *chp)
struct channel_softc *wdc_cp = &cp->wdc_channel;
u_int8_t pdc268_config_read(struct channel_softc *, int);
struct channel_softc *wdc_cp = &cp->wdc_channel;
void pdc203xx_setup_channel(struct channel_softc *);
struct channel_softc *wdc_cp = &cp->wdc_channel;
void pdc203xx_irqack(struct channel_softc *);
struct channel_softc *wdc_cp = &cp->wdc_channel;
struct channel_softc *wdc_cp = &cp->wdc_channel;
void pdc205xx_do_reset(struct channel_softc *);
void pdc205xx_drv_probe(struct channel_softc *);
void hpt_setup_channel(struct channel_softc *);
void acard_setup_channel(struct channel_softc *);
void serverworks_setup_channel(struct channel_softc *);
sata_setup_channel(struct channel_softc *chp)
void svwsata_drv_probe(struct channel_softc *);
void nforce_setup_channel(struct channel_softc *);
void ite_setup_channel(struct channel_softc *);
void ixp_setup_channel(struct channel_softc *);
void jmicron_setup_channel(struct channel_softc *);
void phison_setup_channel(struct channel_softc *);
void sch_setup_channel(struct channel_softc *);
void rdc_setup_channel(struct channel_softc *);
piix_setup_channel(struct channel_softc *chp)
piix3_4_setup_channel(struct channel_softc *chp)
struct channel_softc *chp = drvp->chnl_softc;
amd756_setup_channel(struct channel_softc *chp)
apollo_setup_channel(struct channel_softc *chp)
struct channel_softc *wdc_cp;
cmd0643_9_setup_channel(struct channel_softc *chp)
cmd646_9_irqack(struct channel_softc *chp)
cmd680_setup_channel(struct channel_softc *chp)
sii3112_setup_channel(struct channel_softc *chp)
sii3112_drv_probe(struct channel_softc *chp)
struct channel_softc *wdc_cp = &cp->wdc_channel;
sii3114_read_reg(struct channel_softc *chp, enum wdc_regs reg)
sii3114_write_reg(struct channel_softc *chp, enum wdc_regs reg, u_int8_t val)
cy693_setup_channel(struct channel_softc *chp)
sis96x_setup_channel(struct channel_softc *chp)
sis_setup_channel(struct channel_softc *chp)
natsemi_setup_channel(struct channel_softc *chp)
natsemi_irqack(struct channel_softc *chp)
struct channel_softc *wdc_cp;
ns_scx200_setup_channel(struct channel_softc *chp)
acer_setup_channel(struct channel_softc *chp)
struct channel_softc *wdc_cp;
hpt_setup_channel(struct channel_softc *chp)
struct channel_softc *wdc_cp;
pdc268_config_read(struct channel_softc *chp, int index)
pdc202xx_setup_channel(struct channel_softc *chp)
pdc20268_setup_channel(struct channel_softc *chp)
struct channel_softc *wdc_cp;
struct channel_softc *wdc_cp;
struct channel_softc *wdc_cp;
pdc203xx_setup_channel(struct channel_softc *chp)
struct channel_softc *wdc_cp;
struct channel_softc *wdc_cp;
pdc203xx_irqack(struct channel_softc *chp)
pdc203xx_read_reg(struct channel_softc *chp, enum wdc_regs reg)
pdc203xx_write_reg(struct channel_softc *chp, enum wdc_regs reg, u_int8_t val)
pdc205xx_do_reset(struct channel_softc *chp)
pdc205xx_drv_probe(struct channel_softc *chp)
serverworks_setup_channel(struct channel_softc *chp)
struct channel_softc *wdc_cp;
struct channel_softc *wdc_cp = &cp->wdc_channel;
svwsata_drv_probe(struct channel_softc *chp)
svwsata_read_reg(struct channel_softc *chp, enum wdc_regs reg)
svwsata_write_reg(struct channel_softc *chp, enum wdc_regs reg, u_int8_t val)
svwsata_lba48_write_reg(struct channel_softc *chp, enum wdc_regs reg, u_int16_t val)
acard_setup_channel(struct channel_softc *chp)
nforce_setup_channel(struct channel_softc *chp)
struct channel_softc *wdc_cp;
ite_setup_channel(struct channel_softc *chp)
ixp_setup_channel(struct channel_softc *chp)
jmicron_setup_channel(struct channel_softc *chp)
phison_setup_channel(struct channel_softc *chp)
sch_setup_channel(struct channel_softc *chp)
rdc_setup_channel(struct channel_softc *chp)
u_int8_t pdc203xx_read_reg(struct channel_softc *, enum wdc_regs);
void pdc203xx_write_reg(struct channel_softc *, enum wdc_regs, u_int8_t);
u_int8_t sii3114_read_reg(struct channel_softc *, enum wdc_regs);
void sii3114_write_reg(struct channel_softc *, enum wdc_regs, u_int8_t);
u_int8_t svwsata_read_reg(struct channel_softc *, enum wdc_regs);
void svwsata_write_reg(struct channel_softc *, enum wdc_regs, u_int8_t);
void svwsata_lba48_write_reg(struct channel_softc *, enum wdc_regs, u_int16_t);
void pciide_irqack(struct channel_softc *);
struct channel_softc *wdc_chanarray[PCIIDE_MAX_CHANNELS];
struct channel_softc wdc_channel; /* generic part */
struct channel_softc *wdc_chanptr;
struct channel_softc wdc_channel;