Lines Matching refs:slave
1301 * slave links as master will do them again.
2100 /* Handle the frigging slave link. Autopsy is done similarly
2108 /* transfer control flags from master to slave */
2111 /* perform autopsy on the slave link */
2114 /* transfer actions from slave to master and clear slave */
2469 struct ata_link *slave = ap->slave_link;
2471 struct ata_eh_context *sehc = slave ? &slave->eh_context : NULL;
2544 if (slave) {
2551 /* If present, do prereset on slave link too. Reset
2552 * is skipped iff both master and slave links report
2555 if (slave && (rc == 0 || rc == -ENOENT)) {
2558 tmp = prereset(slave, deadline);
2622 /* hardreset slave link if existent */
2623 if (slave && reset == hardreset) {
2627 ata_link_printk(slave, KERN_INFO,
2630 ata_eh_about_to_do(slave, NULL, ATA_EH_RESET);
2631 tmp = ata_do_reset(slave, reset, classes, deadline,
2639 failed_link = slave;
2698 if (slave && sata_scr_read(slave, SCR_STATUS, &sstatus) == 0)
2699 slave->sata_spd = (sstatus >> 4) & 0xf;
2714 if (slave)
2715 postreset(slave, classes);
2726 if (slave)
2727 memset(&slave->eh_info, 0, sizeof(link->eh_info));
2777 if (slave)
2778 ata_eh_done(slave, NULL, ATA_EH_RESET);
2786 if (slave)
2818 if (slave)
2819 sata_down_spd_limit(slave, 0);
2915 * be done backwards such that PDIAG- is released by the slave