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()
2260 unsigned int drive = (unsigned long)req->q->disk->private_data; in floppy_end_request() local
2772 int drive; in redo_fd_request() local
2927 static int user_reset_fdc(int drive, int arg, bool interruptible) in user_reset_fdc()
2965 static const char *drive_name(int type, int drive) in drive_name()
3137 int drive; in raw_cmd_ioctl() local
3184 static int floppy_raw_cmd_ioctl(int type, int drive, int cmd, in floppy_raw_cmd_ioctl()
3205 static int floppy_raw_cmd_ioctl(int type, int drive, int cmd, in floppy_raw_cmd_ioctl()
3224 int drive, int type, struct block_device *bdev) in set_geometry()
3344 static int get_floppy_geometry(int drive, int type, struct floppy_struct **g) in get_floppy_geometry()
3363 int drive = (long)bdev->bd_disk->private_data; in fd_getgeo() local
3399 int drive = (long)bdev->bd_disk->private_data; in fd_locked_ioctl() local
3660 int drive, type; in compat_set_geometry() local
3682 static int compat_get_prm(int drive, in compat_get_prm()
3704 static int compat_setdrvprm(int drive, in compat_setdrvprm()
3740 static int compat_getdrvprm(int drive, in compat_getdrvprm()
3774 static int compat_getdrvstat(int drive, bool poll, in compat_getdrvstat()
3813 static int compat_getfdcstat(int drive, in compat_getfdcstat()
3842 static int compat_werrorget(int drive, in compat_werrorget()
3866 int drive = (long)bdev->bd_disk->private_data; in fd_compat_ioctl() local
3915 int drive; in config_types() local
3967 int drive = (long)disk->private_data; in floppy_release() local
3988 int drive = (long)bdev->bd_disk->private_data; in floppy_open() local
4089 int drive = (long)disk->private_data; in floppy_check_events() local
4117 int drive; member
4124 int drive = cbdata->drive; in floppy_rb0_cb() local
4134 static int __floppy_read_block_0(struct block_device *bdev, int drive) in __floppy_read_block_0()
4175 int drive = (long)disk->private_data; in floppy_revalidate() local
4450 int drive; in floppy_cmos_show() local
4501 static bool floppy_available(int drive) in floppy_available()
4510 static int floppy_alloc_disk(unsigned int drive, unsigned int type) in floppy_alloc_disk()
4541 unsigned int drive = (MINOR(dev) & 3) | ((MINOR(dev) & 0x80) >> 5); in floppy_probe() local
4567 int i, unit, drive, err; in do_floppy_init() local
4895 int drive; in floppy_release_irq_and_dma() local
4970 int drive, i; in floppy_module_exit() local