Lines Matching refs:acpi_device_wakeup
685 static int acpi_device_wakeup(struct acpi_device *adev, u32 target_state, in acpi_device_wakeup() function
688 struct acpi_device_wakeup *wakeup = &adev->wakeup; in acpi_device_wakeup()
736 return acpi_device_wakeup(adev, ACPI_STATE_S0, enable); in acpi_pm_device_run_wake()
760 error = acpi_device_wakeup(adev, acpi_target_system_state(), enable); in acpi_pm_device_sleep_wake()
817 error = acpi_device_wakeup(adev, ACPI_STATE_S0, remote_wakeup); in acpi_dev_runtime_suspend()
823 acpi_device_wakeup(adev, ACPI_STATE_S0, false); in acpi_dev_runtime_suspend()
846 acpi_device_wakeup(adev, ACPI_STATE_S0, false); in acpi_dev_runtime_resume()
901 error = acpi_device_wakeup(adev, target_state, wakeup); in acpi_dev_suspend_late()
907 acpi_device_wakeup(adev, ACPI_STATE_UNKNOWN, false); in acpi_dev_suspend_late()
930 acpi_device_wakeup(adev, ACPI_STATE_UNKNOWN, false); in acpi_dev_resume_early()
1073 acpi_device_wakeup(adev, ACPI_STATE_S0, false); in acpi_dev_pm_detach()
1117 acpi_device_wakeup(adev, ACPI_STATE_S0, false); in acpi_dev_pm_attach()