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