Lines Matching refs:target_state
164 int target_state = state; in acpi_device_set_power() local
189 target_state = state; in acpi_device_set_power()
240 result = acpi_power_transition(device, target_state); in acpi_device_set_power()
280 acpi_power_state_string(target_state)); in acpi_device_set_power()
282 device->power.state = target_state; in acpi_device_set_power()
284 acpi_power_state_string(target_state)); in acpi_device_set_power()
668 u32 target_state, int *d_min_p, int *d_max_p) in acpi_dev_pm_get_state() argument
670 char method[] = { '_', 'S', '0' + target_state, 'D', '\0' }; in acpi_dev_pm_get_state()
692 if (target_state > ACPI_STATE_S0) { in acpi_dev_pm_get_state()
720 && adev->wakeup.sleep_state >= target_state; in acpi_dev_pm_get_state()
755 if (has_sxd && target_state > ACPI_STATE_S0) in acpi_dev_pm_get_state()
849 u32 target_state) in __acpi_device_wakeup_enable() argument
866 error = acpi_enable_wakeup_device_power(adev, target_state); in __acpi_device_wakeup_enable()
911 static int acpi_device_wakeup_enable(struct acpi_device *adev, u32 target_state) in acpi_device_wakeup_enable() argument
913 return __acpi_device_wakeup_enable(adev, target_state); in acpi_device_wakeup_enable()
1017 u32 target_state = acpi_target_system_state(); in acpi_dev_suspend() local
1024 error = acpi_device_wakeup_enable(adev, target_state); in acpi_dev_suspend()
1031 error = acpi_dev_pm_low_power(dev, adev, target_state); in acpi_dev_suspend()