Lines Matching refs:ata_link
38 static unsigned int sata_pmp_read(struct ata_link *link, int reg, u32 *r_val) in sata_pmp_read()
75 static unsigned int sata_pmp_write(struct ata_link *link, int reg, u32 val) in sata_pmp_write()
111 struct ata_link *link = qc->dev->link; in sata_pmp_qc_defer_cmd_switch()
141 int sata_pmp_scr_read(struct ata_link *link, int reg, u32 *r_val) in sata_pmp_scr_read()
172 int sata_pmp_scr_write(struct ata_link *link, int reg, u32 val) in sata_pmp_scr_write()
203 int sata_pmp_set_lpm(struct ata_link *link, enum ata_lpm_policy policy, in sata_pmp_set_lpm()
338 struct ata_link *pmp_link = ap->pmp_link; in sata_pmp_init_links()
361 struct ata_link *link = &pmp_link[i]; in sata_pmp_init_links()
383 struct ata_link *link; in sata_pmp_quirks()
487 struct ata_link *link = dev->link; in sata_pmp_attach()
490 struct ata_link *tlink; in sata_pmp_attach()
561 struct ata_link *link = dev->link; in sata_pmp_detach()
563 struct ata_link *tlink; in sata_pmp_detach()
650 struct ata_link *link = dev->link; in sata_pmp_revalidate()
755 struct ata_link *link = &ap->link; in sata_pmp_eh_recover_pmp()
774 struct ata_link *tlink; in sata_pmp_eh_recover_pmp()
847 struct ata_link *link; in sata_pmp_eh_handle_disabled_links()
883 static int sata_pmp_handle_link_fail(struct ata_link *link, int *link_tries) in sata_pmp_handle_link_fail()
927 struct ata_link *pmp_link = &ap->link; in sata_pmp_eh_recover()
931 struct ata_link *link; in sata_pmp_eh_recover()