Home
last modified time | relevance | path

Searched refs:FD_MOTOR (Results 1 – 2 of 2) sorted by relevance

/openbsd/sys/dev/isa/
H A Dfd.c114 #define FD_MOTOR 0x02 /* motor should be on */ macro
531 && (fd->sc_flags & FD_MOTOR)) in fd_set_motor()
543 fd->sc_flags &= ~(FD_MOTOR | FD_MOTOR_WAIT); in fd_motor_off()
700 if ((fd->sc_flags & FD_MOTOR) == 0) { in fdintr()
704 if (ofd && ofd->sc_flags & FD_MOTOR) { in fdintr()
706 ofd->sc_flags &= ~(FD_MOTOR | FD_MOTOR_WAIT); in fdintr()
708 fd->sc_flags |= FD_MOTOR | FD_MOTOR_WAIT; in fdintr()
/openbsd/sys/arch/sparc64/dev/
H A Dfd.c263 #define FD_MOTOR 0x02 /* motor should be on */ macro
834 if ((fd = fdc->sc_fd[n]) && (fd->sc_flags & FD_MOTOR)) in fd_set_motor()
847 fd->sc_flags &= ~(FD_MOTOR | FD_MOTOR_WAIT); in fd_motor_off()
1289 if ((fd->sc_flags & FD_MOTOR) == 0) { in fdcstate()
1292 if (ofd && ofd->sc_flags & FD_MOTOR) { in fdcstate()
1294 ofd->sc_flags &= ~(FD_MOTOR | FD_MOTOR_WAIT); in fdcstate()
1296 fd->sc_flags |= FD_MOTOR | FD_MOTOR_WAIT; in fdcstate()