|
|
1.1 root 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:
1.1.1.4 ! root 9: /* lan9118.c */
! 10: void lan9118_init(NICInfo *, uint32_t, qemu_irq);
! 11:
1.1.1.2 root 12: /* tsc210x.c */
1.1.1.3 root 13: uWireSlave *tsc2102_init(qemu_irq pint);
14: uWireSlave *tsc2301_init(qemu_irq penirq, qemu_irq kbirq, qemu_irq dav);
15: I2SCodec *tsc210x_codec(uWireSlave *chip);
1.1.1.2 root 16: uint32_t tsc210x_txrx(void *opaque, uint32_t value, int len);
1.1.1.3 root 17: void tsc210x_set_transform(uWireSlave *chip,
18: MouseTransformInfo *info);
19: void tsc210x_key_event(uWireSlave *chip, int key, int down);
1.1.1.2 root 20:
21: /* tsc2005.c */
22: void *tsc2005_init(qemu_irq pintdav);
23: uint32_t tsc2005_txrx(void *opaque, uint32_t value, int len);
1.1.1.3 root 24: void tsc2005_set_transform(void *opaque, MouseTransformInfo *info);
1.1.1.2 root 25:
1.1 root 26: /* stellaris_input.c */
27: void stellaris_gamepad_init(int n, qemu_irq *irq, const int *keycode);
28:
1.1.1.2 root 29: /* blizzard.c */
30: void *s1d13745_init(qemu_irq gpio_int);
31: void s1d13745_write(void *opaque, int dc, uint16_t value);
32: void s1d13745_write_block(void *opaque, int dc,
33: void *buf, size_t len, int pitch);
34: uint16_t s1d13745_read(void *opaque, int dc);
35:
36: /* cbus.c */
1.1.1.3 root 37: typedef struct {
1.1.1.2 root 38: qemu_irq clk;
39: qemu_irq dat;
40: qemu_irq sel;
1.1.1.3 root 41: } CBus;
42: CBus *cbus_init(qemu_irq dat_out);
43: void cbus_attach(CBus *bus, void *slave_opaque);
1.1.1.2 root 44:
45: void *retu_init(qemu_irq irq, int vilma);
46: void *tahvo_init(qemu_irq irq, int betty);
47:
48: void retu_key_event(void *retu, int state);
49:
50: /* tusb6010.c */
1.1.1.3 root 51: typedef struct TUSBState TUSBState;
52: TUSBState *tusb6010_init(qemu_irq intr);
53: int tusb6010_sync_io(TUSBState *s);
54: int tusb6010_async_io(TUSBState *s);
55: void tusb6010_power(TUSBState *s, int on);
1.1.1.2 root 56:
57: /* tc6393xb.c */
1.1.1.3 root 58: typedef struct TC6393xbState TC6393xbState;
1.1.1.2 root 59: #define TC6393XB_RAM 0x110000 /* amount of ram for Video and USB */
1.1.1.3 root 60: TC6393xbState *tc6393xb_init(uint32_t base, qemu_irq irq);
61: void tc6393xb_gpio_out_set(TC6393xbState *s, int line,
1.1.1.2 root 62: qemu_irq handler);
1.1.1.3 root 63: qemu_irq *tc6393xb_gpio_in_get(TC6393xbState *s);
64: qemu_irq tc6393xb_l3v_get(TC6393xbState *s);
1.1.1.2 root 65:
66: /* sm501.c */
1.1.1.3 root 67: void sm501_init(uint32_t base, uint32_t local_mem_bytes, qemu_irq irq,
68: CharDriverState *chr);
69:
70: /* usb-ohci.c */
71: void usb_ohci_init_sm501(uint32_t mmio_base, uint32_t localmem_base,
72: int num_ports, int devfn, qemu_irq irq);
1.1 root 73: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.