Home
last modified time | relevance | path

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

/netbsd/src/sys/arch/atari/dev/
Dfd.c132 struct fd_softc { struct
205 static void fdstart(struct fd_softc *);
206 static void fddone(struct fd_softc *);
207 static void fdstatus(struct fd_softc *);
208 static void fd_xfer(struct fd_softc *);
209 static void fdcint(struct fd_softc *);
210 static int fd_xfer_ok(struct fd_softc *);
211 static void fdmotoroff(struct fd_softc *);
213 static void fdtestdrv(struct fd_softc *);
214 static void fdgetdefaultlabel(struct fd_softc *, struct disklabel *,
[all …]
Dhdfd.c196 struct fd_softc *sc_fd[4]; /* pointers to children */
197 TAILQ_HEAD(drivehead, fd_softc) sc_drives;
248 struct fd_softc { struct
275 TAILQ_ENTRY(fd_softc) sc_drivechain; argument
285 CFATTACH_DECL_NEW(hdfd, sizeof(struct fd_softc), argument
314 void fdstart(struct fd_softc *);
332 void fdfinish(struct fd_softc *, struct buf *);
335 static void fdgetdisklabel(struct fd_softc *, dev_t);
336 static void fdgetdefaultlabel(struct fd_softc *, struct disklabel *, int);
338 static struct fd_type *fd_dev_to_type(struct fd_softc *, dev_t);
[all …]
/netbsd/src/sys/arch/amiga/dev/
Dfd.c146 struct fd_softc { struct
183 struct fd_softc *fdc_indma;
200 int fdloaddisk(struct fd_softc *);
201 void fdgetdefaultlabel(struct fd_softc *, struct disklabel *, int);
202 int fdgetdisklabel(struct fd_softc *, dev_t);
203 int fdsetdisklabel(struct fd_softc *, struct disklabel *);
204 int fdputdisklabel(struct fd_softc *, dev_t);
207 void fdsetpos(struct fd_softc *, int, int);
208 void fdselunit(struct fd_softc *);
209 void fdstart(struct fd_softc *);
[all …]
/netbsd/src/sys/arch/mipsco/obio/
Di82072.c81 struct fd_softc { struct
91 static void fd_reset (struct fd_softc *); argument
93 CFATTACH_DECL_NEW(fd, sizeof(struct fd_softc),
107 struct fd_softc *sc = device_private(self); in fd_attach()
128 fd_reset(struct fd_softc *sc) in fd_reset()
152 struct fd_softc *sc = arg; in fd_intr()
/netbsd/src/sys/arch/x68k/stand/libsa/
Dfd.c41 struct fd_softc *sc; in fdopen()
54 sc = alloc(sizeof (struct fd_softc)); in fdopen()
66 dealloc(sc, sizeof(struct fd_softc)); in fdopen()
84 struct fd_softc *sc = f->f_devdata; in fdclose()
87 dealloc(sc, sizeof(struct fd_softc)); in fdclose()
95 struct fd_softc *sc = arg; in fdstrategy()
Dfdvar.h39 struct fd_softc { struct
Dchdsk.c41 struct fd_softc *sc = f->f_devdata; in changedisk_hook()
/netbsd/src/sys/arch/arc/jazz/
Dfd.c145 struct fd_softc { struct
170 TAILQ_ENTRY(fd_softc) sc_drivechain; argument
180 CFATTACH_DECL_NEW(fd, sizeof(struct fd_softc), fdprobe, fdattach, NULL, NULL); argument
215 static void fdstart(struct fd_softc *);
234 static void fdfinish(struct fd_softc *, struct buf *);
235 static const struct fd_type *fd_dev_to_type(struct fd_softc *, dev_t);
337 struct fd_softc *fd = device_private(self); in fdattach()
378 struct fd_softc *fd; in fd_shutdown()
424 fd_dev_to_type(struct fd_softc *fd, dev_t dev) in fd_dev_to_type()
436 struct fd_softc *fd = device_lookup_private(&fd_cd, FDUNIT(bp->b_dev)); in fdstrategy()
[all …]
Dfdcvar.h115 struct fd_softc *sc_fd[4]; /* pointers to children */
116 TAILQ_HEAD(drivehead, fd_softc) sc_drives;
/netbsd/src/sys/arch/acorn32/mainbus/
Dfd.c168 struct fd_softc *sc_fd[4]; /* pointers to children */
169 TAILQ_HEAD(drivehead, fd_softc) sc_drives;
217 struct fd_softc { struct
244 TAILQ_ENTRY(fd_softc) sc_drivechain; argument
257 CFATTACH_DECL_NEW(fd, sizeof(struct fd_softc), argument
295 void fdgetdisklabel(struct fd_softc *);
296 int fd_get_parms(struct fd_softc *);
297 void fdstart(struct fd_softc *);
315 void fdfinish(struct fd_softc *fd, struct buf *bp);
316 static struct fd_type *fd_dev_to_type(struct fd_softc *, dev_t);
[all …]
/netbsd/src/sys/dev/isa/
Dfd.c212 CFATTACH_DECL_NEW(fdisa, sizeof(struct fd_softc),
215 CFATTACH_DECL_NEW(fd, sizeof(struct fd_softc),
252 void fdgetdisklabel(struct fd_softc *);
253 int fd_get_parms(struct fd_softc *);
254 void fdstart(struct fd_softc *);
272 void fdfinish(struct fd_softc *fd, struct buf *bp);
273 static const struct fd_type *fd_dev_to_type(struct fd_softc *, dev_t);
275 static void fd_set_geometry(struct fd_softc *fd);
320 struct fd_softc *fd; in fdcsuspend()
339 struct fd_softc *fd = device_private(child); in fdc_childdet()
[all …]
Dfdvar.h57 struct fd_softc { struct
84 TAILQ_ENTRY(fd_softc) sc_drivechain; argument
Dfdcvar.h130 struct fd_softc *sc_fd[4]; /* pointers to children */
131 TAILQ_HEAD(drivehead, fd_softc) sc_drives;
/netbsd/src/sys/arch/sun3/dev/
Dfd.c161 struct fd_softc *sc_fd[4]; /* pointers to children */
162 TAILQ_HEAD(drivehead, fd_softc) sc_drives;
194 static struct fd_type *fd_dev_to_type(struct fd_softc *, dev_t);
237 struct fd_softc { struct
261 TAILQ_ENTRY(fd_softc) sc_drivechain; argument
271 CFATTACH_DECL_NEW(fd, sizeof(struct fd_softc), argument
309 static void fdstart(struct fd_softc *);
330 static void fdfinish(struct fd_softc *, struct buf *);
566 struct fd_softc *fd = device_private(self); in fdattach()
639 struct fd_softc *fd; in fd_shutdown()
[all …]
/netbsd/src/sys/arch/x68k/dev/
Dfd.c156 struct fd_softc *sc_fd[4]; /* pointers to children */
157 TAILQ_HEAD(drivehead, fd_softc) sc_drives;
217 struct fd_softc { struct
246 TAILQ_ENTRY(fd_softc) sc_drivechain; argument
263 CFATTACH_DECL_NEW(fd, sizeof(struct fd_softc), argument
299 static void fdstart(struct fd_softc *);
319 static void fdfinish(struct fd_softc *, struct buf *);
320 static struct fd_type *fd_dev_to_type(struct fd_softc *, dev_t);
323 static int fdgetdisklabel(struct fd_softc *, dev_t);
629 struct fd_softc *fd = device_private(self); in fdattach()
[all …]
/netbsd/src/sys/arch/sparc64/dev/
Dfdc.c196 struct fd_softc *sc_fd[4]; /* pointers to children */
197 TAILQ_HEAD(drivehead, fd_softc) sc_drives;
260 static struct fd_type *fd_dev_to_type(struct fd_softc *, dev_t);
293 struct fd_softc { struct
317 TAILQ_ENTRY(fd_softc) sc_drivechain; argument
329 CFATTACH_DECL_NEW(fd, sizeof(struct fd_softc), argument
368 int fd_get_parms(struct fd_softc *);
370 void fdstart(struct fd_softc *);
394 void fdfinish(struct fd_softc *, struct buf *);
396 void fd_do_eject(struct fd_softc *);
[all …]
/netbsd/src/sys/arch/sparc/dev/
Dfd.c183 struct fd_softc *sc_fd[4]; /* pointers to children */
184 TAILQ_HEAD(drivehead, fd_softc) sc_drives;
228 static struct fd_type *fd_dev_to_type(struct fd_softc *, dev_t);
261 struct fd_softc { struct
285 TAILQ_ENTRY(fd_softc) sc_drivechain; argument
297 CFATTACH_DECL_NEW(fd, sizeof(struct fd_softc), argument
336 int fd_get_parms(struct fd_softc *);
337 void fdstart(struct fd_softc *);
361 void fdfinish(struct fd_softc *, struct buf *);
363 void fd_do_eject(struct fd_softc *);
[all …]
/netbsd/src/sys/arch/mac68k/obio/
Diwm_fdvar.h130 struct fd_softc { struct
171 typedef struct fd_softc fd_softc_t; argument