Searched refs:SelectedDrive (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/block/
H A Dataflop.c228 #define SUD unit[SelectedDrive]
229 #define SUDT unit[SelectedDrive].disktype
292 static int SelectedDrive = 0; variable
434 if (drive == SelectedDrive) fd_select_drive()
454 SelectedDrive = drive; fd_select_drive()
472 SelectedDrive = -1; fd_deselect()
486 if (SelectedDrive < 0) fd_motor_off_timer()
622 printk(KERN_ERR "fd%d: too many errors.\n", SelectedDrive ); fd_error()
626 printk(KERN_WARNING "fd%d: recalibrating\n", SelectedDrive ); fd_error()
627 if (SelectedDrive != -1) fd_error()
755 if (SelectedDrive != drive) do_fd_action()
801 printk(KERN_ERR "fd%d: restore failed\n", SelectedDrive ); fd_calibrate_done()
850 SelectedDrive, ReqTrack ); fd_seek_done()
1057 printk(KERN_ERR "fd%d: DMA error\n", SelectedDrive ); fd_rwsec_done1()
1064 printk(KERN_NOTICE "fd%d: is write protected\n", SelectedDrive ); fd_rwsec_done1()
1076 set_capacity(unit[SelectedDrive].disk, fd_rwsec_done1()
1084 SelectedDrive, SUDT->name ); fd_rwsec_done1()
1091 set_capacity(unit[SelectedDrive].disk, fd_rwsec_done1()
1101 setup_req_params( SelectedDrive ); fd_rwsec_done1()
1103 do_fd_action( SelectedDrive ); fd_rwsec_done1()
1108 SelectedDrive, FDC_READ (FDCREG_SECTOR), ReqSide, ReqTrack ); fd_rwsec_done1()
1113 SelectedDrive, ReqSide, ReqTrack, FDC_READ (FDCREG_SECTOR) ); fd_rwsec_done1()
1118 SelectedDrive, ReqSide, ReqTrack, FDC_READ (FDCREG_SECTOR) ); fd_rwsec_done1()
1133 BufferDrive = SelectedDrive; fd_rwsec_done1()
1142 setup_req_params( SelectedDrive ); fd_rwsec_done1()
1143 do_fd_action( SelectedDrive ); fd_rwsec_done1()
1224 printk(KERN_NOTICE "fd%d: is write protected\n", SelectedDrive ); fd_writetrack_done()
1229 SelectedDrive, ReqSide, ReqTrack ); fd_writetrack_done()
1946 SelectedDrive = -1; atari_floppy_init()

Completed in 70 milliseconds