| H A D | floppy.c | 236 * motor of these drives causes system hangs on some PCI computers. drive 237 * 0 is the low bit (0x1), and drive 7 is the high bit (0x80). Bits are on if 238 * a drive is allowed. 298 #define UNIT(x) ((x) & 0x03) /* drive on fdc */ 299 #define FDC(x) (((x) & 0x04) >> 2) /* fdc of drive */ 300 /* reverse mapping from unit and fdc to drive */ 349 * this struct defines the different floppy drive types. 356 CMOS drive type 357 | Maximum data rate supported by drive type 409 * types (e.g. 360kB diskette in 1.2MB drive, et 600 drive_no_geom(int drive) drive_no_geom() argument 606 fd_eject(int drive) fd_eject() argument 667 __reschedule_timeout(int drive,const char * message) __reschedule_timeout() argument 683 reschedule_timeout(int drive,const char * message) reschedule_timeout() argument 728 disk_change(int drive) disk_change() argument 791 unsigned char drive; set_dor() local 820 twaddle(int fdc,int drive) twaddle() argument 836 int drive; reset_fdc_info() local 852 set_fdc(int drive) set_fdc() argument 884 lock_fdc(int drive) lock_fdc() argument 928 floppy_off(unsigned int drive) floppy_off() argument 958 int drive; scandrives() local 1278 fdc_specify(int fdc,int drive) fdc_specify() argument 1566 check_wp(int fdc,int drive) check_wp() argument 2068 next_valid_format(int drive) next_valid_format() argument 2106 set_floppy(int drive) set_floppy() argument 2224 do_format(int drive,struct format_descr * tmp_format_req) do_format() argument 2259 unsigned int drive = (unsigned long)req->q->disk->private_data; floppy_end_request() local 2771 int drive; redo_fd_request() local 2925 user_reset_fdc(int drive,int arg,bool interruptible) user_reset_fdc() argument 2963 drive_name(int type,int drive) drive_name() argument 3132 int drive; raw_cmd_ioctl() local 3179 floppy_raw_cmd_ioctl(int type,int drive,int cmd,void __user * param) floppy_raw_cmd_ioctl() argument 3200 floppy_raw_cmd_ioctl(int type,int drive,int cmd,void __user * param) floppy_raw_cmd_ioctl() argument 3221 set_geometry(unsigned int cmd,struct floppy_struct * g,int drive,int type,struct block_device * bdev) set_geometry() argument 3342 get_floppy_geometry(int drive,int type,struct floppy_struct ** g) get_floppy_geometry() argument 3361 int drive = (long)disk->private_data; fd_getgeo() local 3397 int drive = (long)bdev->bd_disk->private_data; fd_locked_ioctl() local 3659 int drive, type; compat_set_geometry() local 3681 compat_get_prm(int drive,struct compat_floppy_struct __user * arg) compat_get_prm() argument 3703 compat_setdrvprm(int drive,struct compat_floppy_drive_params __user * arg) compat_setdrvprm() argument 3739 compat_getdrvprm(int drive,struct compat_floppy_drive_params __user * arg) compat_getdrvprm() argument 3773 compat_getdrvstat(int drive,bool poll,struct compat_floppy_drive_struct __user * arg) compat_getdrvstat() argument 3812 compat_getfdcstat(int drive,struct compat_floppy_fdc_state __user * arg) compat_getfdcstat() argument 3841 compat_werrorget(int drive,struct compat_floppy_write_errors __user * arg) compat_werrorget() argument 3865 int drive = (long)bdev->bd_disk->private_data; fd_compat_ioctl() local 3914 int drive; config_types() local 3966 int drive = (long)disk->private_data; floppy_release() local 3987 int drive = (long)disk->private_data; floppy_open() local 4087 int drive = (long)disk->private_data; floppy_check_events() local 4115 int drive; global() member 4122 int drive = cbdata->drive; floppy_rb0_cb() local 4132 __floppy_read_block_0(struct block_device * bdev,int drive) __floppy_read_block_0() argument 4173 int drive = (long)disk->private_data; floppy_revalidate() local 4449 int drive; floppy_cmos_show() local 4500 floppy_available(int drive) floppy_available() argument 4509 floppy_alloc_disk(unsigned int drive,unsigned int type) floppy_alloc_disk() argument 4543 unsigned int drive = (MINOR(dev) & 3) | ((MINOR(dev) & 0x80) >> 5); floppy_probe() local 4569 int i, unit, drive, err; do_floppy_init() local 4894 int drive; floppy_release_irq_and_dma() local 4969 int drive, i; floppy_module_exit() local [all...] |