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