| tag | line | file | source code |
| current_drive | 237 | drivers/block/floppy.c | #define DP (&drive_params[current_drive]) |
| current_drive | 238 | drivers/block/floppy.c | #define DRS (&drive_state[current_drive]) |
| current_drive | 239 | drivers/block/floppy.c | #define DRWE (&write_errors[current_drive]) |
| current_drive | 253 | drivers/block/floppy.c | #define DPRINT(x) printk(DEVICE_NAME "%d: " x,current_drive) |
| current_drive | 255 | drivers/block/floppy.c | #define DPRINT1(x,x1) printk(DEVICE_NAME "%d: " x,current_drive,(x1)) |
| current_drive | 257 | drivers/block/floppy.c | #define DPRINT2(x,x1,x2) printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2)) |
| current_drive | 259 | drivers/block/floppy.c | #define DPRINT3(x,x1,x2,x3) printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2),(x3)) |
| current_drive | 531 | drivers/block/floppy.c | static unsigned char current_drive = 0; |
| current_drive | 599 | drivers/block/floppy.c | drive = current_drive; |
| current_drive | 705 | drivers/block/floppy.c | floppy_sizes[TOMINOR(current_drive)] = MAX_DISK_SIZE; |
| current_drive | 762 | drivers/block/floppy.c | fd_outb(FDCS->dor & ~(0x10<<UNIT(current_drive)),FD_DOR); |
| current_drive | 788 | drivers/block/floppy.c | current_drive = drive; |
| current_drive | 902 | drivers/block/floppy.c | saved_drive = current_drive; |
| current_drive | 929 | drivers/block/floppy.c | if (disk_change(current_drive)){ |
| current_drive | 1479 | drivers/block/floppy.c | output_byte(UNIT(current_drive)); |
| current_drive | 1512 | drivers/block/floppy.c | disk_change(current_drive) && |
| current_drive | 1535 | drivers/block/floppy.c | set_dor(fdc, ~(0x10 << UNIT(current_drive)), 0); |
| current_drive | 1563 | drivers/block/floppy.c | output_byte(UNIT(current_drive)); |
| current_drive | 1688 | drivers/block/floppy.c | } while ((ST0 & 0x83) != UNIT(current_drive) && inr == 2); |
| current_drive | 1702 | drivers/block/floppy.c | LAST_OUT(UNIT(current_drive)); |
| current_drive | 1827 | drivers/block/floppy.c | data = UNIT(current_drive); |
| current_drive | 1829 | drivers/block/floppy.c | if (!(FDCS->dor & (0x10 << UNIT(current_drive)))){ |
| current_drive | 1835 | drivers/block/floppy.c | data |= (0x10 << UNIT(current_drive)); |
| current_drive | 1838 | drivers/block/floppy.c | if (FDCS->dor & (0x10 << UNIT(current_drive))) |
| current_drive | 1839 | drivers/block/floppy.c | mask &= ~(0x10 << UNIT(current_drive)); |
| current_drive | 1842 | drivers/block/floppy.c | del_timer(motor_off_timer + current_drive); |
| current_drive | 1863 | drivers/block/floppy.c | disk_change(current_drive) && |
| current_drive | 2060 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + PH_HEAD(_floppy,format_req.head); |
| current_drive | 2259 | drivers/block/floppy.c | current_type[current_drive] = _floppy; |
| current_drive | 2260 | drivers/block/floppy.c | floppy_sizes[TOMINOR(current_drive) ]= _floppy->size>>1; |
| current_drive | 2267 | drivers/block/floppy.c | _floppy->name,current_drive); |
| current_drive | 2268 | drivers/block/floppy.c | current_type[current_drive] = _floppy; |
| current_drive | 2269 | drivers/block/floppy.c | floppy_sizes[TOMINOR(current_drive)] = _floppy->size >> 1; |
| current_drive | 2279 | drivers/block/floppy.c | buffer_drive = current_drive; |
| current_drive | 2480 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + PH_HEAD(_floppy,HEAD); |
| current_drive | 2505 | drivers/block/floppy.c | (current_drive == buffer_drive) && |
| current_drive | 2574 | drivers/block/floppy.c | buffer_drive !=current_drive || /* bad drive */ |
| current_drive | 2583 | drivers/block/floppy.c | buffer_drive = current_drive; |
| current_drive | 2599 | drivers/block/floppy.c | buffer_drive = current_drive; |
| current_drive | 2678 | drivers/block/floppy.c | if (current_drive < N_DRIVE) |
| current_drive | 2679 | drivers/block/floppy.c | floppy_off(current_drive); |
| current_drive | 2706 | drivers/block/floppy.c | if (test_bit(current_drive, &fake_change) || |
| current_drive | 2895 | drivers/block/floppy.c | if (disk_change(current_drive)) |
| current_drive | 2900 | drivers/block/floppy.c | motor_off_callback(current_drive); |
| current_drive | 3051 | drivers/block/floppy.c | if (drive == current_drive){ |
| current_drive | 3862 | drivers/block/floppy.c | int current_drive=0; |
| current_drive | 3868 | drivers/block/floppy.c | current_drive = ints[1]; |
| current_drive | 3869 | drivers/block/floppy.c | if (current_drive < 0 || current_drive >= 8){ |
| current_drive | 3873 | drivers/block/floppy.c | if (current_drive >= 4 && !FDC2) |
| current_drive | 4034 | 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; |