tag | line | file | source code |
current_drive | 162 | drivers/block/floppy.c | #define DP (&drive_params[current_drive]) |
current_drive | 163 | drivers/block/floppy.c | #define DRS (&drive_state[current_drive]) |
current_drive | 164 | drivers/block/floppy.c | #define DRWE (&write_errors[current_drive]) |
current_drive | 178 | drivers/block/floppy.c | #define DPRINT(x) printk(DEVICE_NAME "%d: " x,current_drive) |
current_drive | 181 | drivers/block/floppy.c | printk(DEVICE_NAME "%d: " x,current_drive,(x1)) |
current_drive | 184 | drivers/block/floppy.c | printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2)) |
current_drive | 187 | drivers/block/floppy.c | printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2),(x3)) |
current_drive | 456 | drivers/block/floppy.c | static unsigned char current_drive = 0; |
current_drive | 555 | drivers/block/floppy.c | floppy_sizes[DRIVE(current_drive) + (FDC(current_drive) << 7)] = MAX_DISK_SIZE; |
current_drive | 612 | drivers/block/floppy.c | outb_p(FDCS->dor & ~(0x10<<UNIT(current_drive)),FD_DOR); |
current_drive | 638 | drivers/block/floppy.c | current_drive = drive; |
current_drive | 748 | drivers/block/floppy.c | saved_drive = current_drive; |
current_drive | 775 | drivers/block/floppy.c | if ( disk_change(current_drive) ){ |
current_drive | 1283 | drivers/block/floppy.c | output_byte( UNIT(current_drive) ); |
current_drive | 1316 | drivers/block/floppy.c | disk_change(current_drive) && |
current_drive | 1339 | drivers/block/floppy.c | set_dor(fdc, ~(0x10 << UNIT(current_drive)), 0); |
current_drive | 1358 | drivers/block/floppy.c | output_byte(UNIT(current_drive)); |
current_drive | 1475 | drivers/block/floppy.c | } while ( (ST0 & 0x83) != UNIT(current_drive) && inr == 2); |
current_drive | 1488 | drivers/block/floppy.c | LAST_OUT(UNIT(current_drive)); |
current_drive | 1585 | drivers/block/floppy.c | data = UNIT(current_drive); |
current_drive | 1587 | drivers/block/floppy.c | if(!(FDCS->dor & ( 0x10 << UNIT(current_drive) ) )){ |
current_drive | 1593 | drivers/block/floppy.c | data |= (0x10 << UNIT(current_drive)); |
current_drive | 1596 | drivers/block/floppy.c | if (FDCS->dor & ( 0x10 << UNIT(current_drive) ) ) |
current_drive | 1597 | drivers/block/floppy.c | mask &= ~(0x10 << UNIT(current_drive)); |
current_drive | 1600 | drivers/block/floppy.c | del_timer(motor_off_timer + current_drive); |
current_drive | 1621 | drivers/block/floppy.c | disk_change(current_drive) && |
current_drive | 1824 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + ( format_req.head << 2 ); |
current_drive | 2021 | drivers/block/floppy.c | current_type[current_drive] = floppy; |
current_drive | 2022 | drivers/block/floppy.c | floppy_sizes[DRIVE(current_drive) + (FDC(current_drive) << 7)] = |
current_drive | 2030 | drivers/block/floppy.c | floppy->name,current_drive); |
current_drive | 2031 | drivers/block/floppy.c | current_type[current_drive] = floppy; |
current_drive | 2032 | drivers/block/floppy.c | floppy_sizes[DRIVE(current_drive) + (FDC(current_drive) << 7)] = |
current_drive | 2042 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2244 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + ( HEAD << 2 ); |
current_drive | 2268 | drivers/block/floppy.c | if ((raw_cmd.track == buffer_track) && (current_drive == buffer_drive) && |
current_drive | 2325 | drivers/block/floppy.c | buffer_drive !=current_drive || /* bad drive */ |
current_drive | 2333 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2348 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2423 | drivers/block/floppy.c | if (current_drive < N_DRIVE) |
current_drive | 2424 | drivers/block/floppy.c | floppy_off(current_drive); |
current_drive | 2456 | drivers/block/floppy.c | if(test_bit(current_drive, &fake_change) || |
current_drive | 2632 | drivers/block/floppy.c | if ( drive == current_drive ){ |
current_drive | 2669 | drivers/block/floppy.c | if( disk_change(current_drive) ) |
current_drive | 2674 | drivers/block/floppy.c | motor_off_callback(current_drive); |
current_drive | 3262 | drivers/block/floppy.c | int current_drive=0; |
current_drive | 3268 | drivers/block/floppy.c | current_drive = ints[1]; |
current_drive | 3269 | drivers/block/floppy.c | if (current_drive < 0 || current_drive >= 8 ){ |
current_drive | 3415 | drivers/block/floppy.c | current_drive = 0; |