Lines Matching defs:ata_device
674 struct ata_device { struct
675 struct ata_link *link;
676 unsigned int devno; /* 0 or 1 */
677 unsigned int horkage; /* List of broken features */
678 unsigned long flags; /* ATA_DFLAG_xxx */
679 struct scsi_device *sdev; /* attached SCSI device */
680 void *private_data;
682 union acpi_object *gtf_cache;
683 unsigned int gtf_filter;
686 void *zpodd;
688 struct device tdev;
690 u64 n_sectors; /* size of device, if ATA */
691 u64 n_native_sectors; /* native size, if ATA */
692 unsigned int class; /* ATA_DEV_xxx */
693 unsigned long unpark_deadline;
695 u8 pio_mode;
696 u8 dma_mode;
697 u8 xfer_mode;
698 unsigned int xfer_shift; /* ATA_SHIFT_xxx */
700 unsigned int multi_count; /* sectors count for
702 unsigned int max_sectors; /* per-device max sectors */
703 unsigned int cdb_len;
706 unsigned long pio_mask;
707 unsigned long mwdma_mask;
708 unsigned long udma_mask;
711 u16 cylinders; /* Number of cylinders */
712 u16 heads; /* Number of heads */
713 u16 sectors; /* Number of sectors per track */
715 union {
718 } ____cacheline_aligned;
742 #define ATA_DEVICE_CLEAR_BEGIN offsetof(struct ata_device, n_sectors) argument