Lines Matching defs:drive

244 #define SELMASK(drive)  (1 << (3 + (drive & 3)))  argument
358 static inline int try_fdc(int drive) in try_fdc()
364 static void get_fdc(int drive) in get_fdc()
393 static void fd_select (int drive) in fd_select()
417 static void fd_deselect (int drive) in fd_deselect()
489 unsigned long drive = ((unsigned long)timer - in fd_motor_off() local
508 int drive; in floppy_off() local
514 static int fd_calibrate(int drive) in fd_calibrate()
566 static int fd_seek(int drive, int track) in fd_seek()
623 static unsigned long fd_get_drive_id(int drive) in fd_get_drive_id()
691 static void raw_read(int drive) in raw_read()
717 static int raw_write(int drive) in raw_write()
752 static void post_write (unsigned long drive) in post_write()
835 static int amiga_read(int drive) in amiga_read()
1150 static int dos_read(int drive) in dos_read()
1271 static unsigned long *ms_putsec(int drive, unsigned long *raw, int cnt) in ms_putsec()
1423 static int get_track(int drive, int track) in get_track()
1461 int drive = floppy - unit; in amiflop_rw_cur_segment() local
1527 int drive = MINOR(bdev->bd_dev) & 3; in fd_getgeo() local
1539 int drive = p - unit; in fd_locked_ioctl() local
1626 int drive; in fd_probe() local
1659 int drive = MINOR(bdev->bd_dev) & 3; in floppy_open() local
1715 int drive = p - unit; in floppy_release() local
1742 int drive = p - unit; in amiga_check_events() local
1780 static int fd_alloc_disk(int drive, int system) in fd_alloc_disk()
1809 static int fd_alloc_drive(int drive) in fd_alloc_drive()
1842 int drive,drives,nomem; in fd_probe_drives() local