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