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()
1762 if (ap->pflags & ATA_PFLAG_FROZEN) in ata_eh_analyze_ncq_error()
1846 if (!(qc->ap->pflags & ATA_PFLAG_FROZEN)) { in ata_eh_analyze_tf()
2218 if (ap->pflags & ATA_PFLAG_FROZEN || in ata_eh_link_autopsy()
2461 if (ap->pflags & ATA_PFLAG_FROZEN) in ata_eh_link_report()
2680 ap->pflags |= ATA_PFLAG_RESETTING; in ata_eh_reset()
2763 if ((ap->pflags & ATA_PFLAG_FROZEN) && in ata_eh_reset()
2903 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_eh_reset()
2906 if (ap->pflags & ATA_PFLAG_FROZEN) in ata_eh_reset()
2968 ap->pflags &= ~ATA_PFLAG_RESETTING; in ata_eh_reset()
3215 ap->pflags |= ATA_PFLAG_SCSI_HOTPLUG; in ata_eh_revalidate_and_attach()
3399 if (!(ap->pflags & ATA_PFLAG_FROZEN)) in ata_eh_maybe_retry_flush()
3575 if ((ap->pflags & ATA_PFLAG_FROZEN) || ata_link_nr_enabled(link)) in ata_eh_skip_recovery()
3778 if (ap->pflags & ATA_PFLAG_UNLOADING) in ata_eh_recover()
3930 if (ap->pflags & ATA_PFLAG_FROZEN) { in ata_eh_recover()
4070 if (!(ap->pflags & ATA_PFLAG_PM_PENDING) || in ata_eh_handle_port_suspend()
4077 WARN_ON(ap->pflags & ATA_PFLAG_SUSPENDED); in ata_eh_handle_port_suspend()
4107 ap->pflags &= ~ATA_PFLAG_PM_PENDING; in ata_eh_handle_port_suspend()
4109 ap->pflags |= ATA_PFLAG_SUSPENDED; in ata_eh_handle_port_suspend()
4110 else if (ap->pflags & ATA_PFLAG_FROZEN) in ata_eh_handle_port_suspend()
4136 if (!(ap->pflags & ATA_PFLAG_PM_PENDING) || in ata_eh_handle_port_resume()
4143 WARN_ON(!(ap->pflags & ATA_PFLAG_SUSPENDED)); in ata_eh_handle_port_resume()
4166 ap->pflags &= ~(ATA_PFLAG_PM_PENDING | ATA_PFLAG_SUSPENDED); in ata_eh_handle_port_resume()