tag | line | file | source code |
current_drive | 293 | drivers/block/floppy.c | #define DP (&drive_params[current_drive]) |
current_drive | 294 | drivers/block/floppy.c | #define DRS (&drive_state[current_drive]) |
current_drive | 295 | drivers/block/floppy.c | #define DRWE (&write_errors[current_drive]) |
current_drive | 309 | drivers/block/floppy.c | #define DPRINT(x) printk(DEVICE_NAME "%d: " x,current_drive) |
current_drive | 311 | drivers/block/floppy.c | #define DPRINT1(x,x1) printk(DEVICE_NAME "%d: " x,current_drive,(x1)) |
current_drive | 313 | drivers/block/floppy.c | #define DPRINT2(x,x1,x2) printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2)) |
current_drive | 315 | drivers/block/floppy.c | #define DPRINT3(x,x1,x2,x3) printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2),(x3)) |
current_drive | 602 | drivers/block/floppy.c | static unsigned char current_drive = 0; |
current_drive | 672 | drivers/block/floppy.c | drive = current_drive; |
current_drive | 759 | drivers/block/floppy.c | floppy_sizes[TOMINOR(current_drive)] = MAX_DISK_SIZE; |
current_drive | 816 | drivers/block/floppy.c | outb_p(FDCS->dor & ~(0x10<<UNIT(current_drive)),FD_DOR); |
current_drive | 842 | drivers/block/floppy.c | current_drive = drive; |
current_drive | 950 | drivers/block/floppy.c | saved_drive = current_drive; |
current_drive | 977 | drivers/block/floppy.c | if ( disk_change(current_drive) ){ |
current_drive | 1513 | drivers/block/floppy.c | output_byte( UNIT(current_drive) ); |
current_drive | 1546 | drivers/block/floppy.c | disk_change(current_drive) && |
current_drive | 1569 | drivers/block/floppy.c | set_dor(fdc, ~(0x10 << UNIT(current_drive)), 0); |
current_drive | 1588 | drivers/block/floppy.c | output_byte(UNIT(current_drive)); |
current_drive | 1712 | drivers/block/floppy.c | } while ( (ST0 & 0x83) != UNIT(current_drive) && inr == 2); |
current_drive | 1726 | drivers/block/floppy.c | LAST_OUT(UNIT(current_drive)); |
current_drive | 1854 | drivers/block/floppy.c | data = UNIT(current_drive); |
current_drive | 1856 | drivers/block/floppy.c | if(!(FDCS->dor & ( 0x10 << UNIT(current_drive) ) )){ |
current_drive | 1862 | drivers/block/floppy.c | data |= (0x10 << UNIT(current_drive)); |
current_drive | 1865 | drivers/block/floppy.c | if (FDCS->dor & ( 0x10 << UNIT(current_drive) ) ) |
current_drive | 1866 | drivers/block/floppy.c | mask &= ~(0x10 << UNIT(current_drive)); |
current_drive | 1869 | drivers/block/floppy.c | del_timer(motor_off_timer + current_drive); |
current_drive | 1890 | drivers/block/floppy.c | disk_change(current_drive) && |
current_drive | 2088 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + PH_HEAD(floppy,format_req.head); |
current_drive | 2284 | drivers/block/floppy.c | current_type[current_drive] = floppy; |
current_drive | 2285 | drivers/block/floppy.c | floppy_sizes[TOMINOR(current_drive) ]= floppy->size>>1; |
current_drive | 2292 | drivers/block/floppy.c | floppy->name,current_drive); |
current_drive | 2293 | drivers/block/floppy.c | current_type[current_drive] = floppy; |
current_drive | 2294 | drivers/block/floppy.c | floppy_sizes[TOMINOR(current_drive)] = floppy->size >> 1; |
current_drive | 2304 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2509 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + PH_HEAD(floppy,HEAD); |
current_drive | 2533 | drivers/block/floppy.c | if ((raw_cmd->track == buffer_track) && (current_drive == buffer_drive) && |
current_drive | 2595 | drivers/block/floppy.c | buffer_drive !=current_drive || /* bad drive */ |
current_drive | 2604 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2620 | drivers/block/floppy.c | buffer_drive = current_drive; |
current_drive | 2699 | drivers/block/floppy.c | if (current_drive < N_DRIVE) |
current_drive | 2700 | drivers/block/floppy.c | floppy_off(current_drive); |
current_drive | 2726 | drivers/block/floppy.c | if(test_bit(current_drive, &fake_change) || |
current_drive | 2922 | drivers/block/floppy.c | if( disk_change(current_drive) ) |
current_drive | 2927 | drivers/block/floppy.c | motor_off_callback(current_drive); |
current_drive | 3077 | drivers/block/floppy.c | if ( drive == current_drive ){ |
current_drive | 3750 | drivers/block/floppy.c | int current_drive=0; |
current_drive | 3756 | drivers/block/floppy.c | current_drive = ints[1]; |
current_drive | 3757 | drivers/block/floppy.c | if (current_drive < 0 || current_drive >= 8 ){ |
current_drive | 3761 | drivers/block/floppy.c | if(current_drive >= 4 && !FDC2) |
current_drive | 3918 | 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; |