tag | line | file | source code |
current_drive | 215 | drivers/block/floppy.c | #define DP (&drive_params[current_drive]) |
current_drive | 216 | drivers/block/floppy.c | #define DRS (&drive_state[current_drive]) |
current_drive | 217 | drivers/block/floppy.c | #define DRWE (&write_errors[current_drive]) |
current_drive | 231 | drivers/block/floppy.c | #define DPRINT(x) printk(DEVICE_NAME "%d: " x,current_drive) |
current_drive | 233 | drivers/block/floppy.c | #define DPRINT1(x,x1) printk(DEVICE_NAME "%d: " x,current_drive,(x1)) |
current_drive | 235 | drivers/block/floppy.c | #define DPRINT2(x,x1,x2) printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2)) |
current_drive | 237 | drivers/block/floppy.c | #define DPRINT3(x,x1,x2,x3) printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2),(x3)) |
current_drive | 510 | drivers/block/floppy.c | static unsigned char current_drive = 0; |
current_drive | 578 | drivers/block/floppy.c | drive = current_drive; |
current_drive | 684 | drivers/block/floppy.c | floppy_sizes[TOMINOR(current_drive)] = MAX_DISK_SIZE; |
current_drive | 741 | drivers/block/floppy.c | fd_outb(FDCS->dor & ~(0x10<<UNIT(current_drive)),FD_DOR); |
current_drive | 767 | drivers/block/floppy.c | current_drive = drive; |
current_drive | 879 | drivers/block/floppy.c | saved_drive = current_drive; |
current_drive | 906 | drivers/block/floppy.c | if (disk_change(current_drive)){ |
current_drive | 1416 | drivers/block/floppy.c | output_byte(UNIT(current_drive)); |
current_drive | 1449 | drivers/block/floppy.c | disk_change(current_drive) && |
current_drive | 1472 | drivers/block/floppy.c | set_dor(fdc, ~(0x10 << UNIT(current_drive)), 0); |
current_drive | 1491 | drivers/block/floppy.c | output_byte(UNIT(current_drive)); |
current_drive | 1615 | drivers/block/floppy.c | } while ((ST0 & 0x83) != UNIT(current_drive) && inr == 2); |
current_drive | 1629 | drivers/block/floppy.c | LAST_OUT(UNIT(current_drive)); |
current_drive | 1750 | drivers/block/floppy.c | data = UNIT(current_drive); |
current_drive | 1752 | drivers/block/floppy.c | if (!(FDCS->dor & (0x10 << UNIT(current_drive)))){ |
current_drive | 1758 | drivers/block/floppy.c | data |= (0x10 << UNIT(current_drive)); |
current_drive | 1761 | drivers/block/floppy.c | if (FDCS->dor & (0x10 << UNIT(current_drive))) |
current_drive | 1762 | drivers/block/floppy.c | mask &= ~(0x10 << UNIT(current_drive)); |
current_drive | 1765 | drivers/block/floppy.c | del_timer(motor_off_timer + current_drive); |
current_drive | 1786 | drivers/block/floppy.c | disk_change(current_drive) && |
current_drive | 1983 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + PH_HEAD(floppy,format_req.head); |
current_drive | 2176 | drivers/block/floppy.c | current_type[current_drive] = floppy; |
current_drive | 2177 | drivers/block/floppy.c | floppy_sizes[TOMINOR(current_drive) ]= floppy->size>>1; |
current_drive | 2184 | drivers/block/floppy.c | floppy->name,current_drive); |
current_drive | 2185 | drivers/block/floppy.c | current_type[current_drive] = floppy; |
current_drive | 2186 | drivers/block/floppy.c | floppy_sizes[TOMINOR(current_drive)] = floppy->size >> 1; |
current_drive | 2196 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2397 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + PH_HEAD(floppy,HEAD); |
current_drive | 2422 | drivers/block/floppy.c | (current_drive == buffer_drive) && |
current_drive | 2491 | drivers/block/floppy.c | buffer_drive !=current_drive || /* bad drive */ |
current_drive | 2500 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2516 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2595 | drivers/block/floppy.c | if (current_drive < N_DRIVE) |
current_drive | 2596 | drivers/block/floppy.c | floppy_off(current_drive); |
current_drive | 2622 | drivers/block/floppy.c | if (test_bit(current_drive, &fake_change) || |
current_drive | 2811 | drivers/block/floppy.c | if (disk_change(current_drive)) |
current_drive | 2816 | drivers/block/floppy.c | motor_off_callback(current_drive); |
current_drive | 2967 | drivers/block/floppy.c | if (drive == current_drive){ |
current_drive | 3759 | drivers/block/floppy.c | int current_drive=0; |
current_drive | 3765 | drivers/block/floppy.c | current_drive = ints[1]; |
current_drive | 3766 | drivers/block/floppy.c | if (current_drive < 0 || current_drive >= 8){ |
current_drive | 3770 | drivers/block/floppy.c | if (current_drive >= 4 && !FDC2) |
current_drive | 3917 | 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; |