/external/qemu/ |
D | qemu-char.h | 54 struct CharDriverState { struct 55 void (*init)(struct CharDriverState *s); argument 56 int (*chr_write)(struct CharDriverState *s, const uint8_t *buf, int len); argument 57 void (*chr_update_read_handler)(struct CharDriverState *s); argument 58 int (*chr_ioctl)(struct CharDriverState *s, int cmd, void *arg); argument 59 int (*get_msgfd)(struct CharDriverState *s); argument 64 void (*chr_send_event)(struct CharDriverState *chr, int event); argument 65 void (*chr_close)(struct CharDriverState *chr); argument 66 void (*chr_accept_input)(struct CharDriverState *chr); argument 67 void (*chr_set_echo)(struct CharDriverState *chr, bool echo); argument [all …]
|
D | qemu-char.c | 116 static QTAILQ_HEAD(CharDriverStateHead, CharDriverState) chardevs = 120 static void qemu_chr_event(CharDriverState *s, int event) in qemu_chr_event() 139 CharDriverState *s = opaque; in qemu_chr_generic_open_bh() 145 void qemu_chr_generic_open(CharDriverState *s) in qemu_chr_generic_open() 153 void qemu_chr_reset(CharDriverState *s) in qemu_chr_reset() 163 CharDriverState *chr; in qemu_chr_initial_reset() 172 int qemu_chr_write(CharDriverState *s, const uint8_t *buf, int len) in qemu_chr_write() 177 int qemu_chr_ioctl(CharDriverState *s, int cmd, void *arg) in qemu_chr_ioctl() 184 int qemu_chr_can_read(CharDriverState *s) in qemu_chr_can_read() 191 void qemu_chr_read(CharDriverState *s, uint8_t *buf, int len) in qemu_chr_read() [all …]
|
D | charpipe.c | 72 CharDriverState cs[1]; 81 charpipehalf_close( CharDriverState* cs ) in charpipehalf_close() 96 charpipehalf_write( CharDriverState* cs, const uint8_t* buf, int len ) in charpipehalf_write() 206 CharDriverState* cs = ph->cs; in charpipehalf_init() 232 qemu_chr_open_charpipe( CharDriverState* *pfirst, CharDriverState* *psecond ) in qemu_chr_open_charpipe() 266 CharDriverState cs[1]; 269 CharDriverState* endpoint; /* NULL if closed */ 275 charbuffer_close( CharDriverState* cs ) in charbuffer_close() 294 charbuffer_write( CharDriverState* cs, const uint8_t* buf, int len ) in charbuffer_write() 297 CharDriverState* peer = cbuf->endpoint; in charbuffer_write() [all …]
|
D | charpipe.h | 21 extern int qemu_chr_open_charpipe( CharDriverState* *pfirst, CharDriverState* *psecond ); 28 extern CharDriverState* qemu_chr_open_buffer( CharDriverState* endpoint );
|
D | sysemu.h | 208 extern CharDriverState *serial_hds[MAX_SERIAL_PORTS]; 214 extern CharDriverState *parallel_hds[MAX_PARALLEL_PORTS]; 220 extern CharDriverState *virtcon_hds[MAX_VIRTIO_CONSOLES];
|
D | monitor.h | 46 void monitor_init(CharDriverState *chr, int flags);
|
D | console.c | 184 CharDriverState *chr; 1125 static int console_puts(CharDriverState *chr, const uint8_t *buf, int len) in console_puts() 1147 static void console_send_event(CharDriverState *chr, int event) in console_send_event() 1487 static CharDriverState *text_consoles[128]; 1489 static void text_console_set_echo(CharDriverState *chr, bool echo) in text_console_set_echo() 1496 static void text_console_do_init(CharDriverState *chr, DisplayState *ds) in text_console_do_init() 1556 CharDriverState *text_console_init(QemuOpts *opts) in text_console_init() 1558 CharDriverState *chr; in text_console_init() 1563 chr = qemu_mallocz(sizeof(CharDriverState)); in text_console_init() 1599 CharDriverState* text_console_init_compat(const char *label, const char *p) in text_console_init_compat()
|
D | qemu-common.h | 266 typedef struct CharDriverState CharDriverState; typedef
|
/external/qemu/hw/ |
D | msmouse.c | 36 CharDriverState *chr = (CharDriverState *)opaque; in msmouse_event() 56 static int msmouse_chr_write (struct CharDriverState *s, const uint8_t *buf, int len) in msmouse_chr_write() 62 static void msmouse_chr_close (struct CharDriverState *chr) in msmouse_chr_close() 67 CharDriverState *qemu_chr_open_msmouse(QemuOpts *opts) in qemu_chr_open_msmouse() 69 CharDriverState *chr; in qemu_chr_open_msmouse() 71 chr = qemu_mallocz(sizeof(CharDriverState)); in qemu_chr_open_msmouse()
|
D | pc.h | 11 CharDriverState *chr); 14 CharDriverState *chr, int ioregister); 25 ParallelState *parallel_init(int base, qemu_irq irq, CharDriverState *chr); 26 …State *parallel_mm_init(target_phys_addr_t base, int it_shift, qemu_irq irq, CharDriverState *chr);
|
D | bt-hci-csr.c | 34 CharDriverState chr; 298 static int csrhci_write(struct CharDriverState *chr, in csrhci_write() 357 static int csrhci_ioctl(struct CharDriverState *chr, int cmd, void *arg) in csrhci_ioctl() 428 qemu_irq *csrhci_pins_get(CharDriverState *chr) in csrhci_pins_get() 435 CharDriverState *uart_hci_init(qemu_irq wakeup) in uart_hci_init()
|
D | baum.h | 29 CharDriverState *chr_baum_init(void);
|
D | msmouse.h | 2 CharDriverState *qemu_chr_open_msmouse(QemuOpts *opts);
|
D | goldfish_tty.c | 36 CharDriverState *cs; 209 int goldfish_tty_add(CharDriverState *cs, int id, uint32_t base, int irq) in goldfish_tty_add()
|
D | goldfish_device.h | 43 int goldfish_tty_add(CharDriverState *cs, int id, uint32_t base, int irq);
|
D | devices.h | 68 CharDriverState *chr);
|
/external/qemu/docs/ |
D | CHAR-DEVICES.TXT | 3 I. CharDriverState objects: 6 One of the strangest abstraction in QEMU is the "CharDriverState" 23 int qemu_chr_write( CharDriverState* cs, 32 There is no way to know in advance how many bytes a given CharDriverState 46 that you are ready to accept from the CharDriverState. Its 51 - a 'read' function that will send you bytes from the CharDriverState 63 void qemu_chr_add_handlers(CharDriverState *s, 69 - qemu_chr_open() is used to create a new CharDriverState object from a 72 CharDriverState* qemu_chr_open(const char* filename); 106 A CharDriverState that is used to receive kernel log messages [all …]
|
/external/qemu/android/ |
D | hw-kmsg.c | 17 static CharDriverState* android_kmsg_cs; 20 CharDriverState* cs; 64 CharDriverState* android_kmsg_get_cs( void ) in android_kmsg_get_cs()
|
D | hw-qemud.h | 29 extern CharDriverState* android_qemud_get_cs( void ); 40 extern int android_qemud_get_channel( const char* name, CharDriverState* *pcs ); 48 extern int android_qemud_set_channel( const char* name, CharDriverState* peer_cs );
|
D | hw-qemud.c | 225 CharDriverState* cs; /* serial charpipe endpoint */ 487 CharDriverState* cs, in qemud_serial_init() 1534 CharDriverState* serial_cs ) in qemud_multiplexer_init() 2070 static CharDriverState* android_qemud_cs; 2077 CharDriverState* cs; in _android_qemud_serial_init() 2109 CharDriverState* android_qemud_get_cs( void ) in android_qemud_get_cs() 2190 CharDriverState* cs; 2200 CharDriverState* cs = opaque; in _qemud_char_client_recv() 2260 CharDriverState* cs = opaque; in _qemud_char_service_connect() 2281 android_qemud_get_channel( const char* name, CharDriverState* *pcs ) in android_qemud_get_channel() [all …]
|
D | gps.h | 19 extern CharDriverState* android_gps_cs;
|
D | hw-kmsg.h | 29 extern CharDriverState* android_kmsg_get_cs( void );
|
D | gps.c | 16 CharDriverState* android_gps_cs;
|
/external/qemu/telephony/ |
D | modem_driver.c | 29 CharDriverState* android_modem_cs; 32 CharDriverState* cs; 129 modem_driver_init( int base_port, ModemDriver* dm, CharDriverState* cs ) in modem_driver_init()
|
D | modem_driver.h | 21 extern CharDriverState* android_modem_cs;
|