Lines Matching defs:ata_device
721 struct ata_device { struct
722 struct ata_link *link;
723 unsigned int devno; /* 0 or 1 */
724 unsigned int quirks; /* List of broken features */
725 unsigned long flags; /* ATA_DFLAG_xxx */
726 struct scsi_device *sdev; /* attached SCSI device */
727 void *private_data;
729 union acpi_object *gtf_cache;
730 unsigned int gtf_filter;
733 void *zpodd;
735 struct device tdev;
737 u64 n_sectors; /* size of device, if ATA */
738 u64 n_native_sectors; /* native size, if ATA */
739 unsigned int class; /* ATA_DEV_xxx */
740 unsigned long unpark_deadline;
742 u8 pio_mode;
743 u8 dma_mode;
744 u8 xfer_mode;
745 unsigned int xfer_shift; /* ATA_SHIFT_xxx */
747 unsigned int multi_count; /* sectors count for
749 unsigned int max_sectors; /* per-device max sectors */
750 unsigned int cdb_len;
753 unsigned int pio_mask;
754 unsigned int mwdma_mask;
755 unsigned int udma_mask;
758 u16 cylinders; /* Number of cylinders */
759 u16 heads; /* Number of heads */
760 u16 sectors; /* Number of sectors per track */
762 union {
765 } ____cacheline_aligned;
768 u8 devslp_timing[ATA_LOG_DEVSLP_SIZE];
771 u8 ncq_send_recv_cmds[ATA_LOG_NCQ_SEND_RECV_SIZE];
772 u8 ncq_non_data_cmds[ATA_LOG_NCQ_NON_DATA_SIZE];
798 #define ATA_DEVICE_CLEAR_BEGIN offsetof(struct ata_device, n_sectors) argument