tag | line | file | source code |
current_drive | 217 | drivers/block/floppy.c | #define DP (&drive_params[current_drive]) |
current_drive | 218 | drivers/block/floppy.c | #define DRS (&drive_state[current_drive]) |
current_drive | 219 | drivers/block/floppy.c | #define DRWE (&write_errors[current_drive]) |
current_drive | 233 | drivers/block/floppy.c | #define DPRINT(x) printk(DEVICE_NAME "%d: " x,current_drive) |
current_drive | 236 | drivers/block/floppy.c | printk(DEVICE_NAME "%d: " x,current_drive,(x1)) |
current_drive | 239 | drivers/block/floppy.c | printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2)) |
current_drive | 242 | drivers/block/floppy.c | printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2),(x3)) |
current_drive | 528 | drivers/block/floppy.c | static unsigned char current_drive = 0; |
current_drive | 599 | drivers/block/floppy.c | drive = current_drive; |
current_drive | 686 | drivers/block/floppy.c | floppy_sizes[DRIVE(current_drive) + (FDC(current_drive) << 7)] = MAX_DISK_SIZE; |
current_drive | 743 | drivers/block/floppy.c | outb_p(FDCS->dor & ~(0x10<<UNIT(current_drive)),FD_DOR); |
current_drive | 769 | drivers/block/floppy.c | current_drive = drive; |
current_drive | 878 | drivers/block/floppy.c | saved_drive = current_drive; |
current_drive | 905 | drivers/block/floppy.c | if ( disk_change(current_drive) ){ |
current_drive | 1436 | drivers/block/floppy.c | output_byte( UNIT(current_drive) ); |
current_drive | 1469 | drivers/block/floppy.c | disk_change(current_drive) && |
current_drive | 1492 | drivers/block/floppy.c | set_dor(fdc, ~(0x10 << UNIT(current_drive)), 0); |
current_drive | 1511 | drivers/block/floppy.c | output_byte(UNIT(current_drive)); |
current_drive | 1633 | drivers/block/floppy.c | } while ( (ST0 & 0x83) != UNIT(current_drive) && inr == 2); |
current_drive | 1647 | drivers/block/floppy.c | LAST_OUT(UNIT(current_drive)); |
current_drive | 1774 | drivers/block/floppy.c | data = UNIT(current_drive); |
current_drive | 1776 | drivers/block/floppy.c | if(!(FDCS->dor & ( 0x10 << UNIT(current_drive) ) )){ |
current_drive | 1782 | drivers/block/floppy.c | data |= (0x10 << UNIT(current_drive)); |
current_drive | 1785 | drivers/block/floppy.c | if (FDCS->dor & ( 0x10 << UNIT(current_drive) ) ) |
current_drive | 1786 | drivers/block/floppy.c | mask &= ~(0x10 << UNIT(current_drive)); |
current_drive | 1789 | drivers/block/floppy.c | del_timer(motor_off_timer + current_drive); |
current_drive | 1810 | drivers/block/floppy.c | disk_change(current_drive) && |
current_drive | 2013 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + PH_HEAD(floppy,format_req.head); |
current_drive | 2210 | drivers/block/floppy.c | current_type[current_drive] = floppy; |
current_drive | 2211 | drivers/block/floppy.c | floppy_sizes[DRIVE(current_drive) + (FDC(current_drive) << 7)] = |
current_drive | 2219 | drivers/block/floppy.c | floppy->name,current_drive); |
current_drive | 2220 | drivers/block/floppy.c | current_type[current_drive] = floppy; |
current_drive | 2221 | drivers/block/floppy.c | floppy_sizes[DRIVE(current_drive) + (FDC(current_drive) << 7)] = |
current_drive | 2231 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2435 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + PH_HEAD(floppy,HEAD); |
current_drive | 2459 | drivers/block/floppy.c | if ((raw_cmd.track == buffer_track) && (current_drive == buffer_drive) && |
current_drive | 2521 | drivers/block/floppy.c | buffer_drive !=current_drive || /* bad drive */ |
current_drive | 2530 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2545 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2626 | drivers/block/floppy.c | if (current_drive < N_DRIVE) |
current_drive | 2627 | drivers/block/floppy.c | floppy_off(current_drive); |
current_drive | 2659 | drivers/block/floppy.c | if(test_bit(current_drive, &fake_change) || |
current_drive | 2837 | drivers/block/floppy.c | if ( drive == current_drive ){ |
current_drive | 2878 | drivers/block/floppy.c | if( disk_change(current_drive) ) |
current_drive | 2883 | drivers/block/floppy.c | motor_off_callback(current_drive); |
current_drive | 3501 | drivers/block/floppy.c | int current_drive=0; |
current_drive | 3507 | drivers/block/floppy.c | current_drive = ints[1]; |
current_drive | 3508 | drivers/block/floppy.c | if (current_drive < 0 || current_drive >= 8 ){ |
current_drive | 3659 | drivers/block/floppy.c | current_drive = 0; |
current_drive | 148 | drivers/block/gscd.c | static unsigned char current_drive; |
current_drive | 445 | drivers/block/gscd.c | current_drive = 0xFF; |