internal.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. /* For use by Linux/ACPI infrastructure, not drivers */
  2. int acpi_scan_init(void);
  3. int acpi_system_init(void);
  4. #ifdef CONFIG_ACPI_DEBUG
  5. int acpi_debug_init(void);
  6. #else
  7. static inline int acpi_debug_init(void) { return 0; }
  8. #endif
  9. /* --------------------------------------------------------------------------
  10. Power Resource
  11. -------------------------------------------------------------------------- */
  12. int acpi_power_init(void);
  13. int acpi_device_sleep_wake(struct acpi_device *dev,
  14. int enable, int sleep_state, int dev_state);
  15. int acpi_enable_wakeup_device_power(struct acpi_device *dev, int sleep_state);
  16. int acpi_disable_wakeup_device_power(struct acpi_device *dev);
  17. int acpi_power_get_inferred_state(struct acpi_device *device);
  18. int acpi_power_transition(struct acpi_device *device, int state);
  19. extern int acpi_power_nocheck;
  20. /* --------------------------------------------------------------------------
  21. Embedded Controller
  22. -------------------------------------------------------------------------- */
  23. int acpi_ec_init(void);
  24. int acpi_ec_ecdt_probe(void);
  25. int acpi_boot_ec_enable(void);
  26. /*--------------------------------------------------------------------------
  27. Suspend/Resume
  28. -------------------------------------------------------------------------- */
  29. extern int acpi_sleep_init(void);