root / hw / devices.h @ a5d7eb65
History | View | Annotate | Download (1.1 kB)
1 |
#ifndef QEMU_DEVICES_H
|
---|---|
2 |
#define QEMU_DEVICES_H
|
3 |
|
4 |
/* Devices that have nowhere better to go. */
|
5 |
|
6 |
/* smc91c111.c */
|
7 |
void smc91c111_init(NICInfo *, uint32_t, qemu_irq);
|
8 |
|
9 |
/* ssd0323.c */
|
10 |
int ssd0323_xfer_ssi(void *opaque, int data); |
11 |
void *ssd0323_init(DisplayState *ds, qemu_irq *cmd_p);
|
12 |
|
13 |
/* ads7846.c */
|
14 |
struct ads7846_state_s;
|
15 |
uint32_t ads7846_read(void *opaque);
|
16 |
void ads7846_write(void *opaque, uint32_t value); |
17 |
struct ads7846_state_s *ads7846_init(qemu_irq penirq);
|
18 |
|
19 |
/* tsc210x.c */
|
20 |
struct uwire_slave_s;
|
21 |
struct mouse_transform_info_s;
|
22 |
struct uwire_slave_s *tsc2102_init(qemu_irq pint, AudioState *audio);
|
23 |
struct uwire_slave_s *tsc2301_init(qemu_irq penirq, qemu_irq kbirq,
|
24 |
qemu_irq dav, AudioState *audio); |
25 |
struct i2s_codec_s *tsc210x_codec(struct uwire_slave_s *chip); |
26 |
uint32_t tsc210x_txrx(void *opaque, uint32_t value);
|
27 |
void tsc210x_set_transform(struct uwire_slave_s *chip, |
28 |
struct mouse_transform_info_s *info);
|
29 |
void tsc210x_key_event(struct uwire_slave_s *chip, int key, int down); |
30 |
|
31 |
/* stellaris_input.c */
|
32 |
void stellaris_gamepad_init(int n, qemu_irq *irq, const int *keycode); |
33 |
|
34 |
#endif
|