---
name: "pci_dev_run_wake"
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_dev_run_wake"
---

# pci\_dev\_run\_wake(9)

Check if device can generate run-time wake-up events.

## NAME

pci\_dev\_run\_wake - Check if device can generate run-time wake-up events.

## SYNOPSIS

**bool pci\_dev\_run\_wake(struct pci\_dev \*** *dev***);**

## ARGUMENTS

*dev*

Device to check.

## DESCRIPTION

Return true if the device itself is capable of generating wake-up events (through the platform or using the native PCIe PME) or if the device supports PME and one of its upstream bridges can generate wake-up events.

## COPYRIGHT
