Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/powerpc/platforms/83xx/
H A Dsuspend.c112 static int pci_pm_state; variable
127 pci_pm_state = (reg_cfg1 & PMCCR1_NEXT_STATE) >> in mpc83xx_change_state()
131 if (curr_state != pci_pm_state) { in mpc83xx_change_state()
133 reg_cfg1 |= pci_pm_state; in mpc83xx_change_state()
183 if (pci_pm_state != (deep_sleeping ? 3 : 2)) in mpc83xx_suspend_enter()
266 wait_event_interruptible(agent_wq, pci_pm_state >= 2); in agent_thread_fn()
269 if (signal_pending(current) || pci_pm_state < 2) in agent_thread_fn()
281 pm_suspend(pci_pm_state == 3 ? PM_SUSPEND_MEM : in agent_thread_fn()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/realtek/r8168/
H A Dr8168_n.c28572 u32 pci_pm_state = pci_choose_state(pdev, state); local
28619 pci_save_state(pdev, &pci_pm_state);
28636 u32 pci_pm_state = PCI_D0; local
28641 pci_restore_state(pdev, &pci_pm_state);