suse man page for __pci_enable_wake

Query: __pci_enable_wake

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

__PCI_ENABLE_WAKE(9)						Hardware Interfaces					      __PCI_ENABLE_WAKE(9)

NAME
__pci_enable_wake - enable PCI device as wakeup event source
SYNOPSIS
int __pci_enable_wake(struct pci_dev * dev, pci_power_t state, bool runtime, bool enable);
ARGUMENTS
dev PCI device affected state PCI state from which device will issue wakeup events runtime True if the events are to be generated at run time enable True to enable event generation; false to disable
DESCRIPTION
This enables the device as a wakeup event source, or disables it. When such events involves platform-specific hooks, those hooks are called automatically by this routine. Devices with legacy power management (no standard PCI PM capabilities) always require such platform hooks.
RETURN VALUE
0 is returned on success -EINVAL is returned if device is not supposed to wake up the system Error code depending on the platform is returned if both the platform and the native mechanism fail to enable the generation of wake-up events
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 __PCI_ENABLE_WAKE(9)
Related Man Pages
pci_disable_busmaster(9) - debian
pci_disable_io(9) - debian
pci_find_device(9) - debian
struct_matrix_keypad_platform_data(9) - suse
usb_handle_remote_wakeup(9f) - opensolaris
Similar Topics in the Unix Linux Community
Grant unprivileged user rights to see the output of echo|format but not modify disks
Migrating to UNIX
Tar Command
A (ksh) Library For and From UNIX.com
32 bit process addressing more than 4GB