internal.h 1.3 KB

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