Home
last modified time | relevance | path

Searched refs:pci_pm_state (Results 1 – 1 of 1) sorted by relevance

/linux-4.1.27/arch/powerpc/platforms/83xx/
Dsuspend.c114 static int pci_pm_state; variable
129 pci_pm_state = (reg_cfg1 & PMCCR1_NEXT_STATE) >> in mpc83xx_change_state()
133 if (curr_state != pci_pm_state) { in mpc83xx_change_state()
135 reg_cfg1 |= pci_pm_state; in mpc83xx_change_state()
185 if (pci_pm_state != (deep_sleeping ? 3 : 2)) in mpc83xx_suspend_enter()
268 wait_event_interruptible(agent_wq, pci_pm_state >= 2); in agent_thread_fn()
271 if (signal_pending(current) || pci_pm_state < 2) in agent_thread_fn()
283 pm_suspend(pci_pm_state == 3 ? PM_SUSPEND_MEM : in agent_thread_fn()