Lines Matching defs:ata_device
676 struct ata_device { struct
677 struct ata_link *link;
678 unsigned int devno; /* 0 or 1 */
679 unsigned int horkage; /* List of broken features */
680 unsigned long flags; /* ATA_DFLAG_xxx */
681 struct scsi_device *sdev; /* attached SCSI device */
682 void *private_data;
684 union acpi_object *gtf_cache;
685 unsigned int gtf_filter;
688 void *zpodd;
690 struct device tdev;
692 u64 n_sectors; /* size of device, if ATA */
693 u64 n_native_sectors; /* native size, if ATA */
694 unsigned int class; /* ATA_DEV_xxx */
695 unsigned long unpark_deadline;
697 u8 pio_mode;
698 u8 dma_mode;
699 u8 xfer_mode;
700 unsigned int xfer_shift; /* ATA_SHIFT_xxx */
702 unsigned int multi_count; /* sectors count for
704 unsigned int max_sectors; /* per-device max sectors */
705 unsigned int cdb_len;
708 unsigned long pio_mask;
709 unsigned long mwdma_mask;
710 unsigned long udma_mask;
713 u16 cylinders; /* Number of cylinders */
737 #define ATA_DEVICE_CLEAR_BEGIN offsetof(struct ata_device, n_sectors) argument