internal.h 1.3 KB

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