Home
last modified time | relevance | path

Searched refs:sc_fd (Results 1 – 5 of 5) sorted by relevance

/openbsd/sys/arch/alpha/stand/nboot/
H A Ddisk.c47 int sc_fd; /* PROM channel number */ member
80 ret.bits = prom_read(sc->sc_fd, reqcnt, addr, bn); in diskstrategy()
82 ret.bits = prom_write(sc->sc_fd, reqcnt, addr, bn); in diskstrategy()
117 sc->sc_fd = ret.u.retval; in diskopen()
161 (void)prom_close(sc->sc_fd); in diskclose()
/openbsd/sys/arch/alpha/stand/boot/
H A Ddisk.c49 int sc_fd; /* PROM channel number */ member
82 ret.bits = prom_read(sc->sc_fd, reqcnt, addr, bn + pp->p_offset); in diskstrategy()
84 ret.bits = prom_write(sc->sc_fd, reqcnt, addr, bn + pp->p_offset); in diskstrategy()
122 sc->sc_fd = ret.u.retval; in diskopen()
168 (void)prom_close(sc->sc_fd); in diskclose()
/openbsd/sys/dev/isa/
H A Dfdlink.h75 struct fd_softc *sc_fd[4]; /* pointers to children */ member
H A Dfd.c293 fdc->sc_link.fdlink.sc_fd[drive] = fd; in fdattach()
530 if ((fd = fdc->sc_link.fdlink.sc_fd[n]) in fd_set_motor()
703 fdc->sc_link.fdlink.sc_fd[fd->sc_drive ^ 1]; in fdintr()
/openbsd/sys/arch/sparc64/dev/
H A Dfd.c189 struct fd_softc *sc_fd[4]; /* pointers to children */ member
641 fdc->sc_fd[drive] = fd; in fdattach()
834 if ((fd = fdc->sc_fd[n]) && (fd->sc_flags & FD_MOTOR)) in fd_set_motor()
1291 struct fd_softc *ofd = fdc->sc_fd[fd->sc_drive ^ 1]; in fdcstate()