summaryrefslogtreecommitdiff
path: root/src/drivers/usb/pci_xhci/pci_xhci.h
blob: a923351ac28181036bbc745fbdac5ea1692b896f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __DRIVERS_USB_PCI_XHCI__
#define __DRIVERS_USB_PCI_XHCI__

#include <commonlib/bsd/cb_err.h>
#include <device/device.h>

/*
 * Returns the wake GPE for the Extensible Host Controller.
 * Set gpe to -1 if there is no GPE is available.
 */
enum cb_err pci_xhci_get_wake_gpe(const struct device *dev, int *gpe);

#endif /* __DRIVERS_USB_PCI_XHCI__ */