---
name: "pci_prepare_to_sleep"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/pci_prepare_to_sleep"
---

# pci\_prepare\_to\_sleep(9)

prepare PCI device for system-wide transition into a sleep state

## NAME

pci\_prepare\_to\_sleep - prepare PCI device for system-wide transition into a sleep state

## SYNOPSIS

**int pci\_prepare\_to\_sleep(struct pci\_dev \*** *dev***);**

## ARGUMENTS

*dev*

Device to handle.

## DESCRIPTION

Choose the power state appropriate for the device depending on whether it can wake up the system and/or is power manageable by the platform (PCI\_D3hot is the default) and put the device into that state.

## COPYRIGHT
