Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/ata/
Dlibata-eh.c1298 if (!(ehc->i.flags & ATA_EHI_QUIET) && link != ap->slave_link) in ata_eh_about_to_do()
2173 if (ap->slave_link) { in ata_eh_autopsy()
2175 struct ata_eh_context *sehc = &ap->slave_link->eh_context; in ata_eh_autopsy()
2181 ata_eh_link_autopsy(ap->slave_link); in ata_eh_autopsy()
2184 ata_eh_about_to_do(ap->slave_link, NULL, ATA_EH_ALL_ACTIONS); in ata_eh_autopsy()
2188 ata_eh_done(ap->slave_link, NULL, ATA_EH_ALL_ACTIONS); in ata_eh_autopsy()
2561 struct ata_link *slave = ap->slave_link; in ata_eh_reset()
3424 if (!rc && ap->slave_link) in ata_eh_set_lpm()
3425 rc = ap->ops->set_lpm(ap->slave_link, policy, hints); in ata_eh_set_lpm()
3447 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()
3642 WARN_ON(link == link->ap->slave_link); in ata_wait_ready()
5090 struct ata_link *slave = link->ap->slave_link; in ata_link_online()
5117 struct ata_link *slave = link->ap->slave_link; in ata_link_offline()
5531 kfree(ap->slave_link); in ata_host_release()
5947 if (ap->slave_link) in ata_host_register()
[all …]
Dlibata-sata.c742 WARN_ON(ap->slave_link); in ata_slave_link_init()
750 ap->slave_link = link; in ata_slave_link_init()
/linux-6.6.21/include/linux/
Dlibata.h841 struct ata_link *slave_link; /* see ata_slave_link_init() */ member
1454 return link == &link->ap->link || link == link->ap->slave_link; in ata_is_host_link()
1497 (link)->ap->slave_link) \