Lines Matching defs:ata_device
609 struct ata_device { struct
610 struct ata_link *link;
611 unsigned int devno; /* 0 or 1 */
612 unsigned int horkage; /* List of broken features */
613 unsigned long flags; /* ATA_DFLAG_xxx */
614 struct scsi_device *sdev; /* attached SCSI device */
615 void *private_data;
617 acpi_handle acpi_handle;
618 union acpi_object *gtf_cache;
619 unsigned int gtf_filter;
621 struct device tdev;
623 u64 n_sectors; /* size of device, if ATA */
624 u64 n_native_sectors; /* native size, if ATA */
625 unsigned int class; /* ATA_DEV_xxx */
626 unsigned long unpark_deadline;
628 u8 pio_mode;
629 u8 dma_mode;
630 u8 xfer_mode;
631 unsigned int xfer_shift; /* ATA_SHIFT_xxx */
633 unsigned int multi_count; /* sectors count for
635 unsigned int max_sectors; /* per-device max sectors */
636 unsigned int cdb_len;
662 #define ATA_DEVICE_CLEAR_BEGIN offsetof(struct ata_device, n_sectors) argument