| tag | line | file | source code |
| current_drive | 284 | drivers/block/floppy.c | #define DP (&drive_params[current_drive]) |
| current_drive | 285 | drivers/block/floppy.c | #define DRS (&drive_state[current_drive]) |
| current_drive | 286 | drivers/block/floppy.c | #define DRWE (&write_errors[current_drive]) |
| current_drive | 300 | drivers/block/floppy.c | #define DPRINT(x) printk(DEVICE_NAME "%d: " x,current_drive) |
| current_drive | 302 | drivers/block/floppy.c | #define DPRINT1(x,x1) printk(DEVICE_NAME "%d: " x,current_drive,(x1)) |
| current_drive | 304 | drivers/block/floppy.c | #define DPRINT2(x,x1,x2) printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2)) |
| current_drive | 306 | drivers/block/floppy.c | #define DPRINT3(x,x1,x2,x3) printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2),(x3)) |
| current_drive | 578 | drivers/block/floppy.c | static unsigned char current_drive = 0; |
| current_drive | 648 | drivers/block/floppy.c | drive = current_drive; |
| current_drive | 735 | drivers/block/floppy.c | floppy_sizes[TOMINOR(current_drive)] = MAX_DISK_SIZE; |
| current_drive | 792 | drivers/block/floppy.c | fd_outb(FDCS->dor & ~(0x10<<UNIT(current_drive)),FD_DOR); |
| current_drive | 818 | drivers/block/floppy.c | current_drive = drive; |
| current_drive | 926 | drivers/block/floppy.c | saved_drive = current_drive; |
| current_drive | 953 | drivers/block/floppy.c | if ( disk_change(current_drive) ){ |
| current_drive | 1488 | drivers/block/floppy.c | output_byte( UNIT(current_drive) ); |
| current_drive | 1521 | drivers/block/floppy.c | disk_change(current_drive) && |
| current_drive | 1544 | 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 | 1687 | drivers/block/floppy.c | } while ( (ST0 & 0x83) != UNIT(current_drive) && inr == 2); |
| current_drive | 1701 | drivers/block/floppy.c | LAST_OUT(UNIT(current_drive)); |
| current_drive | 1829 | drivers/block/floppy.c | data = UNIT(current_drive); |
| current_drive | 1831 | drivers/block/floppy.c | if(!(FDCS->dor & ( 0x10 << UNIT(current_drive) ) )){ |
| current_drive | 1837 | drivers/block/floppy.c | data |= (0x10 << UNIT(current_drive)); |
| current_drive | 1840 | drivers/block/floppy.c | if (FDCS->dor & ( 0x10 << UNIT(current_drive) ) ) |
| current_drive | 1841 | drivers/block/floppy.c | mask &= ~(0x10 << UNIT(current_drive)); |
| current_drive | 1844 | drivers/block/floppy.c | del_timer(motor_off_timer + current_drive); |
| current_drive | 1865 | drivers/block/floppy.c | disk_change(current_drive) && |
| current_drive | 2063 | 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 | 2488 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + PH_HEAD(floppy,HEAD); |
| current_drive | 2512 | drivers/block/floppy.c | if ((raw_cmd->track == buffer_track) && (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 | 2705 | drivers/block/floppy.c | if(test_bit(current_drive, &fake_change) || |
| current_drive | 2904 | drivers/block/floppy.c | if( disk_change(current_drive) ) |
| current_drive | 2909 | drivers/block/floppy.c | motor_off_callback(current_drive); |
| current_drive | 3059 | drivers/block/floppy.c | if ( drive == current_drive ){ |
| current_drive | 3732 | drivers/block/floppy.c | int current_drive=0; |
| current_drive | 3738 | drivers/block/floppy.c | current_drive = ints[1]; |
| current_drive | 3739 | drivers/block/floppy.c | if (current_drive < 0 || current_drive >= 8 ){ |
| current_drive | 3743 | drivers/block/floppy.c | if(current_drive >= 4 && !FDC2) |
| current_drive | 3900 | drivers/block/floppy.c | current_drive = 0; |
| current_drive | 148 | drivers/cdrom/gscd.c | static unsigned char current_drive; |
| current_drive | 445 | drivers/cdrom/gscd.c | current_drive = 0xFF; |