---
name: "pci_choose_state"
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_choose_state"
---

# pci\_choose\_state(9)

Choose the power state of a PCI device

## NAME

pci\_choose\_state - Choose the power state of a PCI device

## SYNOPSIS

**pci\_power\_t pci\_choose\_state(struct pci\_dev \*** *dev***, pm\_message\_t** *state***);**

## ARGUMENTS

*dev*

PCI device to be suspended

*state*

target sleep state for the whole system. This is the value that is passed to **suspend** function.

## DESCRIPTION

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

## COPYRIGHT
