Lines Matching defs:ata_device
662 struct ata_device { struct
663 struct ata_link *link;
664 unsigned int devno; /* 0 or 1 */
665 unsigned int horkage; /* List of broken features */
666 unsigned long flags; /* ATA_DFLAG_xxx */
667 struct scsi_device *sdev; /* attached SCSI device */
668 void *private_data;
670 union acpi_object *gtf_cache;
671 unsigned int gtf_filter;
674 void *zpodd;
676 struct device tdev;
678 u64 n_sectors; /* size of device, if ATA */
679 u64 n_native_sectors; /* native size, if ATA */
680 unsigned int class; /* ATA_DEV_xxx */
681 unsigned long unpark_deadline;
683 u8 pio_mode;
684 u8 dma_mode;
685 u8 xfer_mode;
686 unsigned int xfer_shift; /* ATA_SHIFT_xxx */
688 unsigned int multi_count; /* sectors count for
690 unsigned int max_sectors; /* per-device max sectors */
691 unsigned int cdb_len;
694 unsigned int pio_mask;
695 unsigned int mwdma_mask;
696 unsigned int udma_mask;
699 u16 cylinders; /* Number of cylinders */
700 u16 heads; /* Number of heads */
701 u16 sectors; /* Number of sectors per track */
703 union {
706 } ____cacheline_aligned;
709 u8 devslp_timing[ATA_LOG_DEVSLP_SIZE];
712 u8 ncq_send_recv_cmds[ATA_LOG_NCQ_SEND_RECV_SIZE];
736 #define ATA_DEVICE_CLEAR_BEGIN offsetof(struct ata_device, n_sectors) argument