Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/ata/
Dlibata-eh.c1297 if (!(ehc->i.flags & ATA_EHI_QUIET) && link != ap->slave_link) in ata_eh_about_to_do()
2064 if (ap->slave_link) { in ata_eh_autopsy()
2066 struct ata_eh_context *sehc = &ap->slave_link->eh_context; in ata_eh_autopsy()
2072 ata_eh_link_autopsy(ap->slave_link); in ata_eh_autopsy()
2075 ata_eh_about_to_do(ap->slave_link, NULL, ATA_EH_ALL_ACTIONS); in ata_eh_autopsy()
2079 ata_eh_done(ap->slave_link, NULL, ATA_EH_ALL_ACTIONS); in ata_eh_autopsy()
2455 struct ata_link *slave = ap->slave_link; in ata_eh_reset()
3290 if (!rc && ap->slave_link) in ata_eh_set_lpm()
3291 rc = ap->ops->set_lpm(ap->slave_link, policy, hints); in ata_eh_set_lpm()
3313 if (ap && ap->slave_link) in ata_eh_set_lpm()
[all …]
Dlibata-core.c206 if (unlikely(ap->slave_link)) in ata_link_next()
207 return ap->slave_link; in ata_link_next()
214 if (unlikely(link == ap->slave_link)) in ata_link_next()
300 if (!ap->slave_link) in ata_dev_phys_link()
304 return ap->slave_link; in ata_dev_phys_link()
3440 WARN_ON(link == link->ap->slave_link); in ata_wait_ready()
4925 struct ata_link *slave = link->ap->slave_link; in ata_link_online()
4952 struct ata_link *slave = link->ap->slave_link; in ata_link_offline()
5362 kfree(ap->slave_link); in ata_host_release()
5793 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()
/kernel/linux/linux-5.10/include/linux/
Dlibata.h849 struct ata_link *slave_link; /* see ata_slave_link_init() */ member
1440 return link == &link->ap->link || link == link->ap->slave_link; in ata_is_host_link()