Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/ata/
Dlibata-eh.c1294 if (!(ehc->i.flags & ATA_EHI_QUIET) && link != ap->slave_link) in ata_eh_about_to_do()
2053 if (ap->slave_link) { in ata_eh_autopsy()
2055 struct ata_eh_context *sehc = &ap->slave_link->eh_context; in ata_eh_autopsy()
2061 ata_eh_link_autopsy(ap->slave_link); in ata_eh_autopsy()
2064 ata_eh_about_to_do(ap->slave_link, NULL, ATA_EH_ALL_ACTIONS); in ata_eh_autopsy()
2068 ata_eh_done(ap->slave_link, NULL, ATA_EH_ALL_ACTIONS); in ata_eh_autopsy()
2441 struct ata_link *slave = ap->slave_link; in ata_eh_reset()
3306 if (!rc && ap->slave_link) in ata_eh_set_lpm()
3307 rc = ap->ops->set_lpm(ap->slave_link, policy, hints); in ata_eh_set_lpm()
3329 if (ap && ap->slave_link) in ata_eh_set_lpm()
[all …]
Dlibata-core.c213 if (unlikely(ap->slave_link)) in ata_link_next()
214 return ap->slave_link; in ata_link_next()
221 if (unlikely(link == ap->slave_link)) in ata_link_next()
307 if (!ap->slave_link) in ata_dev_phys_link()
311 return ap->slave_link; in ata_dev_phys_link()
3497 WARN_ON(link == link->ap->slave_link); in ata_wait_ready()
4937 struct ata_link *slave = link->ap->slave_link; in ata_link_online()
4964 struct ata_link *slave = link->ap->slave_link; in ata_link_offline()
5362 kfree(ap->slave_link); in ata_host_release()
5789 if (ap->slave_link) in ata_host_register()
[all …]
Dlibata-sata.c724 WARN_ON(ap->slave_link); in ata_slave_link_init()
732 ap->slave_link = link; in ata_slave_link_init()
/linux-6.1.9/include/linux/
Dlibata.h824 struct ata_link *slave_link; /* see ata_slave_link_init() */ member
1434 return link == &link->ap->link || link == link->ap->slave_link; in ata_is_host_link()
1477 (link)->ap->slave_link) \