Lines Matching refs:ata_device

39 extern struct ata_link *ata_dev_phys_link(struct ata_device *dev);
50 struct ata_device *dev);
51 extern unsigned ata_exec_internal(struct ata_device *dev,
57 extern int ata_dev_read_id(struct ata_device *dev, unsigned int *p_class,
59 extern int ata_dev_reread_id(struct ata_device *dev, unsigned int readid_flags);
60 extern int ata_dev_revalidate(struct ata_device *dev, unsigned int new_class,
62 extern int ata_dev_configure(struct ata_device *dev);
64 extern int ata_down_xfermask_limit(struct ata_device *dev, unsigned int sel);
65 extern unsigned int ata_dev_set_feature(struct ata_device *dev,
74 extern void ata_dev_init(struct ata_device *dev);
83 extern unsigned int ata_read_log_page(struct ata_device *dev, u8 log,
93 extern int ata_acpi_on_devcfg(struct ata_device *dev);
94 extern void ata_acpi_on_disable(struct ata_device *dev);
97 extern void ata_acpi_bind_dev(struct ata_device *dev);
98 extern acpi_handle ata_dev_acpi_handle(struct ata_device *dev);
102 static inline int ata_acpi_on_devcfg(struct ata_device *dev) { return 0; } in ata_acpi_on_devcfg()
103 static inline void ata_acpi_on_disable(struct ata_device *dev) { } in ata_acpi_on_disable()
107 static inline void ata_acpi_bind_dev(struct ata_device *dev) {} in ata_acpi_bind_dev()
111 extern struct ata_device *ata_scsi_find_dev(struct ata_port *ap,
116 extern int ata_scsi_offline_dev(struct ata_device *dev);
117 extern void ata_scsi_set_sense(struct ata_device *dev,
119 extern void ata_scsi_set_sense_information(struct ata_device *dev,
122 extern void ata_scsi_media_change_notify(struct ata_device *dev);
130 int ata_scsi_dev_config(struct scsi_device *sdev, struct ata_device *dev);
131 int __ata_scsi_queuecmd(struct scsi_cmnd *scmd, struct ata_device *dev);
134 extern unsigned int ata_internal_cmd_timeout(struct ata_device *dev, u8 cmd);
135 extern void ata_internal_cmd_timed_out(struct ata_device *dev, u8 cmd);
141 extern void ata_dev_disable(struct ata_device *dev);
142 extern void ata_eh_detach_dev(struct ata_device *dev);
143 extern void ata_eh_about_to_do(struct ata_link *link, struct ata_device *dev,
145 extern void ata_eh_done(struct ata_link *link, struct ata_device *dev,
153 extern int ata_set_mode(struct ata_link *link, struct ata_device **r_failed_dev);
162 extern unsigned int atapi_eh_tur(struct ata_device *dev, u8 *r_sense_key);
163 extern unsigned int atapi_eh_request_sense(struct ata_device *dev,
172 extern int sata_pmp_attach(struct ata_device *dev);
190 static inline int sata_pmp_attach(struct ata_device *dev) in sata_pmp_attach()
215 void zpodd_init(struct ata_device *dev);
216 void zpodd_exit(struct ata_device *dev);
217 static inline bool zpodd_dev_enabled(struct ata_device *dev) in zpodd_dev_enabled()
221 void zpodd_on_suspend(struct ata_device *dev);
222 bool zpodd_zpready(struct ata_device *dev);
223 void zpodd_enable_run_wake(struct ata_device *dev);
224 void zpodd_disable_run_wake(struct ata_device *dev);
225 void zpodd_post_poweron(struct ata_device *dev);
227 static inline void zpodd_init(struct ata_device *dev) {} in zpodd_init()
228 static inline void zpodd_exit(struct ata_device *dev) {} in zpodd_exit()
229 static inline bool zpodd_dev_enabled(struct ata_device *dev) { return false; } in zpodd_dev_enabled()
230 static inline void zpodd_on_suspend(struct ata_device *dev) {} in zpodd_on_suspend()
231 static inline bool zpodd_zpready(struct ata_device *dev) { return false; } in zpodd_zpready()
232 static inline void zpodd_enable_run_wake(struct ata_device *dev) {} in zpodd_enable_run_wake()
233 static inline void zpodd_disable_run_wake(struct ata_device *dev) {} in zpodd_disable_run_wake()
234 static inline void zpodd_post_poweron(struct ata_device *dev) {} in zpodd_post_poweron()