Home
last modified time | relevance | path

Searched refs:sc_drive (Results 1 – 3 of 3) sorted by relevance

/openbsd/sys/dev/isa/
H A Dfd.c111 int sc_drive; /* physical unit number */ member
290 fd->sc_drive = drive; in fdattach()
524 status = fd->sc_drive; in fd_set_motor()
703 fdc->sc_link.fdlink.sc_fd[fd->sc_drive ^ 1]; in fdintr()
729 out_fdc(iot, ioh, fd->sc_drive); /* drive number */ in fdintr()
768 read ? "read" : "write", fd->sc_drive, fd->sc_cylin, head, in fdintr()
778 out_fdc(iot, ioh, (head << 2) | fd->sc_drive); in fdintr()
788 out_fdc(iot, ioh, (head << 2) | fd->sc_drive); in fdintr()
893 out_fdc(iot, ioh, fd->sc_drive); in fdintr()
/openbsd/sys/arch/sparc64/dev/
H A Dfd.c260 int sc_drive; /* physical unit number */ member
639 fd->sc_drive = drive; in fdattach()
831 status |= fd->sc_drive; in fd_set_motor()
1291 struct fd_softc *ofd = fdc->sc_fd[fd->sc_drive ^ 1]; in fdcstate()
1345 FDC_WRFIFO(fdc, fd->sc_drive); /* drive number */ in fdcstate()
1364 FDC_WRFIFO(fdc, fd->sc_drive); /* drive number */ in fdcstate()
1428 fd->sc_drive, fd->sc_cylin, head, sec, nblks); in fdcstate()
1442 FDC_WRFIFO(fdc, (head << 2) | fd->sc_drive); in fdcstate()
1452 FDC_WRFIFO(fdc, (head << 2) | fd->sc_drive); in fdcstate()
1626 FDC_WRFIFO(fdc, fd->sc_drive); in fdcstate()
/openbsd/sys/dev/ata/
H A Dwd.c111 #define sc_drive sc_wdc_bio.drive macro