Lines Matching defs:ata_device
718 struct ata_device { struct
719 struct ata_link *link;
720 unsigned int devno; /* 0 or 1 */
721 unsigned int quirks; /* List of broken features */
722 unsigned long flags; /* ATA_DFLAG_xxx */
723 struct scsi_device *sdev; /* attached SCSI device */
724 void *private_data;
726 union acpi_object *gtf_cache;
727 unsigned int gtf_filter;
730 void *zpodd;
732 struct device tdev;
734 u64 n_sectors; /* size of device, if ATA */
735 u64 n_native_sectors; /* native size, if ATA */
736 unsigned int class; /* ATA_DEV_xxx */
737 unsigned long unpark_deadline;
739 u8 pio_mode;
740 u8 dma_mode;
741 u8 xfer_mode;
742 unsigned int xfer_shift; /* ATA_SHIFT_xxx */
744 unsigned int multi_count; /* sectors count for
746 unsigned int max_sectors; /* per-device max sectors */
747 unsigned int cdb_len;
750 unsigned int pio_mask;
751 unsigned int mwdma_mask;
752 unsigned int udma_mask;
755 u16 cylinders; /* Number of cylinders */
756 u16 heads; /* Number of heads */
757 u16 sectors; /* Number of sectors per track */
759 union {
762 } ____cacheline_aligned;
765 u8 devslp_timing[ATA_LOG_DEVSLP_SIZE];
768 u8 ncq_send_recv_cmds[ATA_LOG_NCQ_SEND_RECV_SIZE];
769 u8 ncq_non_data_cmds[ATA_LOG_NCQ_NON_DATA_SIZE];
795 #define ATA_DEVICE_CLEAR_BEGIN offsetof(struct ata_device, n_sectors) argument