Lines Matching refs:channel_softc
92 void __wdcerror(struct channel_softc *, char *);
93 int __wdcwait_reset(struct channel_softc *, int);
94 void __wdccommand_done(struct channel_softc *, struct wdc_xfer *);
95 void __wdccommand_start(struct channel_softc *, struct wdc_xfer *);
96 int __wdccommand_intr(struct channel_softc *, struct wdc_xfer *, int);
98 void wdc_kill_pending(struct channel_softc *);
125 int wdc_floating_bus(struct channel_softc *, int);
126 int wdc_preata_drive(struct channel_softc *, int);
127 int wdc_ata_present(struct channel_softc *, int);
151 wdc_log(struct channel_softc *chp, enum wdcevent_type type, in wdc_log()
292 wdc_default_read_reg(struct channel_softc *chp, enum wdc_regs reg) in wdc_default_read_reg()
309 wdc_default_write_reg(struct channel_softc *chp, enum wdc_regs reg, u_int8_t val) in wdc_default_write_reg()
326 wdc_default_lba48_write_reg(struct channel_softc *chp, enum wdc_regs reg, in wdc_default_lba48_write_reg()
335 wdc_default_read_raw_multi_2(struct channel_softc *chp, void *data, in wdc_default_read_raw_multi_2()
354 wdc_default_write_raw_multi_2(struct channel_softc *chp, void *data, in wdc_default_write_raw_multi_2()
373 wdc_default_write_raw_multi_4(struct channel_softc *chp, void *data, in wdc_default_write_raw_multi_4()
392 wdc_default_read_raw_multi_4(struct channel_softc *chp, void *data, in wdc_default_read_raw_multi_4()
421 wdc_disable_intr(struct channel_softc *chp) in wdc_disable_intr()
427 wdc_enable_intr(struct channel_softc *chp) in wdc_enable_intr()
433 wdc_set_drive(struct channel_softc *chp, int drive) in wdc_set_drive()
440 wdc_floating_bus(struct channel_softc *chp, int drive) in wdc_floating_bus()
472 wdc_preata_drive(struct channel_softc *chp, int drive) in wdc_preata_drive()
503 wdc_ata_present(struct channel_softc *chp, int drive) in wdc_ata_present()
589 wdcprobe(struct channel_softc *chp) in wdcprobe()
744 wdcattach(struct channel_softc *chp) in wdcattach()
875 wdcstart(struct channel_softc *chp) in wdcstart()
908 wdcdetach(struct channel_softc *chp, int flags) in wdcdetach()
933 struct channel_softc *chp = arg; in wdcintr()
978 struct channel_softc *chp = drvp->chnl_softc; in wdc_reset_channel()
991 wdcreset(struct channel_softc *chp, int flags) in wdcreset()
1021 wdc_do_reset(struct channel_softc *chp) in wdc_do_reset()
1032 __wdcwait_reset(struct channel_softc *chp, int drv_mask) in __wdcwait_reset()
1088 wdc_wait_for_status(struct channel_softc *chp, int mask, int bits, int timeout) in wdc_wait_for_status()
1152 wdc_dmawait(struct channel_softc *chp, struct wdc_xfer *xfer, int timeout) in wdc_dmawait()
1176 struct channel_softc *chp = (struct channel_softc *)arg; in wdctimeout()
1224 struct channel_softc *chp = drvp->chnl_softc; in wdc_probe_caps()
1450 struct channel_softc *chp = drvp->chnl_softc; in wdc_output_bytes()
1475 struct channel_softc *chp = drvp->chnl_softc; in wdc_input_bytes()
1525 wdc_print_current_modes(struct channel_softc *chp) in wdc_print_current_modes()
1559 struct channel_softc *chp = drvp->chnl_softc; in wdc_downgrade_mode()
1613 struct channel_softc *chp = drvp->chnl_softc; in wdc_exec_command()
1665 __wdccommand_start(struct channel_softc *chp, struct wdc_xfer *xfer) in __wdccommand_start()
1737 __wdccommand_intr(struct channel_softc *chp, struct wdc_xfer *xfer, int irq) in __wdccommand_intr()
1774 __wdccommand_done(struct channel_softc *chp, struct wdc_xfer *xfer) in __wdccommand_done()
1827 wdccommand(struct channel_softc *chp, u_int8_t drive, u_int8_t command, in wdccommand()
1857 wdccommandext(struct channel_softc *chp, u_int8_t drive, u_int8_t command, in wdccommandext()
1888 wdccommandshort(struct channel_softc *chp, int drive, int command) in wdccommandshort()
1904 wdc_exec_xfer(struct channel_softc *chp, struct wdc_xfer *xfer) in wdc_exec_xfer()
1967 wdc_free_xfer(struct channel_softc *chp, struct wdc_xfer *xfer) in wdc_free_xfer()
1998 wdc_kill_pending(struct channel_softc *chp) in wdc_kill_pending()
2009 __wdcerror(struct channel_softc *chp, char *msg) in __wdcerror()
2026 wdcbit_bucket(struct channel_softc *chp, int size) in wdcbit_bucket()