Lines Matching refs:slave
2313 struct ata_link *slave = ap->slave_link; in ata_eh_reset() local
2315 struct ata_eh_context *sehc = &slave->eh_context; in ata_eh_reset()
2388 if (slave) { in ata_eh_reset()
2399 if (slave && (rc == 0 || rc == -ENOENT)) { in ata_eh_reset()
2402 tmp = prereset(slave, deadline); in ata_eh_reset()
2467 if (slave && reset == hardreset) { in ata_eh_reset()
2471 ata_link_printk(slave, KERN_INFO, in ata_eh_reset()
2474 ata_eh_about_to_do(slave, NULL, ATA_EH_RESET); in ata_eh_reset()
2475 tmp = ata_do_reset(slave, reset, classes, deadline, in ata_eh_reset()
2483 failed_link = slave; in ata_eh_reset()
2538 if (slave && sata_scr_read(slave, SCR_STATUS, &sstatus) == 0) in ata_eh_reset()
2539 slave->sata_spd = (sstatus >> 4) & 0xf; in ata_eh_reset()
2554 if (slave) in ata_eh_reset()
2555 postreset(slave, classes); in ata_eh_reset()
2561 if (slave) in ata_eh_reset()
2562 slave->eh_info.serror = 0; in ata_eh_reset()
2597 if (slave) in ata_eh_reset()
2598 ata_eh_done(slave, NULL, ATA_EH_RESET); in ata_eh_reset()
2606 if (slave) in ata_eh_reset()
2638 if (slave) in ata_eh_reset()
2639 sata_down_spd_limit(slave, 0); in ata_eh_reset()