Lines Matching defs:drive

605 static inline bool drive_no_geom(int drive)  in drive_no_geom()
611 static inline int fd_eject(int drive) in fd_eject()
672 static void __reschedule_timeout(int drive, const char *message) in __reschedule_timeout()
688 static void reschedule_timeout(int drive, const char *message) in reschedule_timeout()
733 static int disk_change(int drive) in disk_change()
796 unsigned char drive; in set_dor() local
825 static void twaddle(int fdc, int drive) in twaddle()
841 int drive; in reset_fdc_info() local
857 static void set_fdc(int drive) in set_fdc()
889 static int lock_fdc(int drive) in lock_fdc()
933 static void floppy_off(unsigned int drive) in floppy_off()
963 int drive; in scandrives() local
1279 static void fdc_specify(int fdc, int drive) in fdc_specify()
1567 static void check_wp(int fdc, int drive) in check_wp()
2069 static int next_valid_format(int drive) in next_valid_format()
2107 static void set_floppy(int drive) in set_floppy()
2225 static int do_format(int drive, struct format_descr *tmp_format_req) in do_format()
2261 unsigned int drive = (unsigned long)req->rq_disk->private_data; in floppy_end_request() local
2774 int drive; in redo_fd_request() local
2930 static int user_reset_fdc(int drive, int arg, bool interruptible) in user_reset_fdc()
2968 static const char *drive_name(int type, int drive) in drive_name()
3136 int drive; in raw_cmd_ioctl() local
3194 int drive, int type, struct block_device *bdev) in set_geometry()
3314 static int get_floppy_geometry(int drive, int type, struct floppy_struct **g) in get_floppy_geometry()
3333 int drive = (long)bdev->bd_disk->private_data; in fd_getgeo() local
3369 int drive = (long)bdev->bd_disk->private_data; in fd_locked_ioctl() local
3640 int drive, type; in compat_set_geometry() local
3662 static int compat_get_prm(int drive, in compat_get_prm()
3684 static int compat_setdrvprm(int drive, in compat_setdrvprm()
3720 static int compat_getdrvprm(int drive, in compat_getdrvprm()
3754 static int compat_getdrvstat(int drive, bool poll, in compat_getdrvstat()
3793 static int compat_getfdcstat(int drive, in compat_getfdcstat()
3822 static int compat_werrorget(int drive, in compat_werrorget()
3846 int drive = (long)bdev->bd_disk->private_data; in fd_compat_ioctl() local
3895 int drive; in config_types() local
3947 int drive = (long)disk->private_data; in floppy_release() local
3968 int drive = (long)bdev->bd_disk->private_data; in floppy_open() local
4069 int drive = (long)disk->private_data; in floppy_check_events() local
4097 int drive; member
4104 int drive = cbdata->drive; in floppy_rb0_cb() local
4114 static int __floppy_read_block_0(struct block_device *bdev, int drive) in __floppy_read_block_0()
4157 int drive = (long)disk->private_data; in floppy_revalidate() local
4432 int drive; in floppy_cmos_show() local
4482 static bool floppy_available(int drive) in floppy_available()
4491 static int floppy_alloc_disk(unsigned int drive, unsigned int type) in floppy_alloc_disk()
4521 unsigned int drive = (MINOR(dev) & 3) | ((MINOR(dev) & 0x80) >> 5); in floppy_probe() local
4538 int i, unit, drive, err; in do_floppy_init() local
4859 int drive; in floppy_release_irq_and_dma() local
4934 int drive, i; in floppy_module_exit() local