4 /* Devices that have nowhere better to go. */
7 void smc91c111_init(NICInfo
*, uint32_t, qemu_irq
);
10 int ssd0323_xfer_ssi(void *opaque
, int data
);
11 void *ssd0323_init(DisplayState
*ds
, qemu_irq
*cmd_p
);
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
);
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
, int len
);
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
);
32 void *tsc2005_init(qemu_irq pintdav
);
33 uint32_t tsc2005_txrx(void *opaque
, uint32_t value
, int len
);
34 void tsc2005_set_transform(void *opaque
, struct mouse_transform_info_s
*info
);
36 /* stellaris_input.c */
37 void stellaris_gamepad_init(int n
, qemu_irq
*irq
, const int *keycode
);
40 void *s1d13745_init(qemu_irq gpio_int
, DisplayState
*ds
);
41 void s1d13745_write(void *opaque
, int dc
, uint16_t value
);
42 void s1d13745_write_block(void *opaque
, int dc
,
43 void *buf
, size_t len
, int pitch
);
44 uint16_t s1d13745_read(void *opaque
, int dc
);
52 struct cbus_s
*cbus_init(qemu_irq dat_out
);
53 void cbus_attach(struct cbus_s
*bus
, void *slave_opaque
);
55 void *retu_init(qemu_irq irq
, int vilma
);
56 void *tahvo_init(qemu_irq irq
, int betty
);
58 void retu_key_event(void *retu
, int state
);
62 struct tusb_s
*tusb6010_init(qemu_irq intr
);
63 int tusb6010_sync_io(struct tusb_s
*s
);
64 int tusb6010_async_io(struct tusb_s
*s
);
65 void tusb6010_power(struct tusb_s
*s
, int on
);
69 #define TC6393XB_RAM 0x110000 /* amount of ram for Video and USB */
70 struct tc6393xb_s
*tc6393xb_init(uint32_t base
, qemu_irq irq
, DisplayState
*ds
);
71 void tc6393xb_gpio_out_set(struct tc6393xb_s
*s
, int line
,
73 qemu_irq
*tc6393xb_gpio_in_get(struct tc6393xb_s
*s
);
74 qemu_irq
tc6393xb_l3v_get(struct tc6393xb_s
*s
);
77 void sm501_init(DisplayState
*ds
, uint32_t base
, unsigned long local_mem_base
,
78 uint32_t local_mem_bytes
, CharDriverState
*chr
);