pci_choose_state

Name

pci_choose_state --  Choose the power state of a PCI device

Synopsis

pci_power_t pci_choose_state (struct pci_dev * dev, u32 state);

Arguments

dev

PCI device to be suspended

state

target sleep state for the whole system

Description

Returns PCI power state suitable for given device and given system message.