Lines Matching refs:async_error

64 static int async_error;  variable
809 WRITE_ONCE(async_error, error); in device_resume_noirq()
832 async_error = 0; in dpm_noirq_resume_devices()
866 if (READ_ONCE(async_error)) in dpm_noirq_resume_devices()
955 WRITE_ONCE(async_error, error); in device_resume_early()
982 async_error = 0; in dpm_resume_early()
1016 if (READ_ONCE(async_error)) in dpm_resume_early()
1131 WRITE_ONCE(async_error, error); in device_resume()
1162 async_error = 0; in dpm_resume()
1195 if (READ_ONCE(async_error)) in dpm_resume()
1443 if (READ_ONCE(async_error)) in device_suspend_noirq()
1476 WRITE_ONCE(async_error, error); in device_suspend_noirq()
1502 if (error || READ_ONCE(async_error)) in device_suspend_noirq()
1525 async_error = 0; in dpm_noirq_suspend_devices()
1557 if (READ_ONCE(async_error)) { in dpm_noirq_suspend_devices()
1572 error = READ_ONCE(async_error); in dpm_noirq_suspend_devices()
1638 if (READ_ONCE(async_error)) in device_suspend_late()
1642 WRITE_ONCE(async_error, -EBUSY); in device_suspend_late()
1686 WRITE_ONCE(async_error, error); in device_suspend_late()
1701 if (error || READ_ONCE(async_error)) in device_suspend_late()
1728 async_error = 0; in dpm_suspend_late()
1762 if (READ_ONCE(async_error)) { in dpm_suspend_late()
1777 error = READ_ONCE(async_error); in dpm_suspend_late()
1878 if (READ_ONCE(async_error)) { in device_suspend()
1898 WRITE_ONCE(async_error, -EBUSY); in device_suspend()
1982 WRITE_ONCE(async_error, error); in device_suspend()
1990 if (error || READ_ONCE(async_error)) in device_suspend()
2021 async_error = 0; in dpm_suspend()
2053 if (READ_ONCE(async_error)) { in dpm_suspend()
2068 error = READ_ONCE(async_error); in dpm_suspend()
2305 return async_error; in device_pm_wait_for_dev()