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