tag | line | file | source code |
current_drive | 153 | drivers/block/floppy.c | #define DP (&drive_params[current_drive]) |
current_drive | 154 | drivers/block/floppy.c | #define DRS (&drive_state[current_drive]) |
current_drive | 155 | drivers/block/floppy.c | #define DRWE (&write_errors[current_drive]) |
current_drive | 169 | drivers/block/floppy.c | #define DPRINT(x) printk(DEVICE_NAME "%d: " x,current_drive); |
current_drive | 172 | drivers/block/floppy.c | printk(DEVICE_NAME "%d: " x,current_drive,(x1)); |
current_drive | 175 | drivers/block/floppy.c | printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2)); |
current_drive | 178 | drivers/block/floppy.c | printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2),(x3)); |
current_drive | 450 | drivers/block/floppy.c | static unsigned char current_drive = 0; |
current_drive | 549 | drivers/block/floppy.c | floppy_sizes[DRIVE(current_drive) + (FDC(current_drive) << 7)] = MAX_DISK_SIZE; |
current_drive | 606 | drivers/block/floppy.c | outb_p(FDCS->dor & ~(0x10<<UNIT(current_drive)),FD_DOR); |
current_drive | 632 | drivers/block/floppy.c | current_drive = drive; |
current_drive | 747 | drivers/block/floppy.c | saved_drive = current_drive; |
current_drive | 774 | drivers/block/floppy.c | if ( disk_change(current_drive) ){ |
current_drive | 1251 | drivers/block/floppy.c | output_byte( UNIT(current_drive) ); |
current_drive | 1284 | drivers/block/floppy.c | disk_change(current_drive) && |
current_drive | 1307 | drivers/block/floppy.c | set_dor(fdc, ~(0x10 << UNIT(current_drive)), 0); |
current_drive | 1326 | drivers/block/floppy.c | output_byte(UNIT(current_drive)); |
current_drive | 1438 | drivers/block/floppy.c | } while ( (ST0 & 0x83) != UNIT(current_drive) && inr == 2); |
current_drive | 1451 | drivers/block/floppy.c | LAST_OUT(UNIT(current_drive)); |
current_drive | 1547 | drivers/block/floppy.c | data = UNIT(current_drive); |
current_drive | 1549 | drivers/block/floppy.c | if(!(FDCS->dor & ( 0x10 << UNIT(current_drive) ) )){ |
current_drive | 1555 | drivers/block/floppy.c | data |= (0x10 << UNIT(current_drive)); |
current_drive | 1558 | drivers/block/floppy.c | if (FDCS->dor & ( 0x10 << UNIT(current_drive) ) ) |
current_drive | 1559 | drivers/block/floppy.c | mask &= ~(0x10 << UNIT(current_drive)); |
current_drive | 1562 | drivers/block/floppy.c | del_timer(motor_off_timer + current_drive); |
current_drive | 1583 | drivers/block/floppy.c | disk_change(current_drive) && |
current_drive | 1785 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + ( format_req.head << 2 ); |
current_drive | 1982 | drivers/block/floppy.c | current_type[current_drive] = floppy; |
current_drive | 1983 | drivers/block/floppy.c | floppy_sizes[DRIVE(current_drive) + (FDC(current_drive) << 7)] = |
current_drive | 1991 | drivers/block/floppy.c | floppy->name,current_drive); |
current_drive | 1992 | drivers/block/floppy.c | current_type[current_drive] = floppy; |
current_drive | 1993 | drivers/block/floppy.c | floppy_sizes[DRIVE(current_drive) + (FDC(current_drive) << 7)] = |
current_drive | 2003 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2205 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + ( HEAD << 2 ); |
current_drive | 2229 | drivers/block/floppy.c | if ((raw_cmd.track == buffer_track) && (current_drive == buffer_drive) && |
current_drive | 2286 | drivers/block/floppy.c | buffer_drive !=current_drive || /* bad drive */ |
current_drive | 2294 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2309 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2384 | drivers/block/floppy.c | if (current_drive < N_DRIVE) |
current_drive | 2385 | drivers/block/floppy.c | floppy_off(current_drive); |
current_drive | 2417 | drivers/block/floppy.c | if(test_bit(current_drive, &fake_change) || |
current_drive | 2593 | drivers/block/floppy.c | if ( drive == current_drive ){ |
current_drive | 2630 | drivers/block/floppy.c | if( disk_change(current_drive) ) |
current_drive | 2635 | drivers/block/floppy.c | motor_off_callback(current_drive); |
current_drive | 3302 | drivers/block/floppy.c | current_drive = 0; |