Lines Matching refs:fd_softc
196 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);
528 struct fd_softc *fd = device_private(self); in fdattach()
596 fd_dev_to_type(struct fd_softc *fd, dev_t dev) in fd_dev_to_type()
608 struct fd_softc *fd = device_lookup_private(&hdfd_cd, FDUNIT(bp->b_dev)); in fdstrategy()
677 fdstart(struct fd_softc *fd) in fdstart()
692 fdfinish(struct fd_softc *fd, struct buf *bp) in fdfinish()
737 struct fd_softc *fd; in fd_set_motor()
756 struct fd_softc *fd = arg; in fd_motor_off()
769 struct fd_softc *fd = arg; in fd_motor_on()
821 struct fd_softc *fd; in fdopen()
846 struct fd_softc *fd = device_lookup_private(&hdfd_cd, FDUNIT(dev)); in fdclose()
920 struct fd_softc *fd = fdc->sc_drives.tqh_first; in fdctimeout()
954 struct fd_softc *fd; in fdcintr()
994 struct fd_softc *ofd = fdc->sc_fd[fd->sc_drive ^ 1]; in fdcintr()
1253 struct fd_softc *fd; in fdcretry()
1295 struct fd_softc *fd; in fdioctl()
1478 struct fd_softc *fd = device_lookup_private(&hdfd_cd, FDUNIT(dev)); in fdformat()
1535 fdgetdisklabel(struct fd_softc *fd, dev_t dev) in fdgetdisklabel()
1579 fdgetdefaultlabel(struct fd_softc *fd, struct disklabel *lp, int part) in fdgetdefaultlabel()