aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/drivers/usb/host/xhci-mtk-power.h
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-01-19 17:27:13 +0000
committerJohn Crispin <blogic@openwrt.org>2014-01-19 17:27:13 +0000
commitcbd4880e3ce3dc60748e9a57b01c51f1d1221a21 (patch)
tree8ad6df74bb3f33de192112ff3207bce3c698e4c8 /target/linux/ramips/files/drivers/usb/host/xhci-mtk-power.h
parentc0a637de039dff73ea4ed379e7eb385cf8d26e3d (diff)
downloadmaster-187ad058-cbd4880e3ce3dc60748e9a57b01c51f1d1221a21.tar.gz
master-187ad058-cbd4880e3ce3dc60748e9a57b01c51f1d1221a21.tar.bz2
master-187ad058-cbd4880e3ce3dc60748e9a57b01c51f1d1221a21.zip
ralink: add xhci driver
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39328 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/drivers/usb/host/xhci-mtk-power.h')
-rw-r--r--target/linux/ramips/files/drivers/usb/host/xhci-mtk-power.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/ramips/files/drivers/usb/host/xhci-mtk-power.h b/target/linux/ramips/files/drivers/usb/host/xhci-mtk-power.h
new file mode 100644
index 0000000000..e57c243f56
--- /dev/null
+++ b/target/linux/ramips/files/drivers/usb/host/xhci-mtk-power.h
@@ -0,0 +1,13 @@
+#ifndef _XHCI_MTK_POWER_H
+#define _XHCI_MTK_POWER_H
+
+#include <linux/usb.h>
+#include "xhci.h"
+#include "xhci-mtk.h"
+
+void enableXhciAllPortPower(struct xhci_hcd *xhci);
+void enableAllClockPower(void);
+void disablePortClockPower(void);
+void enablePortClockPower(int port_index, int port_rev);
+
+#endif