Lines Matching refs:pflags
252 WARN_ON(!(ap->pflags & ATA_PFLAG_INITIALIZING)); in ata_port_desc()
514 ap->pflags &= ~ATA_PFLAG_EH_PENDING; /* clear pending from freeze */ in ata_eh_unload()
515 ap->pflags |= ATA_PFLAG_UNLOADED; in ata_eh_unload()
696 ap->pflags |= ATA_PFLAG_EH_IN_PROGRESS; in ata_scsi_port_error_handler()
697 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_scsi_port_error_handler()
703 if (!(ap->pflags & (ATA_PFLAG_UNLOADING | ATA_PFLAG_SUSPENDED))) in ata_scsi_port_error_handler()
707 if ((ap->pflags & ATA_PFLAG_UNLOADING) && in ata_scsi_port_error_handler()
708 !(ap->pflags & ATA_PFLAG_UNLOADED)) in ata_scsi_port_error_handler()
722 if (ap->pflags & ATA_PFLAG_EH_PENDING) { in ata_scsi_port_error_handler()
730 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_scsi_port_error_handler()
756 if (ap->pflags & ATA_PFLAG_LOADING) in ata_scsi_port_error_handler()
757 ap->pflags &= ~ATA_PFLAG_LOADING; in ata_scsi_port_error_handler()
758 else if ((ap->pflags & ATA_PFLAG_SCSI_HOTPLUG) && in ata_scsi_port_error_handler()
762 if (ap->pflags & ATA_PFLAG_RECOVERED) in ata_scsi_port_error_handler()
765 ap->pflags &= ~(ATA_PFLAG_SCSI_HOTPLUG | ATA_PFLAG_RECOVERED); in ata_scsi_port_error_handler()
768 ap->pflags &= ~ATA_PFLAG_EH_IN_PROGRESS; in ata_scsi_port_error_handler()
792 while (ap->pflags & (ATA_PFLAG_EH_PENDING | ATA_PFLAG_EH_IN_PROGRESS)) { in ata_port_wait_eh()
881 if (ap->pflags & ATA_PFLAG_EH_PENDING) in ata_eh_set_pending()
884 ap->pflags |= ATA_PFLAG_EH_PENDING; in ata_eh_set_pending()
939 if (ap->pflags & ATA_PFLAG_INITIALIZING) in ata_std_sched_eh()
1073 ap->pflags |= ATA_PFLAG_FROZEN; in __ata_port_freeze()
1142 ap->pflags &= ~ATA_PFLAG_FROZEN; in ata_eh_thaw_port()
1255 ap->pflags |= ATA_PFLAG_SCSI_HOTPLUG; in ata_eh_detach_dev()
1298 ap->pflags |= ATA_PFLAG_RECOVERED; in ata_eh_about_to_do()
2491 ap->pflags |= ATA_PFLAG_RESETTING; in ata_eh_reset()
2729 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_eh_reset()
2794 ap->pflags &= ~ATA_PFLAG_RESETTING; in ata_eh_reset()
3056 ap->pflags |= ATA_PFLAG_SCSI_HOTPLUG; in ata_eh_revalidate_and_attach()
3619 if (ap->pflags & ATA_PFLAG_UNLOADING) in ata_eh_recover()
3910 if (!(ap->pflags & ATA_PFLAG_PM_PENDING) || in ata_eh_handle_port_suspend()
3917 WARN_ON(ap->pflags & ATA_PFLAG_SUSPENDED); in ata_eh_handle_port_suspend()
3942 ap->pflags &= ~ATA_PFLAG_PM_PENDING; in ata_eh_handle_port_suspend()
3944 ap->pflags |= ATA_PFLAG_SUSPENDED; in ata_eh_handle_port_suspend()
3970 if (!(ap->pflags & ATA_PFLAG_PM_PENDING) || in ata_eh_handle_port_resume()
3977 WARN_ON(!(ap->pflags & ATA_PFLAG_SUSPENDED)); in ata_eh_handle_port_resume()
4000 ap->pflags &= ~(ATA_PFLAG_PM_PENDING | ATA_PFLAG_SUSPENDED); in ata_eh_handle_port_resume()