Lines Matching defs:ide_drive_s

527 struct ide_drive_s {  struct
533 bool (*prep_rq)(struct ide_drive_s *, struct request *); argument
535 struct blk_mq_tag_set tag_set;
537 struct request *rq; /* current request */
538 void *driver_data; /* extra driver data */
539 u16 *id; /* identification info */
541 struct proc_dir_entry *proc; /* /proc/ide/ directory entry */
542 const struct ide_proc_devset *settings; /* /proc/ide/ drive settings */
544 struct hwif_s *hwif; /* actually (ide_hwif_t *) */
546 const struct ide_disk_ops *disk_ops;
548 unsigned long dev_flags;
550 unsigned long sleep; /* sleep until this time */
551 unsigned long timeout; /* max time to wait for irq */
553 u8 special_flags; /* special action flags */
555 u8 select; /* basic drive/head select reg value */
556 u8 retry_pio; /* retrying dma capable host in pio */
557 u8 waiting_for_dma; /* dma currently in progress */
558 u8 dma; /* atapi dma flag */
560 u8 init_speed; /* transfer rate set at boot */
561 u8 current_speed; /* current transfer rate set */
562 u8 desired_speed; /* desired transfer rate set */
563 u8 pio_mode; /* for ->set_pio_mode _only_ */
564 u8 dma_mode; /* for ->set_dma_mode _only_ */
565 u8 dn; /* now wide spread use */
566 u8 acoustic; /* acoustic management */
567 u8 media; /* disk, cdrom, tape, floppy, ... */
568 u8 ready_stat; /* min status value for drive ready */
569 u8 mult_count; /* current multiple sector setting */
570 u8 mult_req; /* requested multiple sector setting */
571 u8 io_32bit; /* 0=16-bit, 1=32-bit, 2/3=32bit+sync */
572 u8 bad_wstat; /* used for ignoring ATA_DF */
573 u8 head; /* "real" number of heads */
574 u8 sect; /* "real" sectors per track */
575 u8 bios_head; /* BIOS/fdisk/LILO number of heads */
576 u8 bios_sect; /* BIOS/fdisk/LILO sectors per track */
579 u8 pc_delay;
581 unsigned int bios_cyl; /* BIOS/fdisk/LILO number of cyls */
582 unsigned int cyl; /* "real" number of cyls */
583 void *drive_data; /* used by set_pio_mode/dev_select() */
584 unsigned int failures; /* current failure count */
608 int (*pc_callback)(struct ide_drive_s *, int); argument
610 ide_startstop_t (*irq_handler)(struct ide_drive_s *); argument
627 typedef struct ide_drive_s ide_drive_t; argument