Lines Matching refs:ata_device

584 	struct ata_device	*dev;
650 struct ata_device { struct
721 #define ATA_DEVICE_CLEAR_BEGIN offsetof(struct ata_device, n_sectors) argument
722 #define ATA_DEVICE_CLEAR_END offsetof(struct ata_device, ering)
725 struct ata_device *dev; /* offending device */
784 struct ata_device device[ATA_MAX_DEVICES];
888 unsigned int (*mode_filter)(struct ata_device *dev, unsigned int xfer_mask);
889 void (*set_piomode)(struct ata_port *ap, struct ata_device *dev);
890 void (*set_dmamode)(struct ata_port *ap, struct ata_device *dev);
891 int (*set_mode)(struct ata_link *link, struct ata_device **r_failed_dev);
892 unsigned int (*read_id)(struct ata_device *dev, struct ata_taskfile *tf,
895 void (*dev_config)(struct ata_device *dev);
962 ssize_t (*sw_activity_show)(struct ata_device *dev, char *buf);
963 ssize_t (*sw_activity_store)(struct ata_device *dev,
1129 extern void ata_dev_disable(struct ata_device *adev);
1134 extern unsigned int ata_do_dev_read_id(struct ata_device *dev,
1138 extern void ata_scsi_simulate(struct ata_device *dev, struct scsi_cmnd *cmd);
1147 extern int ata_change_queue_depth(struct ata_port *ap, struct ata_device *dev,
1149 extern struct ata_device *ata_dev_pair(struct ata_device *adev);
1150 extern int ata_do_set_mode(struct ata_link *link, struct ata_device **r_failed_dev);
1251 extern unsigned int ata_pio_need_iordy(const struct ata_device *);
1293 unsigned int ata_acpi_gtm_xfermask(struct ata_device *dev,
1314 static inline unsigned int ata_acpi_gtm_xfermask(struct ata_device *dev, in ata_acpi_gtm_xfermask()
1608 static inline unsigned int ata_dev_enabled(const struct ata_device *dev) in ata_dev_enabled()
1613 static inline unsigned int ata_dev_disabled(const struct ata_device *dev) in ata_dev_disabled()
1618 static inline unsigned int ata_dev_absent(const struct ata_device *dev) in ata_dev_absent()
1669 extern struct ata_device *ata_dev_next(struct ata_device *dev,
1705 static inline bool ata_ncq_supported(struct ata_device *dev) in ata_ncq_supported()
1722 static inline bool ata_ncq_enabled(struct ata_device *dev) in ata_ncq_enabled()
1727 static inline bool ata_fpdma_dsm_supported(struct ata_device *dev) in ata_fpdma_dsm_supported()
1734 static inline bool ata_fpdma_read_log_supported(struct ata_device *dev) in ata_fpdma_read_log_supported()
1741 static inline bool ata_fpdma_zac_mgmt_in_supported(struct ata_device *dev) in ata_fpdma_zac_mgmt_in_supported()
1748 static inline bool ata_fpdma_zac_mgmt_out_supported(struct ata_device *dev) in ata_fpdma_zac_mgmt_out_supported()
1787 static inline void ata_tf_init(struct ata_device *dev, struct ata_taskfile *tf) in ata_tf_init()
1821 static inline int ata_try_flush_cache(const struct ata_device *dev) in ata_try_flush_cache()
1872 static inline int ata_using_mwdma(struct ata_device *adev) in ata_using_mwdma()
1879 static inline int ata_using_udma(struct ata_device *adev) in ata_using_udma()
1886 static inline int ata_dma_enabled(struct ata_device *adev) in ata_dma_enabled()
1895 extern int ata_timing_compute(struct ata_device *, unsigned short,
1964 extern unsigned int ata_sff_dev_classify(struct ata_device *dev, int present,