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()
669 u32 target_state, int *d_min_p, int *d_max_p) in acpi_dev_pm_get_state() argument
671 char method[] = { '_', 'S', '0' + target_state, 'D', '\0' }; in acpi_dev_pm_get_state()
693 if (target_state > ACPI_STATE_S0) { in acpi_dev_pm_get_state()
721 && adev->wakeup.sleep_state >= target_state; in acpi_dev_pm_get_state()
756 if (has_sxd && target_state > ACPI_STATE_S0) in acpi_dev_pm_get_state()
850 u32 target_state) in __acpi_device_wakeup_enable() argument
867 error = acpi_enable_wakeup_device_power(adev, target_state); in __acpi_device_wakeup_enable()
912 static int acpi_device_wakeup_enable(struct acpi_device *adev, u32 target_state) in acpi_device_wakeup_enable() argument
914 return __acpi_device_wakeup_enable(adev, target_state); in acpi_device_wakeup_enable()
1018 u32 target_state = acpi_target_system_state(); in acpi_dev_suspend() local
1025 error = acpi_device_wakeup_enable(adev, target_state); in acpi_dev_suspend()
1032 error = acpi_dev_pm_low_power(dev, adev, target_state); in acpi_dev_suspend()