Lines Matching refs:N_DRIVE
406 static struct floppy_drive_params drive_params[N_DRIVE];
407 static struct floppy_drive_struct drive_state[N_DRIVE];
408 static struct floppy_write_errors write_errors[N_DRIVE];
409 static struct timer_list motor_off_timer[N_DRIVE];
410 static struct gendisk *disks[N_DRIVE];
411 static struct block_device *opened_bdev[N_DRIVE];
488 static struct floppy_struct *current_type[N_DRIVE];
494 static struct floppy_struct user_params[N_DRIVE];
672 if (drive < 0 || drive >= N_DRIVE) { in __reschedule_timeout()
837 for (drive = 0; drive < N_DRIVE; drive++) in reset_fdc_info()
845 if (drive >= 0 && drive < N_DRIVE) { in set_fdc()
949 for (i = 0; i < N_DRIVE; i++) { in scandrives()
950 drive = (saved_drive + i + 1) % N_DRIVE; in scandrives()
2796 if (++fdc_queue == N_DRIVE) in set_next_request()
2814 if (current_drive < N_DRIVE) in redo_fd_request()
3172 for (drive = 0; drive < N_DRIVE; drive++) { in raw_cmd_ioctl()
3247 for (cnt = 0; cnt < N_DRIVE; cnt++) { in set_geometry()
3575 for (drive = 0; drive < N_DRIVE; drive++) { in config_types()
4128 static struct platform_device floppy_device[N_DRIVE];
4133 if (drive >= N_DRIVE || in floppy_find()
4158 for (dr = 0; dr < N_DRIVE; dr++) { in floppy_init()
4237 for (drive = 0; drive < N_DRIVE; drive++) { in floppy_init()
4297 for (drive = 0; drive < N_DRIVE; drive++) { in floppy_init()
4554 for (drive = 0; drive < N_DRIVE; drive++) { in floppy_module_exit()