Lines Matching refs:N_DRIVE
401 static struct floppy_drive_params drive_params[N_DRIVE];
402 static struct floppy_drive_struct drive_state[N_DRIVE];
403 static struct floppy_write_errors write_errors[N_DRIVE];
404 static struct timer_list motor_off_timer[N_DRIVE];
405 static struct gendisk *disks[N_DRIVE];
406 static struct blk_mq_tag_set tag_sets[N_DRIVE];
407 static struct block_device *opened_bdev[N_DRIVE];
483 static struct floppy_struct *current_type[N_DRIVE];
489 static struct floppy_struct user_params[N_DRIVE];
677 if (drive < 0 || drive >= N_DRIVE) { in __reschedule_timeout()
848 for (drive = 0; drive < N_DRIVE; drive++) in reset_fdc_info()
862 if (drive < 0 || drive >= N_DRIVE) { in set_fdc()
927 if (WARN_ON_ONCE(nr >= N_DRIVE)) in motor_off_callback()
971 for (i = 0; i < N_DRIVE; i++) { in scandrives()
972 drive = (saved_drive + i + 1) % N_DRIVE; in scandrives()
2864 if (current_drive < N_DRIVE) in redo_fd_request()
3233 for (drive = 0; drive < N_DRIVE; drive++) { in raw_cmd_ioctl()
3314 for (cnt = 0; cnt < N_DRIVE; cnt++) { in set_geometry()
3998 for (drive = 0; drive < N_DRIVE; drive++) { in config_types()
4571 static struct platform_device floppy_device[N_DRIVE];
4585 if (drive >= N_DRIVE || !floppy_available(drive)) in floppy_find()
4611 for (drive = 0; drive < N_DRIVE; drive++) { in do_floppy_init()
4691 for (drive = 0; drive < N_DRIVE; drive++) { in do_floppy_init()
4751 for (drive = 0; drive < N_DRIVE; drive++) { in do_floppy_init()
4789 for (drive = 0; drive < N_DRIVE; drive++) { in do_floppy_init()
5017 for (drive = 0; drive < N_DRIVE; drive++) { in floppy_module_exit()