root / hw / devices.h @ 746d6de7
History | View | Annotate | Download (1.9 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 | 87ecb68b | pbrook | /* ssd0323.c */
|
10 | 87ecb68b | pbrook | int ssd0323_xfer_ssi(void *opaque, int data); |
11 | 87ecb68b | pbrook | void *ssd0323_init(DisplayState *ds, qemu_irq *cmd_p);
|
12 | 87ecb68b | pbrook | |
13 | 87ecb68b | pbrook | /* ads7846.c */
|
14 | 87ecb68b | pbrook | struct ads7846_state_s;
|
15 | 87ecb68b | pbrook | uint32_t ads7846_read(void *opaque);
|
16 | 87ecb68b | pbrook | void ads7846_write(void *opaque, uint32_t value); |
17 | 87ecb68b | pbrook | struct ads7846_state_s *ads7846_init(qemu_irq penirq);
|
18 | 87ecb68b | pbrook | |
19 | a5d7eb65 | balrog | /* tsc210x.c */
|
20 | a5d7eb65 | balrog | struct uwire_slave_s;
|
21 | a5d7eb65 | balrog | struct mouse_transform_info_s;
|
22 | a5d7eb65 | balrog | struct uwire_slave_s *tsc2102_init(qemu_irq pint, AudioState *audio);
|
23 | a5d7eb65 | balrog | struct uwire_slave_s *tsc2301_init(qemu_irq penirq, qemu_irq kbirq,
|
24 | a5d7eb65 | balrog | qemu_irq dav, AudioState *audio); |
25 | a5d7eb65 | balrog | struct i2s_codec_s *tsc210x_codec(struct uwire_slave_s *chip); |
26 | a5d7eb65 | balrog | uint32_t tsc210x_txrx(void *opaque, uint32_t value);
|
27 | a5d7eb65 | balrog | void tsc210x_set_transform(struct uwire_slave_s *chip, |
28 | a5d7eb65 | balrog | struct mouse_transform_info_s *info);
|
29 | a5d7eb65 | balrog | void tsc210x_key_event(struct uwire_slave_s *chip, int key, int down); |
30 | a5d7eb65 | balrog | |
31 | cf0dbb21 | pbrook | /* stellaris_input.c */
|
32 | cf0dbb21 | pbrook | void stellaris_gamepad_init(int n, qemu_irq *irq, const int *keycode); |
33 | cf0dbb21 | pbrook | |
34 | 7e7c5e4c | balrog | /* blizzard.c */
|
35 | 7e7c5e4c | balrog | void *s1d13745_init(qemu_irq gpio_int, DisplayState *ds);
|
36 | 7e7c5e4c | balrog | void s1d13745_write(void *opaque, int dc, uint16_t value); |
37 | 7e7c5e4c | balrog | void s1d13745_write_block(void *opaque, int dc, |
38 | 7e7c5e4c | balrog | void *buf, size_t len, int pitch); |
39 | 7e7c5e4c | balrog | uint16_t s1d13745_read(void *opaque, int dc); |
40 | 7e7c5e4c | balrog | |
41 | 7e7c5e4c | balrog | /* cbus.c */
|
42 | 7e7c5e4c | balrog | struct cbus_s {
|
43 | 7e7c5e4c | balrog | qemu_irq clk; |
44 | 7e7c5e4c | balrog | qemu_irq dat; |
45 | 7e7c5e4c | balrog | qemu_irq sel; |
46 | 7e7c5e4c | balrog | }; |
47 | 7e7c5e4c | balrog | struct cbus_s *cbus_init(qemu_irq dat_out);
|
48 | 7e7c5e4c | balrog | void cbus_attach(struct cbus_s *bus, void *slave_opaque); |
49 | 7e7c5e4c | balrog | |
50 | 7e7c5e4c | balrog | void *retu_init(qemu_irq irq, int vilma); |
51 | 7e7c5e4c | balrog | void *tahvo_init(qemu_irq irq, int betty); |
52 | 7e7c5e4c | balrog | |
53 | 7e7c5e4c | balrog | void retu_key_event(void *retu, int state); |
54 | 7e7c5e4c | balrog | |
55 | 942ac052 | balrog | /* tusb6010.c */
|
56 | 942ac052 | balrog | struct tusb_s;
|
57 | 942ac052 | balrog | struct tusb_s *tusb6010_init(qemu_irq intr);
|
58 | 942ac052 | balrog | int tusb6010_sync_io(struct tusb_s *s); |
59 | 942ac052 | balrog | int tusb6010_async_io(struct tusb_s *s); |
60 | 942ac052 | balrog | void tusb6010_power(struct tusb_s *s, int on); |
61 | 942ac052 | balrog | |
62 | 87ecb68b | pbrook | #endif |