internal.h 1.2 KB

123456789101112131415161718192021222324
  1. /* For use by Linux/ACPI infrastructure, not drivers */
  2. /* --------------------------------------------------------------------------
  3. Power Resource
  4. -------------------------------------------------------------------------- */
  5. int acpi_device_sleep_wake(struct acpi_device *dev,
  6. int enable, int sleep_state, int dev_state);
  7. int acpi_enable_wakeup_device_power(struct acpi_device *dev, int sleep_state);
  8. int acpi_disable_wakeup_device_power(struct acpi_device *dev);
  9. int acpi_power_get_inferred_state(struct acpi_device *device);
  10. int acpi_power_transition(struct acpi_device *device, int state);
  11. extern int acpi_power_nocheck;
  12. /* --------------------------------------------------------------------------
  13. Embedded Controller
  14. -------------------------------------------------------------------------- */
  15. int acpi_ec_ecdt_probe(void);
  16. int acpi_boot_ec_enable(void);
  17. /*--------------------------------------------------------------------------
  18. Suspend/Resume
  19. -------------------------------------------------------------------------- */
  20. extern int acpi_sleep_init(void);