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