Lines Matching defs:ata_device
686 struct ata_device { struct
687 struct ata_link *link;
688 unsigned int devno; /* 0 or 1 */
689 unsigned int horkage; /* List of broken features */
690 unsigned long flags; /* ATA_DFLAG_xxx */
691 struct scsi_device *sdev; /* attached SCSI device */
692 void *private_data;
694 union acpi_object *gtf_cache;
695 unsigned int gtf_filter;
698 void *zpodd;
700 struct device tdev;
702 u64 n_sectors; /* size of device, if ATA */
703 u64 n_native_sectors; /* native size, if ATA */
704 unsigned int class; /* ATA_DEV_xxx */
705 unsigned long unpark_deadline;
707 u8 pio_mode;
708 u8 dma_mode;
709 u8 xfer_mode;
710 unsigned int xfer_shift; /* ATA_SHIFT_xxx */
712 unsigned int multi_count; /* sectors count for
714 unsigned int max_sectors; /* per-device max sectors */
715 unsigned int cdb_len;
718 unsigned long pio_mask;
719 unsigned long mwdma_mask;
720 unsigned long udma_mask;
723 u16 cylinders; /* Number of cylinders */
724 u16 heads; /* Number of heads */
725 u16 sectors; /* Number of sectors per track */
727 union {
730 } ____cacheline_aligned;
754 #define ATA_DEVICE_CLEAR_BEGIN offsetof(struct ata_device, n_sectors) argument