summaryrefslogtreecommitdiff
path: root/hw/tusb6010.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/tusb6010.h')
-rw-r--r--hw/tusb6010.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/hw/tusb6010.h b/hw/tusb6010.h
new file mode 100644
index 0000000000..ebb35848b9
--- /dev/null
+++ b/hw/tusb6010.h
@@ -0,0 +1,25 @@
+/*
+ * tusb6010 interfaces
+ *
+ * Copyright 2011 Red Hat, Inc. and/or its affiliates
+ *
+ * Authors:
+ * Avi Kivity <avi@redhat.com>
+ *
+ * Derived from hw/devices.h.
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2. See
+ * the COPYING file in the top-level directory.
+ *
+ */
+
+#ifndef TUSB6010_H
+#define TUSB6010_H
+
+typedef struct TUSBState TUSBState;
+TUSBState *tusb6010_init(qemu_irq intr);
+int tusb6010_sync_io(TUSBState *s);
+int tusb6010_async_io(TUSBState *s);
+void tusb6010_power(TUSBState *s, int on);
+
+#endif