Lines Matching defs:ide_drive_s

526 struct ide_drive_s {  struct
527 char name[4]; /* drive name, such as "hda" */
528 char driver_req[10]; /* requests specific driver */
530 struct request_queue *queue; /* request queue */
532 struct request *rq; /* current request */
533 void *driver_data; /* extra driver data */
534 u16 *id; /* identification info */
536 struct proc_dir_entry *proc; /* /proc/ide/ directory entry */
537 const struct ide_proc_devset *settings; /* /proc/ide/ drive settings */
539 struct hwif_s *hwif; /* actually (ide_hwif_t *) */
541 const struct ide_disk_ops *disk_ops;
543 unsigned long dev_flags;
545 unsigned long sleep; /* sleep until this time */
546 unsigned long timeout; /* max time to wait for irq */
548 u8 special_flags; /* special action flags */
550 u8 select; /* basic drive/head select reg value */
551 u8 retry_pio; /* retrying dma capable host in pio */
552 u8 waiting_for_dma; /* dma currently in progress */
553 u8 dma; /* atapi dma flag */
555 u8 init_speed; /* transfer rate set at boot */
556 u8 current_speed; /* current transfer rate set */
557 u8 desired_speed; /* desired transfer rate set */
558 u8 pio_mode; /* for ->set_pio_mode _only_ */
559 u8 dma_mode; /* for ->set_dma_mode _only_ */
560 u8 dn; /* now wide spread use */
561 u8 acoustic; /* acoustic management */
562 u8 media; /* disk, cdrom, tape, floppy, ... */
563 u8 ready_stat; /* min status value for drive ready */
564 u8 mult_count; /* current multiple sector setting */
565 u8 mult_req; /* requested multiple sector setting */
566 u8 io_32bit; /* 0=16-bit, 1=32-bit, 2/3=32bit+sync */
567 u8 bad_wstat; /* used for ignoring ATA_DF */
568 u8 head; /* "real" number of heads */
569 u8 sect; /* "real" sectors per track */
570 u8 bios_head; /* BIOS/fdisk/LILO number of heads */
571 u8 bios_sect; /* BIOS/fdisk/LILO sectors per track */
574 u8 pc_delay;
576 unsigned int bios_cyl; /* BIOS/fdisk/LILO number of cyls */
577 unsigned int cyl; /* "real" number of cyls */
578 void *drive_data; /* used by set_pio_mode/dev_select() */
579 unsigned int failures; /* current failure count */
603 int (*pc_callback)(struct ide_drive_s *, int); argument
605 ide_startstop_t (*irq_handler)(struct ide_drive_s *); argument
617 typedef struct ide_drive_s ide_drive_t; argument