Lines Matching refs:fd_device
607 return !current_type[drive] && !ITYPE(drive_state[drive].fd_device); in drive_no_geom()
2109 int type = ITYPE(drive_state[drive].fd_device); in set_floppy()
3257 if (!bdev || ITYPE(drive_state[cnt].fd_device) != type) in set_geometry()
3366 int type = ITYPE(drive_state[drive].fd_device); in fd_getgeo()
3402 int type = ITYPE(drive_state[drive].fd_device); in fd_locked_ioctl()
3618 compat_int_t fd_device; member
3677 type = ITYPE(drive_state[drive].fd_device); in compat_set_geometry()
3693 err = get_floppy_geometry(drive, ITYPE(drive_state[drive].fd_device), in compat_get_prm()
3801 v.fd_device = drive_state[drive].fd_device; in compat_getdrvstat()
3998 old_dev = drive_state[drive].fd_device; in floppy_open()
4044 drive_state[drive].fd_device = new_dev; in floppy_open()
4217 set_capacity(disk, floppy_sizes[drive_state[drive].fd_device]); in floppy_revalidate()
4654 drive_state[drive].fd_device = -1; in do_floppy_init()