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(qemu_irq
*cmd_p
);
14 typedef struct ADS7846State ADS7846State
;
15 uint32_t ads7846_read(void *opaque
);
16 void ads7846_write(void *opaque
, uint32_t value
);
17 ADS7846State
*ads7846_init(qemu_irq penirq
);
20 uWireSlave
*tsc2102_init(qemu_irq pint
);
21 uWireSlave
*tsc2301_init(qemu_irq penirq
, qemu_irq kbirq
, qemu_irq dav
);
22 I2SCodec
*tsc210x_codec(uWireSlave
*chip
);
23 uint32_t tsc210x_txrx(void *opaque
, uint32_t value
, int len
);
24 void tsc210x_set_transform(uWireSlave
*chip
,
25 MouseTransformInfo
*info
);
26 void tsc210x_key_event(uWireSlave
*chip
, int key
, int down
);
29 void *tsc2005_init(qemu_irq pintdav
);
30 uint32_t tsc2005_txrx(void *opaque
, uint32_t value
, int len
);
31 void tsc2005_set_transform(void *opaque
, MouseTransformInfo
*info
);
33 /* stellaris_input.c */
34 void stellaris_gamepad_init(int n
, qemu_irq
*irq
, const int *keycode
);
37 void *s1d13745_init(qemu_irq gpio_int
);
38 void s1d13745_write(void *opaque
, int dc
, uint16_t value
);
39 void s1d13745_write_block(void *opaque
, int dc
,
40 void *buf
, size_t len
, int pitch
);
41 uint16_t s1d13745_read(void *opaque
, int dc
);
49 CBus
*cbus_init(qemu_irq dat_out
);
50 void cbus_attach(CBus
*bus
, void *slave_opaque
);
52 void *retu_init(qemu_irq irq
, int vilma
);
53 void *tahvo_init(qemu_irq irq
, int betty
);
55 void retu_key_event(void *retu
, int state
);
58 typedef struct TUSBState TUSBState
;
59 TUSBState
*tusb6010_init(qemu_irq intr
);
60 int tusb6010_sync_io(TUSBState
*s
);
61 int tusb6010_async_io(TUSBState
*s
);
62 void tusb6010_power(TUSBState
*s
, int on
);
65 typedef struct TC6393xbState TC6393xbState
;
66 #define TC6393XB_RAM 0x110000 /* amount of ram for Video and USB */
67 TC6393xbState
*tc6393xb_init(uint32_t base
, qemu_irq irq
);
68 void tc6393xb_gpio_out_set(TC6393xbState
*s
, int line
,
70 qemu_irq
*tc6393xb_gpio_in_get(TC6393xbState
*s
);
71 qemu_irq
tc6393xb_l3v_get(TC6393xbState
*s
);
74 void sm501_init(uint32_t base
, uint32_t local_mem_bytes
, qemu_irq irq
,
75 CharDriverState
*chr
);
78 void usb_ohci_init_sm501(uint32_t mmio_base
, uint32_t localmem_base
,
79 int num_ports
, int devfn
, qemu_irq irq
);