Lines Matching refs:FDC
303 #define FDC(x) (((x) & 0x04) >> 2) /* fdc of drive */ macro
735 int fdc = FDC(drive); in disk_change()
740 (fdc_state[fdc].dor & 3) != UNIT(drive) || fdc != FDC(drive)) { in disk_change()
742 DPRINT("drive=%d fdc=%d dor=%x\n", drive, FDC(drive), in disk_change()
848 if (FDC(drive) == fdc && in reset_fdc_info()
866 fdc = FDC(drive); in set_fdc()
929 set_dor(FDC(nr), mask, 0); in motor_off_callback()
936 int fdc = FDC(drive); in floppy_off()
3144 if (FDC(drive) != current_fdc) in raw_cmd_ioctl()
3544 outparam = &fdc_state[FDC(drive)]; in fd_locked_ioctl()
3822 v = fdc_state[FDC(drive)]; in compat_getfdcstat()
4051 if (fdc_state[FDC(drive)].rawcmd == 1) in floppy_open()
4052 fdc_state[FDC(drive)].rawcmd = 2; in floppy_open()
4507 if (fdc_state[FDC(drive)].version == FDC_NONE) in floppy_available()