Home
last modified time | relevance | path

Searched refs:slave_link (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/drivers/ata/
Dlibata-eh.c1289 if (!(ehc->i.flags & ATA_EHI_QUIET) && link != ap->slave_link) in ata_eh_about_to_do()
2055 if (ap->slave_link) { in ata_eh_autopsy()
2057 struct ata_eh_context *sehc = &ap->slave_link->eh_context; in ata_eh_autopsy()
2063 ata_eh_link_autopsy(ap->slave_link); in ata_eh_autopsy()
2066 ata_eh_about_to_do(ap->slave_link, NULL, ATA_EH_ALL_ACTIONS); in ata_eh_autopsy()
2070 ata_eh_done(ap->slave_link, NULL, ATA_EH_ALL_ACTIONS); in ata_eh_autopsy()
2446 struct ata_link *slave = ap->slave_link; in ata_eh_reset()
3282 if (!rc && ap->slave_link) in ata_eh_set_lpm()
3283 rc = ap->ops->set_lpm(ap->slave_link, policy, hints); in ata_eh_set_lpm()
3305 if (ap && ap->slave_link) in ata_eh_set_lpm()
[all …]
Dlibata-core.c212 if (unlikely(ap->slave_link)) in ata_link_next()
213 return ap->slave_link; in ata_link_next()
220 if (unlikely(link == ap->slave_link)) in ata_link_next()
306 if (!ap->slave_link) in ata_dev_phys_link()
310 return ap->slave_link; in ata_dev_phys_link()
3460 WARN_ON(link == link->ap->slave_link); in ata_wait_ready()
4943 struct ata_link *slave = link->ap->slave_link; in ata_link_online()
4970 struct ata_link *slave = link->ap->slave_link; in ata_link_offline()
5380 kfree(ap->slave_link); in ata_host_release()
5811 if (ap->slave_link) in ata_host_register()
[all …]
Dlibata-sata.c727 WARN_ON(ap->slave_link); in ata_slave_link_init()
735 ap->slave_link = link; in ata_slave_link_init()
/Linux-v5.15/include/linux/
Dlibata.h854 struct ata_link *slave_link; /* see ata_slave_link_init() */ member
1448 return link == &link->ap->link || link == link->ap->slave_link; in ata_is_host_link()