Lines Matching +full:3200 +full:v
466 { 3200,20,2,80,0,0x1C,0x20,0xCF,0x2C,"h1600" }, /* 23 1.6MB 5.25" */
475 { 3200,20,2,80,0,0x1C,0x00,0xCF,0x2C,"H1600" }, /* 31 1.6MB 3.5" */
3659 struct floppy_struct v; in compat_set_geometry() local
3669 memset(&v, 0, sizeof(struct floppy_struct)); in compat_set_geometry()
3670 if (copy_from_user(&v, arg, offsetof(struct floppy_struct, name))) in compat_set_geometry()
3677 &v, drive, type, bdev); in compat_set_geometry()
3685 struct compat_floppy_struct v; in compat_get_prm() local
3689 memset(&v, 0, sizeof(v)); in compat_get_prm()
3697 memcpy(&v, p, offsetof(struct floppy_struct, name)); in compat_get_prm()
3699 if (copy_to_user(arg, &v, sizeof(struct compat_floppy_struct))) in compat_get_prm()
3707 struct compat_floppy_drive_params v; in compat_setdrvprm() local
3711 if (copy_from_user(&v, arg, sizeof(struct compat_floppy_drive_params))) in compat_setdrvprm()
3713 if (!valid_floppy_drive_params(v.autodetect, v.native_format)) in compat_setdrvprm()
3716 drive_params[drive].cmos = v.cmos; in compat_setdrvprm()
3717 drive_params[drive].max_dtr = v.max_dtr; in compat_setdrvprm()
3718 drive_params[drive].hlt = v.hlt; in compat_setdrvprm()
3719 drive_params[drive].hut = v.hut; in compat_setdrvprm()
3720 drive_params[drive].srt = v.srt; in compat_setdrvprm()
3721 drive_params[drive].spinup = v.spinup; in compat_setdrvprm()
3722 drive_params[drive].spindown = v.spindown; in compat_setdrvprm()
3723 drive_params[drive].spindown_offset = v.spindown_offset; in compat_setdrvprm()
3724 drive_params[drive].select_delay = v.select_delay; in compat_setdrvprm()
3725 drive_params[drive].rps = v.rps; in compat_setdrvprm()
3726 drive_params[drive].tracks = v.tracks; in compat_setdrvprm()
3727 drive_params[drive].timeout = v.timeout; in compat_setdrvprm()
3728 drive_params[drive].interleave_sect = v.interleave_sect; in compat_setdrvprm()
3729 drive_params[drive].max_errors = v.max_errors; in compat_setdrvprm()
3730 drive_params[drive].flags = v.flags; in compat_setdrvprm()
3731 drive_params[drive].read_track = v.read_track; in compat_setdrvprm()
3732 memcpy(drive_params[drive].autodetect, v.autodetect, in compat_setdrvprm()
3733 sizeof(v.autodetect)); in compat_setdrvprm()
3734 drive_params[drive].checkfreq = v.checkfreq; in compat_setdrvprm()
3735 drive_params[drive].native_format = v.native_format; in compat_setdrvprm()
3743 struct compat_floppy_drive_params v; in compat_getdrvprm() local
3745 memset(&v, 0, sizeof(struct compat_floppy_drive_params)); in compat_getdrvprm()
3747 v.cmos = drive_params[drive].cmos; in compat_getdrvprm()
3748 v.max_dtr = drive_params[drive].max_dtr; in compat_getdrvprm()
3749 v.hlt = drive_params[drive].hlt; in compat_getdrvprm()
3750 v.hut = drive_params[drive].hut; in compat_getdrvprm()
3751 v.srt = drive_params[drive].srt; in compat_getdrvprm()
3752 v.spinup = drive_params[drive].spinup; in compat_getdrvprm()
3753 v.spindown = drive_params[drive].spindown; in compat_getdrvprm()
3754 v.spindown_offset = drive_params[drive].spindown_offset; in compat_getdrvprm()
3755 v.select_delay = drive_params[drive].select_delay; in compat_getdrvprm()
3756 v.rps = drive_params[drive].rps; in compat_getdrvprm()
3757 v.tracks = drive_params[drive].tracks; in compat_getdrvprm()
3758 v.timeout = drive_params[drive].timeout; in compat_getdrvprm()
3759 v.interleave_sect = drive_params[drive].interleave_sect; in compat_getdrvprm()
3760 v.max_errors = drive_params[drive].max_errors; in compat_getdrvprm()
3761 v.flags = drive_params[drive].flags; in compat_getdrvprm()
3762 v.read_track = drive_params[drive].read_track; in compat_getdrvprm()
3763 memcpy(v.autodetect, drive_params[drive].autodetect, in compat_getdrvprm()
3764 sizeof(v.autodetect)); in compat_getdrvprm()
3765 v.checkfreq = drive_params[drive].checkfreq; in compat_getdrvprm()
3766 v.native_format = drive_params[drive].native_format; in compat_getdrvprm()
3769 if (copy_to_user(arg, &v, sizeof(struct compat_floppy_drive_params))) in compat_getdrvprm()
3777 struct compat_floppy_drive_struct v; in compat_getdrvstat() local
3779 memset(&v, 0, sizeof(struct compat_floppy_drive_struct)); in compat_getdrvstat()
3789 v.spinup_date = drive_state[drive].spinup_date; in compat_getdrvstat()
3790 v.select_date = drive_state[drive].select_date; in compat_getdrvstat()
3791 v.first_read_date = drive_state[drive].first_read_date; in compat_getdrvstat()
3792 v.probed_format = drive_state[drive].probed_format; in compat_getdrvstat()
3793 v.track = drive_state[drive].track; in compat_getdrvstat()
3794 v.maxblock = drive_state[drive].maxblock; in compat_getdrvstat()
3795 v.maxtrack = drive_state[drive].maxtrack; in compat_getdrvstat()
3796 v.generation = drive_state[drive].generation; in compat_getdrvstat()
3797 v.keep_data = drive_state[drive].keep_data; in compat_getdrvstat()
3798 v.fd_ref = drive_state[drive].fd_ref; in compat_getdrvstat()
3799 v.fd_device = drive_state[drive].fd_device; in compat_getdrvstat()
3800 v.last_checked = drive_state[drive].last_checked; in compat_getdrvstat()
3801 v.dmabuf = (uintptr_t) drive_state[drive].dmabuf; in compat_getdrvstat()
3802 v.bufblocks = drive_state[drive].bufblocks; in compat_getdrvstat()
3805 if (copy_to_user(arg, &v, sizeof(struct compat_floppy_drive_struct))) in compat_getdrvstat()
3817 struct floppy_fdc_state v; in compat_getfdcstat() local
3820 v = fdc_state[FDC(drive)]; in compat_getfdcstat()
3824 v32.spec1 = v.spec1; in compat_getfdcstat()
3825 v32.spec2 = v.spec2; in compat_getfdcstat()
3826 v32.dtr = v.dtr; in compat_getfdcstat()
3827 v32.version = v.version; in compat_getfdcstat()
3828 v32.dor = v.dor; in compat_getfdcstat()
3829 v32.address = v.address; in compat_getfdcstat()
3830 v32.rawcmd = v.rawcmd; in compat_getfdcstat()
3831 v32.reset = v.reset; in compat_getfdcstat()
3832 v32.need_configure = v.need_configure; in compat_getfdcstat()
3833 v32.perp_mode = v.perp_mode; in compat_getfdcstat()
3834 v32.has_fifo = v.has_fifo; in compat_getfdcstat()
3835 v32.driver_version = v.driver_version; in compat_getfdcstat()
3836 memcpy(v32.track, v.track, 4); in compat_getfdcstat()
3846 struct floppy_write_errors v; in compat_werrorget() local
3850 v = write_errors[drive]; in compat_werrorget()
3852 v32.write_errors = v.write_errors; in compat_werrorget()
3853 v32.first_error_sector = v.first_error_sector; in compat_werrorget()
3854 v32.first_error_generation = v.first_error_generation; in compat_werrorget()
3855 v32.last_error_sector = v.last_error_sector; in compat_werrorget()
3856 v32.last_error_generation = v.last_error_generation; in compat_werrorget()
3857 v32.badness = v.badness; in compat_werrorget()