tmp_suning_uos_patched/include/acpi
Rafael J. Wysocki eb9d0fe40e PCI ACPI: Rework PCI handling of wake-up
* Introduce function acpi_pm_device_sleep_wake() for enabling and
  disabling the system wake-up capability of devices that are power
  manageable by ACPI.

* Introduce function acpi_bus_can_wakeup() allowing other (dependent)
  subsystems to check if ACPI is able to enable the system wake-up
  capability of given device.

* Introduce callback .sleep_wake() in struct pci_platform_pm_ops and
  for the ACPI PCI 'driver' make it use acpi_pm_device_sleep_wake().

* Introduce callback .can_wakeup() in struct pci_platform_pm_ops and
  for the ACPI 'driver' make it use acpi_bus_can_wakeup().

* Move the PME# handlig code out of pci_enable_wake() and split it
  into two functions, pci_pme_capable() and pci_pme_active(),
  allowing the caller to check if given device is capable of
  generating PME# from given power state and to enable/disable the
  device's PME# functionality, respectively.

* Modify pci_enable_wake() to use the new ACPI callbacks and the new
  PME#-related functions.

* Drop the generic .platform_enable_wakeup() callback that is not
  used any more.

* Introduce device_set_wakeup_capable() that will set the
  power.can_wakeup flag of given device.

* Rework PCI device PM initialization so that, if given device is
  capable of generating wake-up events, either natively through the
  PME# mechanism, or with the help of the platform, its
  power.can_wakeup flag is set and its power.should_wakeup flag is
  unset as appropriate.

* Make ACPI set the power.can_wakeup flag for devices found to be
  wake-up capable by it.

* Make the ACPI wake-up code enable/disable GPEs for devices that
  have the wakeup.flags.prepared flag set (which means that their
  wake-up power has been enabled).

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2008-07-07 16:26:28 -07:00
..
platform ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acconfig.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acdebug.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acdisasm.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acdispat.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acevents.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acexcep.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acglobal.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
achware.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acinterp.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
aclocal.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acmacros.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acnames.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acnamesp.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acobject.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acopcode.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acoutput.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acparser.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acpi_bus.h PCI ACPI: Rework PCI handling of wake-up 2008-07-07 16:26:28 -07:00
acpi_drivers.h ACPI: Introduce acpi_device_sleep_wake function 2008-07-07 16:25:57 -07:00
acpi_numa.h ACPI: misc cleanups 2008-02-07 03:33:23 -05:00
acpi.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acpiosxf.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acpixf.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acresrc.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acstruct.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
actables.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
actbl1.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
actbl.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
actypes.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
acutils.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
amlcode.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
amlresrc.h ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
container.h [ACPI] Lindent all ACPI files 2005-08-05 00:45:14 -04:00
pdc_intel.h ACPI: Processor native C-states using MWAIT 2006-10-14 00:35:39 -04:00
processor.h ACPI, cpuidle: Clarify C-state description in sysfs 2008-02-14 00:09:55 -05:00
reboot.h x86: dummy placeholder for acpi/reboot.h 2008-01-30 13:31:17 +01:00