Home
last modified time | relevance | path

Searched refs:channel_softc (Results 1 – 18 of 18) sorted by relevance

/openbsd/sys/dev/ic/
H A Dwdcvar.h47 struct channel_softc { /* Per channel data */ struct
204 void (*reset)(struct channel_softc *);
207 void (*drv_probe)(struct channel_softc *);
230 struct channel_softc *chp;
261 int wdcprobe(struct channel_softc *);
262 void wdcattach(struct channel_softc *);
263 int wdcdetach(struct channel_softc *, int);
273 void wdcstart(struct channel_softc *);
274 int wdcreset(struct channel_softc *, int);
288 void wdc_do_reset(struct channel_softc *);
[all …]
H A Dwdcevent.h47 void wdc_log(struct channel_softc *chp, enum wdcevent_type type,
50 static __inline void WDC_LOG_STATUS(struct channel_softc *chp, in WDC_LOG_STATUS()
59 static __inline void WDC_LOG_ERROR(struct channel_softc *chp, in WDC_LOG_ERROR()
64 static __inline void WDC_LOG_ATAPI_CMD(struct channel_softc *chp, int drive, in WDC_LOG_ATAPI_CMD()
75 static __inline void WDC_LOG_ATAPI_DONE(struct channel_softc *chp, int drive, in WDC_LOG_ATAPI_DONE()
81 static __inline void WDC_LOG_ATA_CMDSHORT(struct channel_softc *chp, u_int8_t cmd) { in WDC_LOG_ATA_CMDSHORT()
85 static __inline void WDC_LOG_ATA_CMDLONG(struct channel_softc *chp, in WDC_LOG_ATA_CMDLONG()
94 static __inline void WDC_LOG_SET_DRIVE(struct channel_softc *chp, in WDC_LOG_SET_DRIVE()
100 static __inline void WDC_LOG_REG(struct channel_softc *chp, in WDC_LOG_REG()
111 static __inline void WDC_LOG_ATA_CMDEXT(struct channel_softc *chp, in WDC_LOG_ATA_CMDEXT()
H A Dwdc.c92 void __wdcerror(struct channel_softc *, char *);
98 void wdc_kill_pending(struct channel_softc *);
421 wdc_disable_intr(struct channel_softc *chp) in wdc_disable_intr()
427 wdc_enable_intr(struct channel_softc *chp) in wdc_enable_intr()
589 wdcprobe(struct channel_softc *chp) in wdcprobe()
744 wdcattach(struct channel_softc *chp) in wdcattach()
875 wdcstart(struct channel_softc *chp) in wdcstart()
933 struct channel_softc *chp = arg; in wdcintr()
1021 wdc_do_reset(struct channel_softc *chp) in wdc_do_reset()
1176 struct channel_softc *chp = (struct channel_softc *)arg; in wdctimeout()
[all …]
/openbsd/sys/dev/atapiscsi/
H A Datapiscsi.c114 void wdc_atapi_ctrl(struct channel_softc *, struct wdc_xfer *,
120 void wdc_atapi_done(struct channel_softc *, struct wdc_xfer *,
140 struct channel_softc *chp;
192 struct channel_softc *chp = drvp->chnl_softc; in atapiscsi_attach()
280 struct channel_softc *chp = as->chp; in atapiscsi_activate()
312 struct channel_softc *chp = as->chp; in wdc_atapi_send_cmd()
415 struct channel_softc *chp = as->chp; in wdc_atapi_ioctl()
471 int wdc_atapi_drive_selected(struct channel_softc *, int);
506 struct channel_softc *chp = arg; in wdc_atapi_timer_handler()
660 void wdc_atapi_update_status(struct channel_softc *);
[all …]
/openbsd/sys/arch/landisk/dev/
H A Dwdc_obio.c48 struct channel_softc *sc_chanptr;
49 struct channel_softc sc_channel;
67 u_int8_t wdc_obio_read_reg(struct channel_softc *chp, enum wdc_regs reg);
68 void wdc_obio_write_reg(struct channel_softc *chp, enum wdc_regs reg,
110 struct channel_softc *chp = &sc->sc_channel; in wdc_obio_attach()
150 wdc_obio_read_reg(struct channel_softc *chp, enum wdc_regs reg) in wdc_obio_read_reg()
161 wdc_obio_write_reg(struct channel_softc *chp, enum wdc_regs reg, u_int8_t val) in wdc_obio_write_reg()
/openbsd/sys/arch/macppc/dev/
H A Dwdc_obio.c61 struct channel_softc *wdc_chanptr;
62 struct channel_softc wdc_channel;
76 u_int8_t wdc_obio_read_reg(struct channel_softc *, enum wdc_regs);
101 void wdc_obio_adjust_timing(struct channel_softc *);
102 void wdc_obio_ata4_adjust_timing(struct channel_softc *);
103 void wdc_obio_ata6_adjust_timing(struct channel_softc *);
134 struct channel_softc *chp = &sc->wdc_channel; in wdc_obio_attach()
236 struct channel_softc *chp = &sc->wdc_channel; in wdc_obio_detach()
326 wdc_obio_adjust_timing(struct channel_softc *chp) in wdc_obio_adjust_timing()
391 wdc_obio_ata4_adjust_timing(struct channel_softc *chp) in wdc_obio_ata4_adjust_timing()
[all …]
/openbsd/sys/dev/pci/
H A Dpciide_svwsata_reg.h40 u_int8_t svwsata_read_reg(struct channel_softc *, enum wdc_regs);
41 void svwsata_write_reg(struct channel_softc *, enum wdc_regs, u_int8_t);
42 void svwsata_lba48_write_reg(struct channel_softc *, enum wdc_regs, u_int16_t);
H A Dpciidevar.h90 struct channel_softc *wdc_chanarray[PCIIDE_MAX_CHANNELS];
93 struct channel_softc wdc_channel; /* generic part */
170 void pciide_irqack(struct channel_softc *);
H A Dpciide.c1927 struct channel_softc *wdc_cp; in pciide_pci_intr()
3800 struct channel_softc *wdc_cp; in cmd_pci_intr()
5576 struct channel_softc *wdc_cp; in natsemi_pci_intr()
5963 struct channel_softc *wdc_cp; in acer_pci_intr()
6256 struct channel_softc *wdc_cp; in hpt_pci_intr()
6663 struct channel_softc *wdc_cp; in pdc202xx_pci_intr()
6692 struct channel_softc *wdc_cp; in pdc20265_pci_intr()
6784 struct channel_softc *wdc_cp; in pdcsata_chip_map()
7043 struct channel_softc *wdc_cp; in pdc203xx_pci_intr()
7073 struct channel_softc *wdc_cp; in pdc205xx_pci_intr()
[all …]
H A Dpciide_pdc202xx_reg.h166 u_int8_t pdc203xx_read_reg(struct channel_softc *, enum wdc_regs);
167 void pdc203xx_write_reg(struct channel_softc *, enum wdc_regs, u_int8_t);
H A Dpciide_sii3112_reg.h393 u_int8_t sii3114_read_reg(struct channel_softc *, enum wdc_regs);
394 void sii3114_write_reg(struct channel_softc *, enum wdc_regs, u_int8_t);
/openbsd/sys/dev/ata/
H A Data_wdc.c98 void wdc_ata_bio_start(struct channel_softc *, struct wdc_xfer *);
99 void _wdc_ata_bio_start(struct channel_softc *, struct wdc_xfer *);
100 int wdc_ata_bio_intr(struct channel_softc *, struct wdc_xfer *, int);
102 void wdc_ata_bio_done(struct channel_softc *, struct wdc_xfer *);
116 struct channel_softc chp; in wd_hibernate_io()
122 struct channel_softc *chp = &my->chp; in wd_hibernate_io()
193 struct channel_softc *chp = drvp->chnl_softc; in wdc_ata_bio()
218 wdc_ata_bio_start(struct channel_softc *chp, struct wdc_xfer *xfer) in wdc_ata_bio_start()
232 _wdc_ata_bio_start(struct channel_softc *chp, struct wdc_xfer *xfer) in _wdc_ata_bio_start()
581 wdc_ata_bio_done(struct channel_softc *chp, struct wdc_xfer *xfer) in wdc_ata_bio_done()
[all …]
H A Dwd.c577 struct channel_softc *chnl; in wdrestart()
582 chnl = (struct channel_softc *)(wd->drvp->chnl_softc); in wdrestart()
612 struct channel_softc *chnl; in wdopen()
622 chnl = (struct channel_softc *)(wd->drvp->chnl_softc); in wdopen()
/openbsd/sys/dev/isa/
H A Dwdc_isa.c58 struct channel_softc *wdc_chanptr;
59 struct channel_softc wdc_channel;
83 struct channel_softc ch; in wdc_isa_probe()
H A Dwdc_isapnp.c50 struct channel_softc *wdc_chanptr;
51 struct channel_softc wdc_channel;
/openbsd/sys/arch/i386/pci/
H A Dpciide_machdep.c83 void gcsc_setup_channel(struct channel_softc *);
154 gcsc_setup_channel(struct channel_softc *chp) in gcsc_setup_channel()
/openbsd/sys/dev/pcmcia/
H A Dwdc_pcmcia.c53 struct channel_softc *wdc_chanptr;
54 struct channel_softc wdc_channel;
/openbsd/sys/dev/acpi/
H A Dacpi.c120 void wdcattach(struct channel_softc *);
121 int wdcdetach(struct channel_softc *, int);