Searched refs:CharDriverState (Results 1 - 25 of 36) sorted by relevance

12

/external/qemu/hw/
H A Dmsmouse.h2 CharDriverState *qemu_chr_open_msmouse(void);
H A Dbaum.h29 CharDriverState *chr_baum_init(void);
H A Dmsmouse.c36 CharDriverState *chr = (CharDriverState *)opaque;
56 static int msmouse_chr_write (struct CharDriverState *s, const uint8_t *buf, int len)
62 static void msmouse_chr_close (struct CharDriverState *chr)
67 CharDriverState *qemu_chr_open_msmouse(void)
69 CharDriverState *chr;
71 chr = qemu_mallocz(sizeof(CharDriverState));
H A Dgoldfish_device.h43 int goldfish_tty_add(CharDriverState *cs, int id, uint32_t base, int irq);
H A Dpc.h11 CharDriverState *chr);
14 CharDriverState *chr, int ioregister);
25 ParallelState *parallel_init(int base, qemu_irq irq, CharDriverState *chr);
26 ParallelState *parallel_mm_init(target_phys_addr_t base, int it_shift, qemu_irq irq, CharDriverState *chr);
H A Ddevices.h65 CharDriverState *chr);
H A Dbt-hci-csr.c35 CharDriverState chr;
299 static int csrhci_write(struct CharDriverState *chr,
358 static int csrhci_ioctl(struct CharDriverState *chr, int cmd, void *arg)
429 qemu_irq *csrhci_pins_get(CharDriverState *chr)
436 CharDriverState *uart_hci_init(qemu_irq wakeup)
H A Dqdev.h99 CharDriverState *qdev_init_chardev(DeviceState *dev);
H A Dgoldfish_tty.c32 CharDriverState *cs;
197 int goldfish_tty_add(CharDriverState *cs, int id, uint32_t base, int irq)
/external/qemu/
H A Dcharpipe.h21 extern int qemu_chr_open_charpipe( CharDriverState* *pfirst, CharDriverState* *psecond );
28 extern CharDriverState* qemu_chr_open_buffer( CharDriverState* endpoint );
H A Dqemu-char.h50 struct CharDriverState { struct
51 void (*init)(struct CharDriverState *s);
52 int (*chr_write)(struct CharDriverState *s, const uint8_t *buf, int len);
53 void (*chr_update_read_handler)(struct CharDriverState *s);
54 int (*chr_ioctl)(struct CharDriverState *s, int cmd, void *arg);
59 void (*chr_send_event)(struct CharDriverState *chr, int event);
60 void (*chr_close)(struct CharDriverState *chr);
61 void (*chr_accept_input)(struct CharDriverState *chr);
67 QTAILQ_ENTRY(CharDriverState) next;
70 CharDriverState *qemu_chr_ope
[all...]
H A Dqemu-char-android.c117 static QTAILQ_HEAD(CharDriverStateHead, CharDriverState) chardevs =
121 static void qemu_chr_event(CharDriverState *s, int event)
130 CharDriverState *s = opaque;
136 void qemu_chr_reset(CharDriverState *s)
146 CharDriverState *chr;
155 int qemu_chr_write(CharDriverState *s, const uint8_t *buf, int len)
160 int qemu_chr_ioctl(CharDriverState *s, int cmd, void *arg)
167 int qemu_chr_can_read(CharDriverState *s)
174 void qemu_chr_read(CharDriverState *s, uint8_t *buf, int len)
179 void qemu_chr_accept_input(CharDriverState *
[all...]
H A Dqemu-char.c109 static TAILQ_HEAD(CharDriverStateHead, CharDriverState) chardevs =
113 static void qemu_chr_event(CharDriverState *s, int event)
122 CharDriverState *s = opaque;
128 void qemu_chr_reset(CharDriverState *s)
138 CharDriverState *chr;
147 int qemu_chr_write(CharDriverState *s, const uint8_t *buf, int len)
152 int qemu_chr_ioctl(CharDriverState *s, int cmd, void *arg)
159 int qemu_chr_can_read(CharDriverState *s)
166 void qemu_chr_read(CharDriverState *s, uint8_t *buf, int len)
171 void qemu_chr_accept_input(CharDriverState *
[all...]
H A Dcharpipe.c72 CharDriverState cs[1];
81 charpipehalf_close( CharDriverState* cs )
96 charpipehalf_write( CharDriverState* cs, const uint8_t* buf, int len )
206 CharDriverState* cs = ph->cs;
232 qemu_chr_open_charpipe( CharDriverState* *pfirst, CharDriverState* *psecond )
257 ** the data that is sent to a given endpoint CharDriverState
266 CharDriverState cs[1];
269 CharDriverState* endpoint; /* NULL if closed */
275 charbuffer_close( CharDriverState* c
[all...]
H A Dmonitor.h14 void monitor_init(CharDriverState *chr, int flags);
H A Dsysemu.h235 extern CharDriverState *serial_hds[MAX_SERIAL_PORTS];
241 extern CharDriverState *parallel_hds[MAX_PARALLEL_PORTS];
247 extern CharDriverState *virtcon_hds[MAX_VIRTIO_CONSOLES];
H A Dqemu-common.h174 typedef struct CharDriverState CharDriverState; typedef in typeref:struct:CharDriverState
/external/qemu/android/
H A Dgps.h19 extern CharDriverState* android_gps_cs;
H A Dhw-kmsg.h29 extern CharDriverState* android_kmsg_get_cs( void );
H A Dhw-kmsg.c17 static CharDriverState* android_kmsg_cs;
20 CharDriverState* cs;
64 CharDriverState* android_kmsg_get_cs( void )
H A Dhw-qemud.h29 extern CharDriverState* android_qemud_get_cs( void );
31 /* returns in '*pcs' a CharDriverState object that will be connected to
35 * implementation that requires a CharDriverState object for legacy
40 extern int android_qemud_get_channel( const char* name, CharDriverState* *pcs );
42 /* set an explicit CharDriverState object for a given qemud communication channel. this
48 extern int android_qemud_set_channel( const char* name, CharDriverState* peer_cs );
H A Dgps.c16 CharDriverState* android_gps_cs;
H A Dhw-qemud.c186 CharDriverState* cs; /* serial charpipe endpoint */
388 CharDriverState* cs,
1033 CharDriverState* serial_cs )
1128 static CharDriverState* android_qemud_cs;
1133 CharDriverState* cs;
1150 CharDriverState* android_qemud_get_cs( void )
1214 * system, to a CharDriverState object implemented through a charpipe.
1223 * CharDriverState handle in the 'opaque' field for simplicity.
1228 CharDriverState* cs;
1238 CharDriverState* c
[all...]
/external/qemu/telephony/
H A Dmodem_driver.h21 extern CharDriverState* android_modem_cs;
H A Dmodem_driver.c29 CharDriverState* android_modem_cs;
32 CharDriverState* cs;
129 modem_driver_init( int base_port, ModemDriver* dm, CharDriverState* cs )

Completed in 540 milliseconds

12