Lines Matching defs:ide_drive_s

482 struct ide_drive_s {  struct
483 char name[4]; /* drive name, such as "hda" */
484 char driver_req[10]; /* requests specific driver */
486 struct request_queue *queue; /* request queue */
488 struct request *rq; /* current request */
489 void *driver_data; /* extra driver data */
490 u16 *id; /* identification info */
492 struct proc_dir_entry *proc; /* /proc/ide/ directory entry */
493 const struct ide_proc_devset *settings; /* /proc/ide/ drive settings */
495 struct hwif_s *hwif; /* actually (ide_hwif_t *) */
497 const struct ide_disk_ops *disk_ops;
499 unsigned long dev_flags;
501 unsigned long sleep; /* sleep until this time */
502 unsigned long timeout; /* max time to wait for irq */
504 u8 special_flags; /* special action flags */
506 u8 select; /* basic drive/head select reg value */
507 u8 retry_pio; /* retrying dma capable host in pio */
508 u8 waiting_for_dma; /* dma currently in progress */
509 u8 dma; /* atapi dma flag */
511 u8 init_speed; /* transfer rate set at boot */
512 u8 current_speed; /* current transfer rate set */
513 u8 desired_speed; /* desired transfer rate set */
514 u8 pio_mode; /* for ->set_pio_mode _only_ */
515 u8 dma_mode; /* for ->set_dma_mode _only_ */
516 u8 dn; /* now wide spread use */
517 u8 acoustic; /* acoustic management */
518 u8 media; /* disk, cdrom, tape, floppy, ... */
519 u8 ready_stat; /* min status value for drive ready */
520 u8 mult_count; /* current multiple sector setting */
521 u8 mult_req; /* requested multiple sector setting */
522 u8 io_32bit; /* 0=16-bit, 1=32-bit, 2/3=32bit+sync */
523 u8 bad_wstat; /* used for ignoring ATA_DF */
524 u8 head; /* "real" number of heads */
525 u8 sect; /* "real" sectors per track */
526 u8 bios_head; /* BIOS/fdisk/LILO number of heads */
527 u8 bios_sect; /* BIOS/fdisk/LILO sectors per track */
530 u8 pc_delay;
532 unsigned int bios_cyl; /* BIOS/fdisk/LILO number of cyls */
533 unsigned int cyl; /* "real" number of cyls */
534 void *drive_data; /* used by set_pio_mode/dev_select() */
535 unsigned int failures; /* current failure count */
559 int (*pc_callback)(struct ide_drive_s *, int); argument
561 ide_startstop_t (*irq_handler)(struct ide_drive_s *); argument
573 typedef struct ide_drive_s ide_drive_t; argument