Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/platforms/83xx/
Dsuspend.c115 static int pci_pm_state; variable
130 pci_pm_state = (reg_cfg1 & PMCCR1_NEXT_STATE) >> in mpc83xx_change_state()
134 if (curr_state != pci_pm_state) { in mpc83xx_change_state()
136 reg_cfg1 |= pci_pm_state; in mpc83xx_change_state()
186 if (pci_pm_state != (deep_sleeping ? 3 : 2)) in mpc83xx_suspend_enter()
269 wait_event_interruptible(agent_wq, pci_pm_state >= 2); in agent_thread_fn()
272 if (signal_pending(current) || pci_pm_state < 2) in agent_thread_fn()
284 pm_suspend(pci_pm_state == 3 ? PM_SUSPEND_MEM : in agent_thread_fn()