taglinefilesource code
current_drive211drivers/block/floppy.c#define DP (&drive_params[current_drive])
current_drive212drivers/block/floppy.c#define DRS (&drive_state[current_drive])
current_drive213drivers/block/floppy.c#define DRWE (&write_errors[current_drive])
current_drive227drivers/block/floppy.c#define DPRINT(x) printk(DEVICE_NAME "%d: " x,current_drive)
current_drive229drivers/block/floppy.c#define DPRINT1(x,x1) printk(DEVICE_NAME "%d: " x,current_drive,(x1))
current_drive231drivers/block/floppy.c#define DPRINT2(x,x1,x2) printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2))
current_drive233drivers/block/floppy.c#define DPRINT3(x,x1,x2,x3) printk(DEVICE_NAME "%d: " x,current_drive,(x1),(x2),(x3))
current_drive505drivers/block/floppy.cstatic unsigned char current_drive = 0;
current_drive573drivers/block/floppy.cdrive = current_drive;
current_drive679drivers/block/floppy.cfloppy_sizes[TOMINOR(current_drive)] = MAX_DISK_SIZE;
current_drive736drivers/block/floppy.cfd_outb(FDCS->dor & ~(0x10<<UNIT(current_drive)),FD_DOR);
current_drive762drivers/block/floppy.ccurrent_drive = drive;
current_drive874drivers/block/floppy.csaved_drive = current_drive;
current_drive901drivers/block/floppy.cif (disk_change(current_drive)){
current_drive1411drivers/block/floppy.coutput_byte(UNIT(current_drive));
current_drive1444drivers/block/floppy.cdisk_change(current_drive) &&
current_drive1467drivers/block/floppy.cset_dor(fdc, ~(0x10 << UNIT(current_drive)), 0);
current_drive1486drivers/block/floppy.coutput_byte(UNIT(current_drive));
current_drive1610drivers/block/floppy.c} while ((ST0 & 0x83) != UNIT(current_drive) && inr == 2);
current_drive1624drivers/block/floppy.cLAST_OUT(UNIT(current_drive));
current_drive1745drivers/block/floppy.cdata = UNIT(current_drive);
current_drive1747drivers/block/floppy.cif (!(FDCS->dor & (0x10 << UNIT(current_drive)))){
current_drive1753drivers/block/floppy.cdata |= (0x10 << UNIT(current_drive));
current_drive1756drivers/block/floppy.cif (FDCS->dor & (0x10 << UNIT(current_drive)))
current_drive1757drivers/block/floppy.cmask &= ~(0x10 << UNIT(current_drive));
current_drive1760drivers/block/floppy.cdel_timer(motor_off_timer + current_drive);
current_drive1781drivers/block/floppy.cdisk_change(current_drive) &&
current_drive1978drivers/block/floppy.cDR_SELECT = UNIT(current_drive) + PH_HEAD(floppy,format_req.head);
current_drive2172drivers/block/floppy.ccurrent_type[current_drive] = floppy;
current_drive2173drivers/block/floppy.cfloppy_sizes[TOMINOR(current_drive) ]= floppy->size>>1;
current_drive2180drivers/block/floppy.cfloppy->name,current_drive);
current_drive2181drivers/block/floppy.ccurrent_type[current_drive] = floppy;
current_drive2182drivers/block/floppy.cfloppy_sizes[TOMINOR(current_drive)] = floppy->size >> 1;
current_drive2192drivers/block/floppy.cbuffer_drive = current_drive;
current_drive2393drivers/block/floppy.cDR_SELECT = UNIT(current_drive) + PH_HEAD(floppy,HEAD);
current_drive2418drivers/block/floppy.c(current_drive == buffer_drive) &&
current_drive2487drivers/block/floppy.cbuffer_drive !=current_drive || /* bad drive */
current_drive2496drivers/block/floppy.cbuffer_drive = current_drive;
current_drive2512drivers/block/floppy.cbuffer_drive = current_drive;
current_drive2591drivers/block/floppy.cif (current_drive < N_DRIVE)
current_drive2592drivers/block/floppy.cfloppy_off(current_drive);
current_drive2618drivers/block/floppy.cif (test_bit(current_drive, &fake_change) ||
current_drive2807drivers/block/floppy.cif (disk_change(current_drive))
current_drive2812drivers/block/floppy.cmotor_off_callback(current_drive);
current_drive2963drivers/block/floppy.cif (drive == current_drive){
current_drive3755drivers/block/floppy.cint current_drive=0;
current_drive3761drivers/block/floppy.ccurrent_drive = ints[1];
current_drive3762drivers/block/floppy.cif (current_drive < 0 || current_drive >= 8){
current_drive3766drivers/block/floppy.cif (current_drive >= 4 && !FDC2)
current_drive3913drivers/block/floppy.ccurrent_drive = 0;
current_drive140drivers/cdrom/gscd.cstatic unsigned char current_drive;
current_drive433drivers/cdrom/gscd.ccurrent_drive = 0xFF;