tag | line | file | source code |
current_drive | 216 | drivers/block/floppy.c | #define DP (&drive_params[current_drive]) |
current_drive | 217 | drivers/block/floppy.c | #define DRS (&drive_state[current_drive]) |
current_drive | 218 | drivers/block/floppy.c | #define DRWE (&write_errors[current_drive]) |
current_drive | 232 | drivers/block/floppy.c | #define DPRINT(x) printk(DEVICE_NAME "%d: " x,current_drive) |
current_drive | 234 | drivers/block/floppy.c | #define DPRINT1(x,x1) printk(DEVICE_NAME "%d: " x,current_drive,(x1)) |
current_drive | 236 | drivers/block/floppy.c | #define DPRINT2(x,x1,x2) printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2)) |
current_drive | 238 | drivers/block/floppy.c | #define DPRINT3(x,x1,x2,x3) printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2),(x3)) |
current_drive | 511 | drivers/block/floppy.c | static unsigned char current_drive = 0; |
current_drive | 579 | drivers/block/floppy.c | drive = current_drive; |
current_drive | 685 | drivers/block/floppy.c | floppy_sizes[TOMINOR(current_drive)] = MAX_DISK_SIZE; |
current_drive | 742 | drivers/block/floppy.c | fd_outb(FDCS->dor & ~(0x10<<UNIT(current_drive)),FD_DOR); |
current_drive | 768 | drivers/block/floppy.c | current_drive = drive; |
current_drive | 880 | drivers/block/floppy.c | saved_drive = current_drive; |
current_drive | 907 | drivers/block/floppy.c | if (disk_change(current_drive)){ |
current_drive | 1417 | drivers/block/floppy.c | output_byte(UNIT(current_drive)); |
current_drive | 1450 | drivers/block/floppy.c | disk_change(current_drive) && |
current_drive | 1473 | drivers/block/floppy.c | set_dor(fdc, ~(0x10 << UNIT(current_drive)), 0); |
current_drive | 1492 | drivers/block/floppy.c | output_byte(UNIT(current_drive)); |
current_drive | 1616 | drivers/block/floppy.c | } while ((ST0 & 0x83) != UNIT(current_drive) && inr == 2); |
current_drive | 1630 | drivers/block/floppy.c | LAST_OUT(UNIT(current_drive)); |
current_drive | 1751 | drivers/block/floppy.c | data = UNIT(current_drive); |
current_drive | 1753 | drivers/block/floppy.c | if (!(FDCS->dor & (0x10 << UNIT(current_drive)))){ |
current_drive | 1759 | drivers/block/floppy.c | data |= (0x10 << UNIT(current_drive)); |
current_drive | 1762 | drivers/block/floppy.c | if (FDCS->dor & (0x10 << UNIT(current_drive))) |
current_drive | 1763 | drivers/block/floppy.c | mask &= ~(0x10 << UNIT(current_drive)); |
current_drive | 1766 | drivers/block/floppy.c | del_timer(motor_off_timer + current_drive); |
current_drive | 1787 | drivers/block/floppy.c | disk_change(current_drive) && |
current_drive | 1984 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + PH_HEAD(floppy,format_req.head); |
current_drive | 2177 | drivers/block/floppy.c | current_type[current_drive] = floppy; |
current_drive | 2178 | drivers/block/floppy.c | floppy_sizes[TOMINOR(current_drive) ]= floppy->size>>1; |
current_drive | 2185 | drivers/block/floppy.c | floppy->name,current_drive); |
current_drive | 2186 | drivers/block/floppy.c | current_type[current_drive] = floppy; |
current_drive | 2187 | drivers/block/floppy.c | floppy_sizes[TOMINOR(current_drive)] = floppy->size >> 1; |
current_drive | 2197 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2398 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + PH_HEAD(floppy,HEAD); |
current_drive | 2423 | drivers/block/floppy.c | (current_drive == buffer_drive) && |
current_drive | 2492 | drivers/block/floppy.c | buffer_drive !=current_drive || /* bad drive */ |
current_drive | 2501 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2517 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2596 | drivers/block/floppy.c | if (current_drive < N_DRIVE) |
current_drive | 2597 | drivers/block/floppy.c | floppy_off(current_drive); |
current_drive | 2623 | drivers/block/floppy.c | if (test_bit(current_drive, &fake_change) || |
current_drive | 2812 | drivers/block/floppy.c | if (disk_change(current_drive)) |
current_drive | 2817 | drivers/block/floppy.c | motor_off_callback(current_drive); |
current_drive | 2968 | drivers/block/floppy.c | if (drive == current_drive){ |
current_drive | 3760 | drivers/block/floppy.c | int current_drive=0; |
current_drive | 3766 | drivers/block/floppy.c | current_drive = ints[1]; |
current_drive | 3767 | drivers/block/floppy.c | if (current_drive < 0 || current_drive >= 8){ |
current_drive | 3771 | drivers/block/floppy.c | if (current_drive >= 4 && !FDC2) |
current_drive | 3918 | 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; |