tag | line | file | source code |
current_drive | 211 | drivers/block/floppy.c | #define DP (&drive_params[current_drive]) |
current_drive | 212 | drivers/block/floppy.c | #define DRS (&drive_state[current_drive]) |
current_drive | 213 | drivers/block/floppy.c | #define DRWE (&write_errors[current_drive]) |
current_drive | 227 | drivers/block/floppy.c | #define DPRINT(x) printk(DEVICE_NAME "%d: " x,current_drive) |
current_drive | 229 | drivers/block/floppy.c | #define DPRINT1(x,x1) printk(DEVICE_NAME "%d: " x,current_drive,(x1)) |
current_drive | 231 | drivers/block/floppy.c | #define DPRINT2(x,x1,x2) printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2)) |
current_drive | 233 | drivers/block/floppy.c | #define DPRINT3(x,x1,x2,x3) printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2),(x3)) |
current_drive | 505 | drivers/block/floppy.c | static unsigned char current_drive = 0; |
current_drive | 573 | drivers/block/floppy.c | drive = current_drive; |
current_drive | 679 | drivers/block/floppy.c | floppy_sizes[TOMINOR(current_drive)] = MAX_DISK_SIZE; |
current_drive | 736 | drivers/block/floppy.c | fd_outb(FDCS->dor & ~(0x10<<UNIT(current_drive)),FD_DOR); |
current_drive | 762 | drivers/block/floppy.c | current_drive = drive; |
current_drive | 874 | drivers/block/floppy.c | saved_drive = current_drive; |
current_drive | 901 | drivers/block/floppy.c | if (disk_change(current_drive)){ |
current_drive | 1411 | drivers/block/floppy.c | output_byte(UNIT(current_drive)); |
current_drive | 1444 | drivers/block/floppy.c | disk_change(current_drive) && |
current_drive | 1467 | drivers/block/floppy.c | set_dor(fdc, ~(0x10 << UNIT(current_drive)), 0); |
current_drive | 1486 | drivers/block/floppy.c | output_byte(UNIT(current_drive)); |
current_drive | 1610 | drivers/block/floppy.c | } while ((ST0 & 0x83) != UNIT(current_drive) && inr == 2); |
current_drive | 1624 | drivers/block/floppy.c | LAST_OUT(UNIT(current_drive)); |
current_drive | 1745 | drivers/block/floppy.c | data = UNIT(current_drive); |
current_drive | 1747 | drivers/block/floppy.c | if (!(FDCS->dor & (0x10 << UNIT(current_drive)))){ |
current_drive | 1753 | drivers/block/floppy.c | data |= (0x10 << UNIT(current_drive)); |
current_drive | 1756 | drivers/block/floppy.c | if (FDCS->dor & (0x10 << UNIT(current_drive))) |
current_drive | 1757 | drivers/block/floppy.c | mask &= ~(0x10 << UNIT(current_drive)); |
current_drive | 1760 | drivers/block/floppy.c | del_timer(motor_off_timer + current_drive); |
current_drive | 1781 | drivers/block/floppy.c | disk_change(current_drive) && |
current_drive | 1978 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + PH_HEAD(floppy,format_req.head); |
current_drive | 2172 | drivers/block/floppy.c | current_type[current_drive] = floppy; |
current_drive | 2173 | drivers/block/floppy.c | floppy_sizes[TOMINOR(current_drive) ]= floppy->size>>1; |
current_drive | 2180 | drivers/block/floppy.c | floppy->name,current_drive); |
current_drive | 2181 | drivers/block/floppy.c | current_type[current_drive] = floppy; |
current_drive | 2182 | drivers/block/floppy.c | floppy_sizes[TOMINOR(current_drive)] = floppy->size >> 1; |
current_drive | 2192 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2393 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + PH_HEAD(floppy,HEAD); |
current_drive | 2418 | drivers/block/floppy.c | (current_drive == buffer_drive) && |
current_drive | 2487 | drivers/block/floppy.c | buffer_drive !=current_drive || /* bad drive */ |
current_drive | 2496 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2512 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2591 | drivers/block/floppy.c | if (current_drive < N_DRIVE) |
current_drive | 2592 | drivers/block/floppy.c | floppy_off(current_drive); |
current_drive | 2618 | drivers/block/floppy.c | if (test_bit(current_drive, &fake_change) || |
current_drive | 2807 | drivers/block/floppy.c | if (disk_change(current_drive)) |
current_drive | 2812 | drivers/block/floppy.c | motor_off_callback(current_drive); |
current_drive | 2963 | drivers/block/floppy.c | if (drive == current_drive){ |
current_drive | 3755 | drivers/block/floppy.c | int current_drive=0; |
current_drive | 3761 | drivers/block/floppy.c | current_drive = ints[1]; |
current_drive | 3762 | drivers/block/floppy.c | if (current_drive < 0 || current_drive >= 8){ |
current_drive | 3766 | drivers/block/floppy.c | if (current_drive >= 4 && !FDC2) |
current_drive | 3913 | drivers/block/floppy.c | current_drive = 0; |
current_drive | 140 | drivers/cdrom/gscd.c | static unsigned char current_drive; |
current_drive | 433 | drivers/cdrom/gscd.c | current_drive = 0xFF; |