Lines Matching refs:N_DRIVE

400 static struct floppy_drive_params drive_params[N_DRIVE];
401 static struct floppy_drive_struct drive_state[N_DRIVE];
402 static struct floppy_write_errors write_errors[N_DRIVE];
403 static struct timer_list motor_off_timer[N_DRIVE];
404 static struct blk_mq_tag_set tag_sets[N_DRIVE];
405 static struct block_device *opened_bdev[N_DRIVE];
478 static struct gendisk *disks[N_DRIVE][ARRAY_SIZE(floppy_type)];
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()
2779 if (current_drive < N_DRIVE) in redo_fd_request()
3143 for (drive = 0; drive < N_DRIVE; drive++) { in raw_cmd_ioctl()
3224 for (cnt = 0; cnt < N_DRIVE; cnt++) { in set_geometry()
3908 for (drive = 0; drive < N_DRIVE; drive++) { in config_types()
4481 static struct platform_device floppy_device[N_DRIVE];
4482 static bool registered[N_DRIVE];
4526 if (drive >= N_DRIVE || !floppy_available(drive) || in floppy_probe()
4565 for (drive = 0; drive < N_DRIVE; drive++) { in do_floppy_init()
4634 for (drive = 0; drive < N_DRIVE; drive++) { in do_floppy_init()
4694 for (drive = 0; drive < N_DRIVE; drive++) { in do_floppy_init()
4734 for (drive = 0; drive < N_DRIVE; drive++) { in do_floppy_init()
4957 for (drive = 0; drive < N_DRIVE; drive++) { in floppy_module_exit()