summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/drivers/usb/host/xhci-mtk-power.h
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-01-19 17:27:13 +0000
committerJohn Crispin <john@openwrt.org>2014-01-19 17:27:13 +0000
commita75b69255725501082bb3cbd89d8579f199dafbf (patch)
tree3d808ec9345e90800bf952708864bf59580620d3 /target/linux/ramips/files/drivers/usb/host/xhci-mtk-power.h
parent2f5f49896988770df916a0c00e6cb96b05d03151 (diff)
downloadmaster-31e0f0ae-a75b69255725501082bb3cbd89d8579f199dafbf.tar.gz
master-31e0f0ae-a75b69255725501082bb3cbd89d8579f199dafbf.tar.bz2
master-31e0f0ae-a75b69255725501082bb3cbd89d8579f199dafbf.zip
ralink: add xhci driver
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39328
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