root / hw / tusb6010.h @ fe55ff6e
History | View | Annotate | Download (598 Bytes)
1 |
/*
|
---|---|
2 |
* tusb6010 interfaces
|
3 |
*
|
4 |
* Copyright 2011 Red Hat, Inc. and/or its affiliates
|
5 |
*
|
6 |
* Authors:
|
7 |
* Avi Kivity <avi@redhat.com>
|
8 |
*
|
9 |
* Derived from hw/devices.h.
|
10 |
*
|
11 |
* This work is licensed under the terms of the GNU GPL, version 2. See
|
12 |
* the COPYING file in the top-level directory.
|
13 |
*
|
14 |
*/
|
15 |
|
16 |
#ifndef TUSB6010_H
|
17 |
#define TUSB6010_H
|
18 |
|
19 |
#include "targphys.h" |
20 |
#include "memory.h" |
21 |
|
22 |
typedef struct TUSBState TUSBState; |
23 |
TUSBState *tusb6010_init(qemu_irq intr); |
24 |
MemoryRegion *tusb6010_sync_io(TUSBState *s); |
25 |
MemoryRegion *tusb6010_async_io(TUSBState *s); |
26 |
void tusb6010_power(TUSBState *s, int on); |
27 |
|
28 |
#endif
|