tag | line | file | source code |
current_drive | 160 | drivers/block/floppy.c | #define DP (&drive_params[current_drive]) |
current_drive | 161 | drivers/block/floppy.c | #define DRS (&drive_state[current_drive]) |
current_drive | 162 | drivers/block/floppy.c | #define DRWE (&write_errors[current_drive]) |
current_drive | 170 | drivers/block/floppy.c | #define DPRINT(x) printk(DEVICE_NAME "%d: " x,current_drive); |
current_drive | 173 | drivers/block/floppy.c | printk(DEVICE_NAME "%d: " x,current_drive,(x1)); |
current_drive | 176 | drivers/block/floppy.c | printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2)); |
current_drive | 179 | drivers/block/floppy.c | printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2),(x3)); |
current_drive | 442 | drivers/block/floppy.c | static unsigned char current_drive = 255; |
current_drive | 552 | drivers/block/floppy.c | outb_p(FDCS->dor & ~(0x10<<UNIT(current_drive)),FD_DOR); |
current_drive | 579 | drivers/block/floppy.c | current_drive = drive; |
current_drive | 684 | drivers/block/floppy.c | saved_drive = current_drive % N_DRIVE; |
current_drive | 699 | drivers/block/floppy.c | current_drive = saved_drive; |
current_drive | 709 | drivers/block/floppy.c | if ( disk_change(current_drive) ){ |
current_drive | 1118 | drivers/block/floppy.c | if (wait_for_completion(current_drive,ready_date,function)) |
current_drive | 1162 | drivers/block/floppy.c | set_dor(fdc, ~0, (0x10 << UNIT(current_drive))); |
current_drive | 1186 | drivers/block/floppy.c | output_byte( UNIT(current_drive) ); |
current_drive | 1205 | drivers/block/floppy.c | disk_change(current_drive); |
current_drive | 1207 | drivers/block/floppy.c | test_bit(current_drive,&changed_floppies)){ |
current_drive | 1228 | drivers/block/floppy.c | set_dor(fdc, ~ (0x10 << UNIT(current_drive)), 0); |
current_drive | 1254 | drivers/block/floppy.c | output_byte(UNIT(current_drive)); |
current_drive | 1361 | drivers/block/floppy.c | } while ( (ST0 & 0x83) != UNIT(current_drive) && inr == 2); |
current_drive | 1374 | drivers/block/floppy.c | LAST_OUT(UNIT(current_drive)); |
current_drive | 1467 | drivers/block/floppy.c | data = UNIT(current_drive); |
current_drive | 1468 | drivers/block/floppy.c | if ( (FDCS->dor & 0x03) != UNIT(current_drive) ) |
current_drive | 1473 | drivers/block/floppy.c | if(!(FDCS->dor & ( 0x10 << UNIT(current_drive) ) )){ |
current_drive | 1479 | drivers/block/floppy.c | data |= (0x10 << UNIT(current_drive)); |
current_drive | 1482 | drivers/block/floppy.c | if (FDCS->dor & ( 0x10 << UNIT(current_drive) ) ) |
current_drive | 1483 | drivers/block/floppy.c | mask &= ~(0x10 << UNIT(current_drive)); |
current_drive | 1486 | drivers/block/floppy.c | del_timer(motor_off_timer + current_drive); |
current_drive | 1491 | drivers/block/floppy.c | if(disk_change(current_drive)) |
current_drive | 1504 | drivers/block/floppy.c | if(wait_for_completion(current_drive, |
current_drive | 1698 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + ( format_req.head << 2 ); |
current_drive | 1891 | drivers/block/floppy.c | current_type[current_drive] = floppy; |
current_drive | 1892 | drivers/block/floppy.c | floppy_sizes[DRIVE(current_drive) + (FDC(current_drive) << 7)] = |
current_drive | 1900 | drivers/block/floppy.c | floppy->name,current_drive); |
current_drive | 1901 | drivers/block/floppy.c | current_type[current_drive] = floppy; |
current_drive | 1902 | drivers/block/floppy.c | floppy_sizes[DRIVE(current_drive) + (FDC(current_drive) << 7)] = |
current_drive | 1912 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2074 | drivers/block/floppy.c | current_drive = DRIVE(CURRENT->dev); |
current_drive | 2123 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + ( HEAD << 2 ); |
current_drive | 2147 | drivers/block/floppy.c | if ((raw_cmd.track == buffer_track) && (current_drive == buffer_drive) && |
current_drive | 2204 | drivers/block/floppy.c | buffer_drive !=current_drive || /* bad drive */ |
current_drive | 2212 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2227 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2306 | drivers/block/floppy.c | if (current_drive < N_DRIVE) |
current_drive | 2307 | drivers/block/floppy.c | floppy_off(current_drive); |
current_drive | 3084 | drivers/block/floppy.c | current_drive = i; |
current_drive | 3117 | drivers/block/floppy.c | current_drive = 0; |