Lines Matching defs:ata_device
673 struct ata_device { struct
674 struct ata_link *link;
675 unsigned int devno; /* 0 or 1 */
676 unsigned int horkage; /* List of broken features */
677 unsigned long flags; /* ATA_DFLAG_xxx */
678 struct scsi_device *sdev; /* attached SCSI device */
679 void *private_data;
681 union acpi_object *gtf_cache;
682 unsigned int gtf_filter;
685 void *zpodd;
687 struct device tdev;
689 u64 n_sectors; /* size of device, if ATA */
690 u64 n_native_sectors; /* native size, if ATA */
691 unsigned int class; /* ATA_DEV_xxx */
692 unsigned long unpark_deadline;
694 u8 pio_mode;
695 u8 dma_mode;
696 u8 xfer_mode;
697 unsigned int xfer_shift; /* ATA_SHIFT_xxx */
699 unsigned int multi_count; /* sectors count for
701 unsigned int max_sectors; /* per-device max sectors */
702 unsigned int cdb_len;
705 unsigned long pio_mask;
706 unsigned long mwdma_mask;
707 unsigned long udma_mask;
710 u16 cylinders; /* Number of cylinders */
711 u16 heads; /* Number of heads */
712 u16 sectors; /* Number of sectors per track */
714 union {
717 } ____cacheline_aligned;
741 #define ATA_DEVICE_CLEAR_BEGIN offsetof(struct ata_device, n_sectors) argument