Lines Matching refs:FDC
300 #define FDC(x) (((x) & 0x04) >> 2) /* fdc of drive */ macro
312 #define UFDCS (&fdc_state[FDC(drive)])
732 int fdc = FDC(drive); in disk_change()
737 (FDCS->dor & 3) != UNIT(drive) || fdc != FDC(drive)) { in disk_change()
739 DPRINT("drive=%d fdc=%d dor=%x\n", drive, FDC(drive), in disk_change()
840 if (FDC(drive) == fdc && (mode || UDRS->track != NEED_1_RECAL)) in reset_fdc_info()
848 fdc = FDC(drive); in set_fdc()
910 set_dor(FDC(nr), mask, 0); in motor_off_callback()
917 int fdc = FDC(drive); in floppy_off()
3206 if (FDC(drive) != fdc) in raw_cmd_ioctl()
4168 fdc_state[FDC(drive)].version == FDC_NONE) in floppy_find()
4332 if (fdc_state[FDC(drive)].version == FDC_NONE) in floppy_init()
4576 fdc_state[FDC(drive)].version != FDC_NONE) { in floppy_module_exit()