Lines Matching refs:classes

2413 			unsigned int *classes, unsigned long deadline,  in ata_do_reset()  argument
2420 classes[dev->devno] = ATA_DEV_UNKNOWN; in ata_do_reset()
2422 return reset(link, classes, deadline); in ata_do_reset()
2444 unsigned int *classes = ehc->classes; in ata_eh_reset() local
2546 classes[dev->devno] = ATA_DEV_NONE; in ata_eh_reset()
2561 classes[dev->devno] = ATA_DEV_NONE; in ata_eh_reset()
2588 trace_ata_link_hardreset_begin(link, classes, deadline); in ata_eh_reset()
2591 trace_ata_link_softreset_begin(link, classes, deadline); in ata_eh_reset()
2594 rc = ata_do_reset(link, reset, classes, deadline, true); in ata_eh_reset()
2596 trace_ata_link_hardreset_end(link, classes, rc); in ata_eh_reset()
2598 trace_ata_link_softreset_end(link, classes, rc); in ata_eh_reset()
2612 trace_ata_slave_hardreset_begin(slave, classes, in ata_eh_reset()
2614 tmp = ata_do_reset(slave, reset, classes, deadline, in ata_eh_reset()
2616 trace_ata_slave_hardreset_end(slave, classes, tmp); in ata_eh_reset()
2644 trace_ata_link_softreset_begin(link, classes, deadline); in ata_eh_reset()
2645 rc = ata_do_reset(link, reset, classes, deadline, true); in ata_eh_reset()
2646 trace_ata_link_softreset_end(link, classes, rc); in ata_eh_reset()
2676 classes[dev->devno] = ATA_DEV_ATA; in ata_eh_reset()
2678 classes[dev->devno] = ATA_DEV_SEMB_UNSUP; in ata_eh_reset()
2699 postreset(link, classes); in ata_eh_reset()
2700 trace_ata_link_postreset(link, classes, rc); in ata_eh_reset()
2702 postreset(slave, classes); in ata_eh_reset()
2703 trace_ata_slave_postreset(slave, classes, rc); in ata_eh_reset()
2735 if (classes[dev->devno] == ATA_DEV_UNKNOWN) { in ata_eh_reset()
2737 classes[dev->devno] = ATA_DEV_NONE; in ata_eh_reset()
2741 if (ata_class_enabled(classes[dev->devno])) in ata_eh_reset()
2744 classes[dev->devno]); in ata_eh_reset()
2745 classes[dev->devno] = ATA_DEV_NONE; in ata_eh_reset()
2746 } else if (classes[dev->devno] == ATA_DEV_UNKNOWN) { in ata_eh_reset()
2749 classes[dev->devno] = ATA_DEV_NONE; in ata_eh_reset()
2963 rc = ata_dev_revalidate(dev, ehc->classes[dev->devno], in ata_eh_revalidate_and_attach()
2979 ata_class_enabled(ehc->classes[dev->devno])) { in ata_eh_revalidate_and_attach()
2986 dev->class = ehc->classes[dev->devno]; in ata_eh_revalidate_and_attach()
2995 ehc->classes[dev->devno] = dev->class; in ata_eh_revalidate_and_attach()
3031 dev->class = ehc->classes[dev->devno]; in ata_eh_revalidate_and_attach()
3416 ehc->classes[dev->devno] != ATA_DEV_NONE) in ata_eh_skip_recovery()
3620 ehc->classes[dev->devno] = ATA_DEV_UNKNOWN; in ata_eh_recover()