Lines Matching defs:link
79 extern int ata_wait_ready(struct ata_link *link, unsigned long deadline,
80 int (*check_ready)(struct ata_link *link));
87 extern int sata_down_spd_limit(struct ata_link *link, u32 spd_limit);
95 extern bool ata_phys_link_online(struct ata_link *link);
96 extern bool ata_phys_link_offline(struct ata_link *link);
98 extern void ata_link_init(struct ata_port *ap, struct ata_link *link, int pmp);
99 extern int sata_link_init_spd(struct ata_link *link);
151 extern void ata_eh_about_to_do(struct ata_link *link, struct ata_device *dev,
153 extern void ata_eh_done(struct ata_link *link, struct ata_device *dev,
158 extern int ata_eh_reset(struct ata_link *link, int classify,
161 extern int ata_set_mode(struct ata_link *link, struct ata_device **r_failed_dev);
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);
174 static inline int sata_pmp_scr_read(struct ata_link *link, int reg, u32 *val)
179 static inline int sata_pmp_scr_write(struct ata_link *link, int reg, u32 val)