internal.h (aa10fab0f859ef86e998ee1cdaa89fc8e542e2c9) | internal.h (6381195ad7d06ef979528c7452f3ff93659f86b1) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * acpi/internal.h 4 * For use by Linux/ACPI infrastructure, not drivers 5 * 6 * Copyright (c) 2009, Intel Corporation. 7 */ 8 --- 128 unchanged lines hidden (view full) --- 137struct acpi_device *acpi_add_power_resource(acpi_handle handle); 138void acpi_power_add_remove_device(struct acpi_device *adev, bool add); 139int acpi_power_wakeup_list_init(struct list_head *list, int *system_level); 140int acpi_device_sleep_wake(struct acpi_device *dev, 141 int enable, int sleep_state, int dev_state); 142int acpi_power_get_inferred_state(struct acpi_device *device, int *state); 143int acpi_power_on_resources(struct acpi_device *device, int state); 144int acpi_power_transition(struct acpi_device *device, int state); | 1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * acpi/internal.h 4 * For use by Linux/ACPI infrastructure, not drivers 5 * 6 * Copyright (c) 2009, Intel Corporation. 7 */ 8 --- 128 unchanged lines hidden (view full) --- 137struct acpi_device *acpi_add_power_resource(acpi_handle handle); 138void acpi_power_add_remove_device(struct acpi_device *adev, bool add); 139int acpi_power_wakeup_list_init(struct list_head *list, int *system_level); 140int acpi_device_sleep_wake(struct acpi_device *dev, 141 int enable, int sleep_state, int dev_state); 142int acpi_power_get_inferred_state(struct acpi_device *device, int *state); 143int acpi_power_on_resources(struct acpi_device *device, int state); 144int acpi_power_transition(struct acpi_device *device, int state); |
145void acpi_turn_off_unused_power_resources(bool init); | 145void acpi_turn_off_unused_power_resources(void); |
146 147/* -------------------------------------------------------------------------- 148 Device Power Management 149 -------------------------------------------------------------------------- */ 150int acpi_device_get_power(struct acpi_device *device, int *state); 151int acpi_wakeup_device_init(void); 152 153/* -------------------------------------------------------------------------- --- 116 unchanged lines hidden --- | 146 147/* -------------------------------------------------------------------------- 148 Device Power Management 149 -------------------------------------------------------------------------- */ 150int acpi_device_get_power(struct acpi_device *device, int *state); 151int acpi_wakeup_device_init(void); 152 153/* -------------------------------------------------------------------------- --- 116 unchanged lines hidden --- |