Lines Matching refs:ata_link
39 extern struct ata_link *ata_dev_phys_link(struct ata_device *dev);
61 extern int ata_wait_ready(struct ata_link *link, unsigned long deadline,
62 int (*check_ready)(struct ata_link *link));
69 extern int sata_down_spd_limit(struct ata_link *link, u32 spd_limit);
78 extern bool ata_phys_link_online(struct ata_link *link);
79 extern bool ata_phys_link_offline(struct ata_link *link);
81 extern void ata_link_init(struct ata_port *ap, struct ata_link *link, int pmp);
82 extern int sata_link_init_spd(struct ata_link *link);
164 extern void ata_eh_about_to_do(struct ata_link *link, struct ata_device *dev,
166 extern void ata_eh_done(struct ata_link *link, struct ata_device *dev,
171 extern int ata_eh_reset(struct ata_link *link, int classify,
174 extern int ata_set_mode(struct ata_link *link, struct ata_device **r_failed_dev);
178 struct ata_link **r_failed_disk);
189 extern int sata_pmp_scr_read(struct ata_link *link, int reg, u32 *val);
190 extern int sata_pmp_scr_write(struct ata_link *link, int reg, u32 val);
191 extern int sata_pmp_set_lpm(struct ata_link *link, enum ata_lpm_policy policy,
195 static inline int sata_pmp_scr_read(struct ata_link *link, int reg, u32 *val) in sata_pmp_scr_read()
200 static inline int sata_pmp_scr_write(struct ata_link *link, int reg, u32 val) in sata_pmp_scr_write()
205 static inline int sata_pmp_set_lpm(struct ata_link *link, in sata_pmp_set_lpm()