root / hw / devices.h @ 72cf2d4f
History | View | Annotate | Download (2.2 kB)
1 | 87ecb68b | pbrook | #ifndef QEMU_DEVICES_H
|
---|---|---|---|
2 | 87ecb68b | pbrook | #define QEMU_DEVICES_H
|
3 | 87ecb68b | pbrook | |
4 | 87ecb68b | pbrook | /* Devices that have nowhere better to go. */
|
5 | 87ecb68b | pbrook | |
6 | 87ecb68b | pbrook | /* smc91c111.c */
|
7 | 87ecb68b | pbrook | void smc91c111_init(NICInfo *, uint32_t, qemu_irq);
|
8 | 87ecb68b | pbrook | |
9 | a5d7eb65 | balrog | /* tsc210x.c */
|
10 | 22d83b14 | Paul Brook | uWireSlave *tsc2102_init(qemu_irq pint); |
11 | 22d83b14 | Paul Brook | uWireSlave *tsc2301_init(qemu_irq penirq, qemu_irq kbirq, qemu_irq dav); |
12 | bc24a225 | Paul Brook | I2SCodec *tsc210x_codec(uWireSlave *chip); |
13 | e927bb00 | balrog | uint32_t tsc210x_txrx(void *opaque, uint32_t value, int len); |
14 | bc24a225 | Paul Brook | void tsc210x_set_transform(uWireSlave *chip,
|
15 | bc24a225 | Paul Brook | MouseTransformInfo *info); |
16 | bc24a225 | Paul Brook | void tsc210x_key_event(uWireSlave *chip, int key, int down); |
17 | a5d7eb65 | balrog | |
18 | e927bb00 | balrog | /* tsc2005.c */
|
19 | e927bb00 | balrog | void *tsc2005_init(qemu_irq pintdav);
|
20 | e927bb00 | balrog | uint32_t tsc2005_txrx(void *opaque, uint32_t value, int len); |
21 | bc24a225 | Paul Brook | void tsc2005_set_transform(void *opaque, MouseTransformInfo *info); |
22 | e927bb00 | balrog | |
23 | cf0dbb21 | pbrook | /* stellaris_input.c */
|
24 | cf0dbb21 | pbrook | void stellaris_gamepad_init(int n, qemu_irq *irq, const int *keycode); |
25 | cf0dbb21 | pbrook | |
26 | 7e7c5e4c | balrog | /* blizzard.c */
|
27 | 3023f332 | aliguori | void *s1d13745_init(qemu_irq gpio_int);
|
28 | 7e7c5e4c | balrog | void s1d13745_write(void *opaque, int dc, uint16_t value); |
29 | 7e7c5e4c | balrog | void s1d13745_write_block(void *opaque, int dc, |
30 | 7e7c5e4c | balrog | void *buf, size_t len, int pitch); |
31 | 7e7c5e4c | balrog | uint16_t s1d13745_read(void *opaque, int dc); |
32 | 7e7c5e4c | balrog | |
33 | 7e7c5e4c | balrog | /* cbus.c */
|
34 | bc24a225 | Paul Brook | typedef struct { |
35 | 7e7c5e4c | balrog | qemu_irq clk; |
36 | 7e7c5e4c | balrog | qemu_irq dat; |
37 | 7e7c5e4c | balrog | qemu_irq sel; |
38 | bc24a225 | Paul Brook | } CBus; |
39 | bc24a225 | Paul Brook | CBus *cbus_init(qemu_irq dat_out); |
40 | bc24a225 | Paul Brook | void cbus_attach(CBus *bus, void *slave_opaque); |
41 | 7e7c5e4c | balrog | |
42 | 7e7c5e4c | balrog | void *retu_init(qemu_irq irq, int vilma); |
43 | 7e7c5e4c | balrog | void *tahvo_init(qemu_irq irq, int betty); |
44 | 7e7c5e4c | balrog | |
45 | 7e7c5e4c | balrog | void retu_key_event(void *retu, int state); |
46 | 7e7c5e4c | balrog | |
47 | 942ac052 | balrog | /* tusb6010.c */
|
48 | bc24a225 | Paul Brook | typedef struct TUSBState TUSBState; |
49 | bc24a225 | Paul Brook | TUSBState *tusb6010_init(qemu_irq intr); |
50 | bc24a225 | Paul Brook | int tusb6010_sync_io(TUSBState *s);
|
51 | bc24a225 | Paul Brook | int tusb6010_async_io(TUSBState *s);
|
52 | bc24a225 | Paul Brook | void tusb6010_power(TUSBState *s, int on); |
53 | 942ac052 | balrog | |
54 | 88d2c950 | balrog | /* tc6393xb.c */
|
55 | bc24a225 | Paul Brook | typedef struct TC6393xbState TC6393xbState; |
56 | 64b40bc5 | balrog | #define TC6393XB_RAM 0x110000 /* amount of ram for Video and USB */ |
57 | bc24a225 | Paul Brook | TC6393xbState *tc6393xb_init(uint32_t base, qemu_irq irq); |
58 | bc24a225 | Paul Brook | void tc6393xb_gpio_out_set(TC6393xbState *s, int line, |
59 | 88d2c950 | balrog | qemu_irq handler); |
60 | bc24a225 | Paul Brook | qemu_irq *tc6393xb_gpio_in_get(TC6393xbState *s); |
61 | bc24a225 | Paul Brook | qemu_irq tc6393xb_l3v_get(TC6393xbState *s); |
62 | 88d2c950 | balrog | |
63 | ffd39257 | blueswir1 | /* sm501.c */
|
64 | ac611340 | aurel32 | void sm501_init(uint32_t base, uint32_t local_mem_bytes, qemu_irq irq,
|
65 | ac611340 | aurel32 | CharDriverState *chr); |
66 | ac611340 | aurel32 | |
67 | ac611340 | aurel32 | /* usb-ohci.c */
|
68 | ac611340 | aurel32 | void usb_ohci_init_sm501(uint32_t mmio_base, uint32_t localmem_base,
|
69 | ac611340 | aurel32 | int num_ports, int devfn, qemu_irq irq); |
70 | 87ecb68b | pbrook | #endif |