Lines Matching refs:pm_step
25 rqpm.pm_step = IDE_PM_START_SUSPEND; in generic_ide_suspend()
83 rqpm.pm_step = IDE_PM_START_RESUME; in generic_ide_resume()
105 drive->name, pm->pm_step); in ide_complete_power_step()
110 switch (pm->pm_step) { in ide_complete_power_step()
113 pm->pm_step = IDE_PM_COMPLETED; in ide_complete_power_step()
115 pm->pm_step = IDE_PM_STANDBY; in ide_complete_power_step()
118 pm->pm_step = IDE_PM_COMPLETED; in ide_complete_power_step()
121 pm->pm_step = IDE_PM_IDLE; in ide_complete_power_step()
124 pm->pm_step = IDE_PM_RESTORE_DMA; in ide_complete_power_step()
134 switch (pm->pm_step) { in ide_start_power_step()
158 pm->pm_step = IDE_PM_RESTORE_DMA; in ide_start_power_step()
180 pm->pm_step = IDE_PM_COMPLETED; in ide_start_power_step()
206 if (pm->pm_step != IDE_PM_COMPLETED) in ide_complete_pm_rq()
229 pm->pm_step == IDE_PM_START_SUSPEND) in ide_check_pm_state()
234 pm->pm_step == IDE_PM_START_RESUME) { in ide_check_pm_state()