Lines Matching refs:ata_link
41 extern struct ata_link *ata_dev_phys_link(struct ata_device *dev);
57 extern int ata_wait_ready(struct ata_link *link, unsigned long deadline,
58 int (*check_ready)(struct ata_link *link));
67 extern int sata_down_spd_limit(struct ata_link *link, u32 spd_limit);
76 extern bool ata_phys_link_online(struct ata_link *link);
77 extern bool ata_phys_link_offline(struct ata_link *link);
79 extern void ata_link_init(struct ata_port *ap, struct ata_link *link, int pmp);
80 extern int sata_link_init_spd(struct ata_link *link);
145 extern void ata_eh_about_to_do(struct ata_link *link, struct ata_device *dev,
147 extern void ata_eh_done(struct ata_link *link, struct ata_device *dev,
152 extern int ata_eh_reset(struct ata_link *link, int classify,
155 extern int ata_set_mode(struct ata_link *link, struct ata_device **r_failed_dev);
159 struct ata_link **r_failed_disk);
170 extern int sata_pmp_scr_read(struct ata_link *link, int reg, u32 *val);
171 extern int sata_pmp_scr_write(struct ata_link *link, int reg, u32 val);
172 extern int sata_pmp_set_lpm(struct ata_link *link, enum ata_lpm_policy policy,
176 static inline int sata_pmp_scr_read(struct ata_link *link, int reg, u32 *val) in sata_pmp_scr_read()
181 static inline int sata_pmp_scr_write(struct ata_link *link, int reg, u32 val) in sata_pmp_scr_write()
186 static inline int sata_pmp_set_lpm(struct ata_link *link, in sata_pmp_set_lpm()