Lines Matching defs:ata_device
677 struct ata_device { struct
678 struct ata_link *link;
679 unsigned int devno; /* 0 or 1 */
680 unsigned int horkage; /* List of broken features */
681 unsigned long flags; /* ATA_DFLAG_xxx */
682 struct scsi_device *sdev; /* attached SCSI device */
683 void *private_data;
685 union acpi_object *gtf_cache;
686 unsigned int gtf_filter;
689 void *zpodd;
691 struct device tdev;
693 u64 n_sectors; /* size of device, if ATA */
694 u64 n_native_sectors; /* native size, if ATA */
695 unsigned int class; /* ATA_DEV_xxx */
696 unsigned long unpark_deadline;
698 u8 pio_mode;
699 u8 dma_mode;
700 u8 xfer_mode;
701 unsigned int xfer_shift; /* ATA_SHIFT_xxx */
703 unsigned int multi_count; /* sectors count for
705 unsigned int max_sectors; /* per-device max sectors */
706 unsigned int cdb_len;
709 unsigned long pio_mask;
710 unsigned long mwdma_mask;
711 unsigned long udma_mask;
714 u16 cylinders; /* Number of cylinders */
715 u16 heads; /* Number of heads */
716 u16 sectors; /* Number of sectors per track */
718 union {
721 } ____cacheline_aligned;
745 #define ATA_DEVICE_CLEAR_BEGIN offsetof(struct ata_device, n_sectors) argument