Lines Matching refs:pflags

260 	WARN_ON(!(ap->pflags & ATA_PFLAG_INITIALIZING));  in ata_port_desc()
572 ap->pflags &= ~ATA_PFLAG_EH_PENDING; /* clear pending from freeze */ in ata_eh_unload()
573 ap->pflags |= ATA_PFLAG_UNLOADED; in ata_eh_unload()
757 ap->pflags |= ATA_PFLAG_EH_IN_PROGRESS; in ata_scsi_port_error_handler()
758 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_scsi_port_error_handler()
764 if (!(ap->pflags & (ATA_PFLAG_UNLOADING | ATA_PFLAG_SUSPENDED))) in ata_scsi_port_error_handler()
768 if ((ap->pflags & ATA_PFLAG_UNLOADING) && in ata_scsi_port_error_handler()
769 !(ap->pflags & ATA_PFLAG_UNLOADED)) in ata_scsi_port_error_handler()
783 if (ap->pflags & ATA_PFLAG_EH_PENDING) { in ata_scsi_port_error_handler()
791 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_scsi_port_error_handler()
817 if (ap->pflags & ATA_PFLAG_LOADING) in ata_scsi_port_error_handler()
818 ap->pflags &= ~ATA_PFLAG_LOADING; in ata_scsi_port_error_handler()
819 else if (ap->pflags & ATA_PFLAG_SCSI_HOTPLUG) in ata_scsi_port_error_handler()
822 if (ap->pflags & ATA_PFLAG_RECOVERED) in ata_scsi_port_error_handler()
825 ap->pflags &= ~(ATA_PFLAG_SCSI_HOTPLUG | ATA_PFLAG_RECOVERED); in ata_scsi_port_error_handler()
828 ap->pflags &= ~ATA_PFLAG_EH_IN_PROGRESS; in ata_scsi_port_error_handler()
852 while (ap->pflags & (ATA_PFLAG_EH_PENDING | ATA_PFLAG_EH_IN_PROGRESS)) { in ata_port_wait_eh()
939 if (ap->pflags & ATA_PFLAG_EH_PENDING) in ata_eh_set_pending()
942 ap->pflags |= ATA_PFLAG_EH_PENDING; in ata_eh_set_pending()
1001 if (ap->pflags & ATA_PFLAG_INITIALIZING) in ata_std_sched_eh()
1132 ap->pflags |= ATA_PFLAG_FROZEN; in __ata_port_freeze()
1275 ap->pflags &= ~ATA_PFLAG_FROZEN; in ata_eh_thaw_port()
1388 ap->pflags |= ATA_PFLAG_SCSI_HOTPLUG; in ata_eh_detach_dev()
1429 ap->pflags |= ATA_PFLAG_RECOVERED; in ata_eh_about_to_do()
1754 if (ap->pflags & ATA_PFLAG_FROZEN) in ata_eh_analyze_ncq_error()
1838 if (!(qc->ap->pflags & ATA_PFLAG_FROZEN)) { in ata_eh_analyze_tf()
2210 if (ap->pflags & ATA_PFLAG_FROZEN || in ata_eh_link_autopsy()
2453 if (ap->pflags & ATA_PFLAG_FROZEN) in ata_eh_link_report()
2672 ap->pflags |= ATA_PFLAG_RESETTING; in ata_eh_reset()
2755 if ((ap->pflags & ATA_PFLAG_FROZEN) && in ata_eh_reset()
2895 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_eh_reset()
2898 if (ap->pflags & ATA_PFLAG_FROZEN) in ata_eh_reset()
2960 ap->pflags &= ~ATA_PFLAG_RESETTING; in ata_eh_reset()
3207 ap->pflags |= ATA_PFLAG_SCSI_HOTPLUG; in ata_eh_revalidate_and_attach()
3391 if (!(ap->pflags & ATA_PFLAG_FROZEN)) in ata_eh_maybe_retry_flush()
3567 if ((ap->pflags & ATA_PFLAG_FROZEN) || ata_link_nr_enabled(link)) in ata_eh_skip_recovery()
3770 if (ap->pflags & ATA_PFLAG_UNLOADING) in ata_eh_recover()
3922 if (ap->pflags & ATA_PFLAG_FROZEN) { in ata_eh_recover()
4062 if (!(ap->pflags & ATA_PFLAG_PM_PENDING) || in ata_eh_handle_port_suspend()
4069 WARN_ON(ap->pflags & ATA_PFLAG_SUSPENDED); in ata_eh_handle_port_suspend()
4099 ap->pflags &= ~ATA_PFLAG_PM_PENDING; in ata_eh_handle_port_suspend()
4101 ap->pflags |= ATA_PFLAG_SUSPENDED; in ata_eh_handle_port_suspend()
4102 else if (ap->pflags & ATA_PFLAG_FROZEN) in ata_eh_handle_port_suspend()
4128 if (!(ap->pflags & ATA_PFLAG_PM_PENDING) || in ata_eh_handle_port_resume()
4135 WARN_ON(!(ap->pflags & ATA_PFLAG_SUSPENDED)); in ata_eh_handle_port_resume()
4158 ap->pflags &= ~(ATA_PFLAG_PM_PENDING | ATA_PFLAG_SUSPENDED); in ata_eh_handle_port_resume()