current_drive 87 arch/arm/include/asm/floppy.h current_drive = drive_count; current_drive 155 drivers/block/floppy.c pr_info("floppy%d: " format, current_drive, ##args) current_drive 309 drivers/block/floppy.c #define DP (&drive_params[current_drive]) current_drive 310 drivers/block/floppy.c #define DRS (&drive_state[current_drive]) current_drive 311 drivers/block/floppy.c #define DRWE (&write_errors[current_drive]) current_drive 601 drivers/block/floppy.c static unsigned char current_drive; current_drive 680 drivers/block/floppy.c drive = current_drive; current_drive 831 drivers/block/floppy.c fd_outb(FDCS->dor & ~(0x10 << UNIT(current_drive)), FD_DOR); current_drive 860 drivers/block/floppy.c current_drive = drive; current_drive 958 drivers/block/floppy.c saved_drive = current_drive; current_drive 1016 drivers/block/floppy.c if (disk_change(current_drive)) { current_drive 1298 drivers/block/floppy.c output_byte(UNIT(current_drive)); current_drive 1549 drivers/block/floppy.c output_byte(UNIT(current_drive)); current_drive 1575 drivers/block/floppy.c disk_change(current_drive) && (raw_cmd->flags & FD_RAW_NEED_DISK)) { current_drive 1597 drivers/block/floppy.c set_dor(fdc, ~(0x10 << UNIT(current_drive)), 0); current_drive 1616 drivers/block/floppy.c output_byte(UNIT(current_drive)); current_drive 1728 drivers/block/floppy.c } while ((ST0 & 0x83) != UNIT(current_drive) && current_drive 1747 drivers/block/floppy.c if (output_byte(UNIT(current_drive)) < 0) current_drive 1871 drivers/block/floppy.c data = UNIT(current_drive); current_drive 1873 drivers/block/floppy.c if (!(FDCS->dor & (0x10 << UNIT(current_drive)))) { current_drive 1879 drivers/block/floppy.c data |= (0x10 << UNIT(current_drive)); current_drive 1881 drivers/block/floppy.c } else if (FDCS->dor & (0x10 << UNIT(current_drive))) current_drive 1882 drivers/block/floppy.c mask &= ~(0x10 << UNIT(current_drive)); current_drive 1885 drivers/block/floppy.c del_timer(motor_off_timer + current_drive); current_drive 1906 drivers/block/floppy.c disk_change(current_drive) && !DP->select_delay) current_drive 2117 drivers/block/floppy.c DR_SELECT = UNIT(current_drive) + PH_HEAD(_floppy, format_req.head); current_drive 2344 drivers/block/floppy.c current_type[current_drive] = _floppy; current_drive 2345 drivers/block/floppy.c floppy_sizes[TOMINOR(current_drive)] = _floppy->size; current_drive 2352 drivers/block/floppy.c _floppy->name, current_drive); current_drive 2353 drivers/block/floppy.c current_type[current_drive] = _floppy; current_drive 2354 drivers/block/floppy.c floppy_sizes[TOMINOR(current_drive)] = _floppy->size; current_drive 2364 drivers/block/floppy.c buffer_drive = current_drive; current_drive 2590 drivers/block/floppy.c DR_SELECT = UNIT(current_drive) + PH_HEAD(_floppy, HEAD); current_drive 2628 drivers/block/floppy.c (current_drive == buffer_drive) && current_drive 2703 drivers/block/floppy.c buffer_drive != current_drive || /* bad drive */ current_drive 2712 drivers/block/floppy.c buffer_drive = current_drive; current_drive 2726 drivers/block/floppy.c buffer_drive = current_drive; current_drive 2816 drivers/block/floppy.c if (current_drive < N_DRIVE) current_drive 2817 drivers/block/floppy.c floppy_off(current_drive); current_drive 2842 drivers/block/floppy.c disk_change(current_drive); current_drive 2843 drivers/block/floppy.c if (test_bit(current_drive, &fake_change) || current_drive 3041 drivers/block/floppy.c if (disk_change(current_drive)) current_drive 3046 drivers/block/floppy.c motor_off_callback(&motor_off_timer[current_drive]); current_drive 3187 drivers/block/floppy.c if (drive == current_drive) { current_drive 4369 drivers/block/floppy.c int current_drive = 0; current_drive 4375 drivers/block/floppy.c current_drive = ints[1]; current_drive 4376 drivers/block/floppy.c if (current_drive < 0 || current_drive >= 8) { current_drive 4381 drivers/block/floppy.c if (current_drive >= 4 && !FDC2) current_drive 4689 drivers/block/floppy.c current_drive = 0;