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" */
3665 struct floppy_struct v; in compat_set_geometry() local
3675 memset(&v, 0, sizeof(struct floppy_struct)); in compat_set_geometry()
3676 if (copy_from_user(&v, arg, offsetof(struct floppy_struct, name))) in compat_set_geometry()
3683 &v, drive, type, bdev); in compat_set_geometry()
3691 struct compat_floppy_struct v; in compat_get_prm() local
3695 memset(&v, 0, sizeof(v)); in compat_get_prm()
3703 memcpy(&v, p, offsetof(struct floppy_struct, name)); in compat_get_prm()
3705 if (copy_to_user(arg, &v, sizeof(struct compat_floppy_struct))) in compat_get_prm()
3713 struct compat_floppy_drive_params v; in compat_setdrvprm() local
3717 if (copy_from_user(&v, arg, sizeof(struct compat_floppy_drive_params))) in compat_setdrvprm()
3719 if (!valid_floppy_drive_params(v.autodetect, v.native_format)) in compat_setdrvprm()
3722 drive_params[drive].cmos = v.cmos; in compat_setdrvprm()
3723 drive_params[drive].max_dtr = v.max_dtr; in compat_setdrvprm()
3724 drive_params[drive].hlt = v.hlt; in compat_setdrvprm()
3725 drive_params[drive].hut = v.hut; in compat_setdrvprm()
3726 drive_params[drive].srt = v.srt; in compat_setdrvprm()
3727 drive_params[drive].spinup = v.spinup; in compat_setdrvprm()
3728 drive_params[drive].spindown = v.spindown; in compat_setdrvprm()
3729 drive_params[drive].spindown_offset = v.spindown_offset; in compat_setdrvprm()
3730 drive_params[drive].select_delay = v.select_delay; in compat_setdrvprm()
3731 drive_params[drive].rps = v.rps; in compat_setdrvprm()
3732 drive_params[drive].tracks = v.tracks; in compat_setdrvprm()
3733 drive_params[drive].timeout = v.timeout; in compat_setdrvprm()
3734 drive_params[drive].interleave_sect = v.interleave_sect; in compat_setdrvprm()
3735 drive_params[drive].max_errors = v.max_errors; in compat_setdrvprm()
3736 drive_params[drive].flags = v.flags; in compat_setdrvprm()
3737 drive_params[drive].read_track = v.read_track; in compat_setdrvprm()
3738 memcpy(drive_params[drive].autodetect, v.autodetect, in compat_setdrvprm()
3739 sizeof(v.autodetect)); in compat_setdrvprm()
3740 drive_params[drive].checkfreq = v.checkfreq; in compat_setdrvprm()
3741 drive_params[drive].native_format = v.native_format; in compat_setdrvprm()
3749 struct compat_floppy_drive_params v; in compat_getdrvprm() local
3751 memset(&v, 0, sizeof(struct compat_floppy_drive_params)); in compat_getdrvprm()
3753 v.cmos = drive_params[drive].cmos; in compat_getdrvprm()
3754 v.max_dtr = drive_params[drive].max_dtr; in compat_getdrvprm()
3755 v.hlt = drive_params[drive].hlt; in compat_getdrvprm()
3756 v.hut = drive_params[drive].hut; in compat_getdrvprm()
3757 v.srt = drive_params[drive].srt; in compat_getdrvprm()
3758 v.spinup = drive_params[drive].spinup; in compat_getdrvprm()
3759 v.spindown = drive_params[drive].spindown; in compat_getdrvprm()
3760 v.spindown_offset = drive_params[drive].spindown_offset; in compat_getdrvprm()
3761 v.select_delay = drive_params[drive].select_delay; in compat_getdrvprm()
3762 v.rps = drive_params[drive].rps; in compat_getdrvprm()
3763 v.tracks = drive_params[drive].tracks; in compat_getdrvprm()
3764 v.timeout = drive_params[drive].timeout; in compat_getdrvprm()
3765 v.interleave_sect = drive_params[drive].interleave_sect; in compat_getdrvprm()
3766 v.max_errors = drive_params[drive].max_errors; in compat_getdrvprm()
3767 v.flags = drive_params[drive].flags; in compat_getdrvprm()
3768 v.read_track = drive_params[drive].read_track; in compat_getdrvprm()
3769 memcpy(v.autodetect, drive_params[drive].autodetect, in compat_getdrvprm()
3770 sizeof(v.autodetect)); in compat_getdrvprm()
3771 v.checkfreq = drive_params[drive].checkfreq; in compat_getdrvprm()
3772 v.native_format = drive_params[drive].native_format; in compat_getdrvprm()
3775 if (copy_to_user(arg, &v, sizeof(struct compat_floppy_drive_params))) in compat_getdrvprm()
3783 struct compat_floppy_drive_struct v; in compat_getdrvstat() local
3785 memset(&v, 0, sizeof(struct compat_floppy_drive_struct)); in compat_getdrvstat()
3795 v.spinup_date = drive_state[drive].spinup_date; in compat_getdrvstat()
3796 v.select_date = drive_state[drive].select_date; in compat_getdrvstat()
3797 v.first_read_date = drive_state[drive].first_read_date; in compat_getdrvstat()
3798 v.probed_format = drive_state[drive].probed_format; in compat_getdrvstat()
3799 v.track = drive_state[drive].track; in compat_getdrvstat()
3800 v.maxblock = drive_state[drive].maxblock; in compat_getdrvstat()
3801 v.maxtrack = drive_state[drive].maxtrack; in compat_getdrvstat()
3802 v.generation = drive_state[drive].generation; in compat_getdrvstat()
3803 v.keep_data = drive_state[drive].keep_data; in compat_getdrvstat()
3804 v.fd_ref = drive_state[drive].fd_ref; in compat_getdrvstat()
3805 v.fd_device = drive_state[drive].fd_device; in compat_getdrvstat()
3806 v.last_checked = drive_state[drive].last_checked; in compat_getdrvstat()
3807 v.dmabuf = (uintptr_t) drive_state[drive].dmabuf; in compat_getdrvstat()
3808 v.bufblocks = drive_state[drive].bufblocks; in compat_getdrvstat()
3811 if (copy_to_user(arg, &v, sizeof(struct compat_floppy_drive_struct))) in compat_getdrvstat()
3823 struct floppy_fdc_state v; in compat_getfdcstat() local
3826 v = fdc_state[FDC(drive)]; in compat_getfdcstat()
3830 v32.spec1 = v.spec1; in compat_getfdcstat()
3831 v32.spec2 = v.spec2; in compat_getfdcstat()
3832 v32.dtr = v.dtr; in compat_getfdcstat()
3833 v32.version = v.version; in compat_getfdcstat()
3834 v32.dor = v.dor; in compat_getfdcstat()
3835 v32.address = v.address; in compat_getfdcstat()
3836 v32.rawcmd = v.rawcmd; in compat_getfdcstat()
3837 v32.reset = v.reset; in compat_getfdcstat()
3838 v32.need_configure = v.need_configure; in compat_getfdcstat()
3839 v32.perp_mode = v.perp_mode; in compat_getfdcstat()
3840 v32.has_fifo = v.has_fifo; in compat_getfdcstat()
3841 v32.driver_version = v.driver_version; in compat_getfdcstat()
3842 memcpy(v32.track, v.track, 4); in compat_getfdcstat()
3852 struct floppy_write_errors v; in compat_werrorget() local
3856 v = write_errors[drive]; in compat_werrorget()
3858 v32.write_errors = v.write_errors; in compat_werrorget()
3859 v32.first_error_sector = v.first_error_sector; in compat_werrorget()
3860 v32.first_error_generation = v.first_error_generation; in compat_werrorget()
3861 v32.last_error_sector = v.last_error_sector; in compat_werrorget()
3862 v32.last_error_generation = v.last_error_generation; in compat_werrorget()
3863 v32.badness = v.badness; in compat_werrorget()