.TH "pci_set_power_state" 9 "pci_set_power_state" "25 May 1998" "Kernel Hacker's Manual" LINUX .SH NAME pci_set_power_state \- Set the power state of a PCI device .SH SYNOPSIS .B "int" pci_set_power_state .BI "(struct pci_dev *" dev "," .BI "int " state ");" .SH ARGUMENTS .IP "dev" 12 PCI device to be suspended .IP "state" 12 Power state we're entering .SH "DESCRIPTION" Transition a device to a new power state, using the Power Management Capabilities in the device's config space. .SH "RETURN VALUE" -EINVAL if trying to enter a lower state than we're already in. 0 if we're already in the requested state. -EIO if device does not support PCI PM. 0 if we can successfully change the power state.