Home
last modified time | relevance | path

Searched refs:wd_softc (Results 1 – 20 of 20) sorted by relevance

/netbsd-src/sys/dev/ata/
H A Data_raidvar.h118 struct wd_softc;
133 int ata_raid_read_config_promise(struct wd_softc *);
136 int ata_raid_read_config_adaptec(struct wd_softc *);
139 int ata_raid_read_config_via(struct wd_softc *);
142 int ata_raid_read_config_nvidia(struct wd_softc *);
145 int ata_raid_read_config_jmicron(struct wd_softc *);
148 int ata_raid_read_config_intel(struct wd_softc *);
H A Dwd.c123 static void wdperror(const struct wd_softc *, struct ata_xfer *);
130 static int wd_standby(struct wd_softc *, int);
132 CFATTACH_DECL3_NEW(wd, sizeof(struct wd_softc),
191 struct wd_softc *wi_softc;
196 static struct wd_ioctl *wi_get(struct wd_softc *);
200 static void wdstart1(struct wd_softc *, struct buf *, struct ata_xfer *);
208 static int wd_get_params(struct wd_softc *, struct ataparams *);
209 static void wd_set_geometry(struct wd_softc *);
210 static int wd_flushcache(struct wd_softc *, int);
211 static int wd_trim(struct wd_softc *, daddr_
[all...]
H A Dwdvar.h49 struct wd_softc { struct
H A Data_raid_adaptec.c67 ata_raid_read_config_adaptec(struct wd_softc *sc) in ata_raid_read_config_adaptec()
H A Data_raid_promise.c67 ata_raid_read_config_promise(struct wd_softc *sc) in ata_raid_read_config_promise()
H A Data_raid.c249 struct wd_softc *sc = device_private(self); in ata_raid_check_component()
H A Data_raid_jmicron.c118 ata_raid_read_config_jmicron(struct wd_softc *sc) in ata_raid_read_config_jmicron()
H A Data_raid_via.c114 ata_raid_read_config_via(struct wd_softc *sc) in ata_raid_read_config_via()
H A Data_raid_nvidia.c122 ata_raid_read_config_nvidia(struct wd_softc *sc) in ata_raid_read_config_nvidia()
H A Data_raid_intel.c136 ata_raid_read_config_intel(struct wd_softc *sc) in ata_raid_read_config_intel()
H A Dld_ataraid.c677 struct wd_softc *wd; in ld_ataraid_biodisk()
/netbsd-src/sys/arch/cobalt/stand/boot/
H A Dwdvar.h66 struct wd_softc { struct
98 int wdc_init(struct wd_softc *, u_int *); argument
99 int wdccommand(struct wd_softc *, struct wdc_command *);
100 int wdccommandext(struct wd_softc *, struct wdc_command *);
101 int wdc_exec_read(struct wd_softc *, uint8_t, daddr_t, void *);
102 int wdc_exec_identify(struct wd_softc *, void *);
H A Dwd.c44 static int wd_get_params(struct wd_softc *wd);
45 static int wdgetdisklabel(struct wd_softc *wd);
46 static void wdgetdefaultlabel(struct wd_softc *wd, struct disklabel *lp);
52 wd_get_params(struct wd_softc *wd) in wd_get_params()
111 wdgetdefaultlabel(struct wd_softc *wd, struct disklabel *lp) in wdgetdefaultlabel()
152 wdgetdisklabel(struct wd_softc *wd) in wdgetdisklabel()
224 struct wd_softc *wd; in wdopen()
233 wd = alloc(sizeof(struct wd_softc)); in wdopen()
237 memset(wd, 0, sizeof(struct wd_softc)); in wdopen()
273 struct wd_softc *wd; in wdstrategy()
H A Dwdc.c48 static int wdc_read_block(struct wd_softc *sc, struct wdc_command *wd_c);
171 wdc_init(struct wd_softc *sc, u_int *unit) in wdc_init()
201 wdc_read_block(struct wd_softc *sc, struct wdc_command *wd_c) in wdc_read_block()
220 wdccommand(struct wd_softc *sc, struct wdc_command *wd_c) in wdccommand()
256 wdccommandext(struct wd_softc *wd, struct wdc_command *wd_c) in wdccommandext()
302 wdc_exec_identify(struct wd_softc *wd, void *data) in wdc_exec_identify()
324 wdc_exec_read(struct wd_softc *wd, uint8_t cmd, daddr_t blkno, void *data) in wdc_exec_read()
/netbsd-src/sys/arch/mmeye/stand/boot/
H A Dwd.c42 static int wd_get_params(struct wd_softc *wd);
43 static int wdgetdisklabel(struct wd_softc *wd);
44 static void wdgetdefaultlabel(struct wd_softc *wd, struct disklabel *lp);
50 wd_get_params(struct wd_softc *wd) in wd_get_params()
108 wdgetdefaultlabel(struct wd_softc *wd, struct disklabel *lp) in wdgetdefaultlabel()
156 wdgetdisklabel(struct wd_softc *wd) in wdgetdisklabel()
200 struct wd_softc *wd; in wdopen()
209 wd = alloc(sizeof(struct wd_softc)); in wdopen()
213 memset(wd, 0, sizeof(struct wd_softc)); in wdopen()
249 struct wd_softc *wd; in wdstrategy()
H A Dwdvar.h100 struct wd_softc { struct
132 int wdc_init(struct wd_softc *, u_int *); argument
133 int wdccommand(struct wd_softc *, struct wdc_command *);
134 int wdccommandext(struct wd_softc *, struct wdc_command *);
135 int wdc_exec_read(struct wd_softc *, uint8_t, daddr_t, void *);
136 int wdc_exec_identify(struct wd_softc *, void *);
H A Dwdc.c57 static int wdc_read_block(struct wd_softc *sc, struct wdc_command *wd_c);
180 wdc_init(struct wd_softc *sc, u_int *unit) in wdc_init()
234 wdc_read_block(struct wd_softc *sc, struct wdc_command *wd_c) in wdc_read_block()
257 wdccommand(struct wd_softc *sc, struct wdc_command *wd_c) in wdccommand()
293 wdccommandext(struct wd_softc *wd, struct wdc_command *wd_c) in wdccommandext()
339 wdc_exec_identify(struct wd_softc *wd, void *data) in wdc_exec_identify()
361 wdc_exec_read(struct wd_softc *wd, uint8_t cmd, daddr_t blkno, void *data) in wdc_exec_read()
/netbsd-src/sys/arch/bebox/stand/boot/
H A Dwd.c50 static int wd_get_params(struct wd_softc *wd);
51 static int wdgetdisklabel(struct wd_softc *wd);
52 static void wdgetdefaultlabel(struct wd_softc *wd, struct disklabel *lp);
62 wd_get_params(struct wd_softc *wd) in wd_get_params()
123 wdgetdefaultlabel(struct wd_softc *wd, struct disklabel *lp) in wdgetdefaultlabel()
164 wdgetdisklabel(struct wd_softc *wd) in wdgetdisklabel()
236 struct wd_softc *wd; in wdopen()
250 wd = alloc(sizeof(struct wd_softc)); in wdopen()
254 memset(wd, 0, sizeof(struct wd_softc)); in wdopen()
288 struct wd_softc *wd; in wdstrategy()
H A Dwdvar.h60 struct wd_softc { struct
93 int wdc_exec_identify(struct wd_softc *, void *); argument
94 int wdc_exec_read(struct wd_softc *, uint8_t, daddr_t, void *);
H A Dwdc.c402 wdc_exec_identify(struct wd_softc *wd, void *data) in wdc_exec_identify()
419 wdc_exec_read(struct wd_softc *wd, uint8_t cmd, daddr_t blkno, void *data) in wdc_exec_read()