aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/usb/pci_xhci/pci_xhci.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/usb/pci_xhci/pci_xhci.h')
-rw-r--r--src/drivers/usb/pci_xhci/pci_xhci.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/drivers/usb/pci_xhci/pci_xhci.h b/src/drivers/usb/pci_xhci/pci_xhci.h
new file mode 100644
index 0000000000..a923351ac2
--- /dev/null
+++ b/src/drivers/usb/pci_xhci/pci_xhci.h
@@ -0,0 +1,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__ */