Lines Matching defs:ata_device
694 struct ata_device { struct
695 struct ata_link *link;
696 unsigned int devno; /* 0 or 1 */
697 unsigned int horkage; /* List of broken features */
698 unsigned long flags; /* ATA_DFLAG_xxx */
699 struct scsi_device *sdev; /* attached SCSI device */
700 void *private_data;
702 union acpi_object *gtf_cache;
703 unsigned int gtf_filter;
706 void *zpodd;
708 struct device tdev;
710 u64 n_sectors; /* size of device, if ATA */
711 u64 n_native_sectors; /* native size, if ATA */
712 unsigned int class; /* ATA_DEV_xxx */
713 unsigned long unpark_deadline;
715 u8 pio_mode;
716 u8 dma_mode;
717 u8 xfer_mode;
718 unsigned int xfer_shift; /* ATA_SHIFT_xxx */
720 unsigned int multi_count; /* sectors count for
722 unsigned int max_sectors; /* per-device max sectors */
723 unsigned int cdb_len;
726 unsigned long pio_mask;
727 unsigned long mwdma_mask;
728 unsigned long udma_mask;
731 u16 cylinders; /* Number of cylinders */
732 u16 heads; /* Number of heads */
733 u16 sectors; /* Number of sectors per track */
735 union {
738 } ____cacheline_aligned;
762 #define ATA_DEVICE_CLEAR_BEGIN offsetof(struct ata_device, n_sectors) argument