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