Lines Matching full:classes
2590 unsigned int *classes, unsigned long deadline, in ata_do_reset() argument
2597 classes[dev->devno] = ATA_DEV_UNKNOWN; in ata_do_reset()
2599 return reset(link, classes, deadline); in ata_do_reset()
2621 unsigned int *classes = ehc->classes; in ata_eh_reset() local
2723 classes[dev->devno] = ATA_DEV_NONE; in ata_eh_reset()
2734 * bang classes, thaw and return. in ata_eh_reset()
2738 classes[dev->devno] = ATA_DEV_NONE; in ata_eh_reset()
2764 trace_ata_link_hardreset_begin(link, classes, deadline); in ata_eh_reset()
2767 trace_ata_link_softreset_begin(link, classes, deadline); in ata_eh_reset()
2770 rc = ata_do_reset(link, reset, classes, deadline, true); in ata_eh_reset()
2772 trace_ata_link_hardreset_end(link, classes, rc); in ata_eh_reset()
2774 trace_ata_link_softreset_end(link, classes, rc); in ata_eh_reset()
2788 trace_ata_slave_hardreset_begin(slave, classes, in ata_eh_reset()
2790 tmp = ata_do_reset(slave, reset, classes, deadline, in ata_eh_reset()
2792 trace_ata_slave_hardreset_end(slave, classes, tmp); in ata_eh_reset()
2820 trace_ata_link_softreset_begin(link, classes, deadline); in ata_eh_reset()
2821 rc = ata_do_reset(link, reset, classes, deadline, true); in ata_eh_reset()
2822 trace_ata_link_softreset_end(link, classes, rc); in ata_eh_reset()
2852 classes[dev->devno] = ATA_DEV_ATA; in ata_eh_reset()
2854 classes[dev->devno] = ATA_DEV_SEMB_UNSUP; in ata_eh_reset()
2875 postreset(link, classes); in ata_eh_reset()
2876 trace_ata_link_postreset(link, classes, rc); in ata_eh_reset()
2878 postreset(slave, classes); in ata_eh_reset()
2879 trace_ata_slave_postreset(slave, classes, rc); in ata_eh_reset()
2901 if (classes[dev->devno] == ATA_DEV_UNKNOWN) { in ata_eh_reset()
2903 classes[dev->devno] = ATA_DEV_NONE; in ata_eh_reset()
2907 if (ata_class_enabled(classes[dev->devno])) in ata_eh_reset()
2910 classes[dev->devno]); in ata_eh_reset()
2911 classes[dev->devno] = ATA_DEV_NONE; in ata_eh_reset()
2912 } else if (classes[dev->devno] == ATA_DEV_UNKNOWN) { in ata_eh_reset()
2915 classes[dev->devno] = ATA_DEV_NONE; in ata_eh_reset()
3131 rc = ata_dev_revalidate(dev, ehc->classes[dev->devno], in ata_eh_revalidate_and_attach()
3147 ata_class_enabled(ehc->classes[dev->devno])) { in ata_eh_revalidate_and_attach()
3154 dev->class = ehc->classes[dev->devno]; in ata_eh_revalidate_and_attach()
3163 ehc->classes[dev->devno] = dev->class; in ata_eh_revalidate_and_attach()
3199 dev->class = ehc->classes[dev->devno]; in ata_eh_revalidate_and_attach()
3585 ehc->classes[dev->devno] != ATA_DEV_NONE) in ata_eh_skip_recovery()
3789 ehc->classes[dev->devno] = ATA_DEV_UNKNOWN; in ata_eh_recover()