/openbmc/qemu/include/chardev/ |
H A D | char.h | 59 struct Chardev { struct 86 Chardev *qemu_chr_new_from_opts(QemuOpts *opts, argument 178 int qemu_chr_be_can_write(Chardev *s); 217 int qemu_chr_add_client(Chardev *s, int fd); 218 Chardev *qemu_chr_find(const char *name); 220 bool qemu_chr_has_feature(Chardev *chr, 222 void qemu_chr_set_feature(Chardev *chr, 278 void (*chr_update_read_handler)(Chardev *s); 290 int (*chr_add_client)(Chardev *chr, int fd); 296 void (*chr_disconnect)(Chardev *chr); [all …]
|
H A D | char-win.h | 31 Chardev parent; 50 void win_chr_set_file(Chardev *chr, HANDLE file, bool keep_open); 51 int win_chr_serial_init(Chardev *chr, const char *filename, Error **errp);
|
H A D | char-fd.h | 32 Chardev parent; 44 void qemu_chr_open_fd(Chardev *chr, int fd_in, int fd_out);
|
H A D | char-io.h | 32 GSource *io_add_watch_poll(Chardev *chr, 39 void remove_fd_in_watch(Chardev *chr);
|
H A D | char-fe.h | 17 Chardev *chr; 36 bool qemu_chr_fe_init(CharBackend *b, Chardev *s, Error **errp); 58 Chardev *qemu_chr_fe_get_driver(CharBackend *be);
|
/openbmc/qemu/chardev/ |
H A D | char.c | 277 Chardev *chr = CHARDEV(obj); in char_init() 308 Chardev *chr = CHARDEV(obj); in char_finalize() 679 Chardev *mux; in __qemu_chr_new_from_opts() 718 Chardev *chr; in __qemu_chr_new() 788 Chardev *chr = CHARDEV(obj); in qmp_query_chardev_foreach() 984 Chardev *chr = NULL; in chardev_new() 1019 Chardev *chr; in qemu_chardev_new() 1048 g_autoptr(Chardev) chr = NULL; in qmp_chardev_add() 1088 Chardev *chr, *chr_new; in qmp_chardev_change() 1183 Chardev *chr; in qmp_chardev_remove() [all …]
|
H A D | char-fe.c | 35 Chardev *s = be->chr; in qemu_chr_fe_write() 46 Chardev *s = be->chr; in qemu_chr_fe_write_all() 57 Chardev *s = be->chr; in qemu_chr_fe_read_all() 100 Chardev *s = be->chr; in qemu_chr_fe_ioctl() 114 Chardev *s = be->chr; in qemu_chr_fe_get_msgfd() 127 Chardev *s = be->chr; in qemu_chr_fe_get_msgfds() 139 Chardev *s = be->chr; in qemu_chr_fe_set_msgfds() 151 Chardev *s = be->chr; in qemu_chr_fe_accept_input() 259 Chardev *s; in qemu_chr_fe_set_handlers_full() 332 Chardev *chr = be->chr; in qemu_chr_fe_set_echo() [all …]
|
H A D | char-mux.c | 99 static void mux_print_help(Chardev *chr) in mux_print_help() 145 static int mux_proc_byte(Chardev *chr, MuxChardev *d, int ch) in mux_proc_byte() 190 static void mux_chr_accept_input(Chardev *chr) in mux_chr_accept_input() 222 Chardev *chr = CHARDEV(opaque); in mux_chr_read() 265 Chardev *chr = qemu_chr_fe_get_driver(&d->chr); in mux_chr_add_watch() 289 static void mux_chr_update_read_handlers(Chardev *chr) in mux_chr_update_read_handlers() 303 void mux_set_focus(Chardev *chr, int focus) in mux_set_focus() 319 static void qemu_chr_open_mux(Chardev *chr, in qemu_chr_open_mux() 325 Chardev *drv; in qemu_chr_open_mux() 370 static void open_muxes(Chardev *chr) in open_muxes() [all …]
|
H A D | char-pty.c | 38 Chardev parent; 50 static void pty_chr_state(Chardev *chr, int connected); 63 struct Chardev *chr = CHARDEV(opaque); in pty_chr_timer() 74 static void pty_chr_rearm_timer(Chardev *chr, int ms) in pty_chr_rearm_timer() 86 static void pty_chr_update_read_handler(Chardev *chr) in pty_chr_update_read_handler() 132 static GSource *pty_chr_add_watch(Chardev *chr, GIOCondition cond) in pty_chr_add_watch() 143 Chardev *chr = CHARDEV(opaque); in pty_chr_read_poll() 152 Chardev *chr = CHARDEV(opaque); in pty_chr_read() 176 static void pty_chr_state(Chardev *chr, int connected) in pty_chr_state() 204 Chardev *chr = CHARDEV(obj); in char_pty_finalize() [all …]
|
H A D | spice.c | 20 Chardev *chr = CHARDEV(scd); in vmc_write() 63 Chardev *chr = CHARDEV(scd); in vmc_event() 81 Chardev *chr = CHARDEV(scd); in vmc_state() 129 Chardev *chr = CHARDEV(src->scd); in spice_char_source_prepare() 143 Chardev *chr = CHARDEV(src->scd); in spice_char_source_check() 156 Chardev *chr = CHARDEV(src->scd); in spice_char_source_dispatch() 218 static void spice_vmc_set_fe_open(struct Chardev *chr, int fe_open) in spice_vmc_set_fe_open() 239 static void spice_chr_accept_input(struct Chardev *chr) in spice_chr_accept_input() 246 static void chr_open(Chardev *chr, const char *subtype) in chr_open() 254 static void qemu_chr_open_spice_vmc(Chardev *chr, in qemu_chr_open_spice_vmc() [all …]
|
H A D | char-socket.c | 145 Chardev *chr = CHARDEV(opaque); in tcp_chr_read_poll() 453 Chardev *chr = CHARDEV(s); in update_disconnected_filename() 498 Chardev *chr = CHARDEV(opaque); in tcp_chr_read() 531 Chardev *chr = CHARDEV(opaque); in tcp_chr_hup() 599 Chardev *chr = CHARDEV(s); in update_ioc_handlers() 636 Chardev *chr = CHARDEV(opaque); in tcp_chr_connect() 682 Chardev *chr = CHARDEV(s); in tcp_chr_telnet_init_io() 775 Chardev *chr = user_data; in tcp_chr_websock_handshake() 815 Chardev *chr = user_data; in tcp_chr_tls_handshake() 956 Chardev *chr = CHARDEV(opaque); in tcp_chr_accept() [all …]
|
H A D | char-udp.c | 39 Chardev parent; 52 static int udp_chr_write(Chardev *chr, const uint8_t *buf, int len) in DECLARE_INSTANCE_CHECKER() 62 Chardev *chr = CHARDEV(s); in udp_chr_flush_buffer() 74 Chardev *chr = CHARDEV(opaque); in udp_chr_read_poll() 89 Chardev *chr = CHARDEV(opaque); in udp_chr_read() 109 static void udp_chr_update_read_handler(Chardev *chr) in udp_chr_update_read_handler() 124 Chardev *chr = CHARDEV(obj); in char_udp_finalize() 192 static void qmp_chardev_open_udp(Chardev *chr, in qmp_chardev_open_udp()
|
H A D | char-parallel.c | 53 Chardev parent; 73 static int pp_ioctl(Chardev *chr, int cmd, void *arg) in pp_ioctl() 160 static void qemu_chr_open_pp_fd(Chardev *chr, in qemu_chr_open_pp_fd() 181 Chardev parent; 188 static int pp_ioctl(Chardev *chr, int cmd, void *arg) in pp_ioctl() 230 static void qemu_chr_open_pp_fd(Chardev *chr, in qemu_chr_open_pp_fd() 242 static void qmp_chardev_open_parallel(Chardev *chr, in qmp_chardev_open_parallel() 284 Chardev *chr = CHARDEV(obj); in char_parallel_finalize()
|
H A D | char-ringbuf.c | 37 Chardev parent; 48 static size_t ringbuf_count(const Chardev *chr) in DECLARE_INSTANCE_CHECKER() 55 static int ringbuf_chr_write(Chardev *chr, const uint8_t *buf, int len) in ringbuf_chr_write() 74 static int ringbuf_chr_read(Chardev *chr, uint8_t *buf, int len) in ringbuf_chr_read() 95 static void qemu_chr_open_ringbuf(Chardev *chr, in qemu_chr_open_ringbuf() 120 Chardev *chr; in qmp_ringbuf_write() 164 Chardev *chr; in qmp_ringbuf_read()
|
H A D | char-win.c | 31 static void win_chr_read(Chardev *chr, DWORD len) in win_chr_read() 63 Chardev *chr = CHARDEV(opaque); in win_chr_serial_poll() 76 int win_chr_serial_init(Chardev *chr, const char *filename, Error **errp) in win_chr_serial_init() 144 Chardev *chr = CHARDEV(opaque); in win_chr_pipe_poll() 157 static int win_chr_write(Chardev *chr, const uint8_t *buf, int len1) in win_chr_write() 194 Chardev *chr = CHARDEV(obj); in char_win_finalize() 215 void win_chr_set_file(Chardev *chr, HANDLE file, bool keep_open) in win_chr_set_file()
|
H A D | char-fd.c | 37 static int fd_chr_write(Chardev *chr, const uint8_t *buf, int len) in fd_chr_write() 50 Chardev *chr = CHARDEV(opaque); in fd_chr_read() 80 Chardev *chr = CHARDEV(opaque); in fd_chr_read_poll() 149 static GSource *fd_chr_add_watch(Chardev *chr, GIOCondition cond) in fd_chr_add_watch() 168 static void fd_chr_update_read_handler(Chardev *chr) in fd_chr_update_read_handler() 183 Chardev *chr = CHARDEV(obj); in char_fd_finalize() 209 void qemu_chr_open_fd(Chardev *chr, in qemu_chr_open_fd()
|
H A D | chardev-internal.h | 37 Chardev parent; 63 void mux_set_focus(Chardev *chr, int focus); 64 void mux_chr_send_all_event(Chardev *chr, QEMUChrEvent event);
|
H A D | char-win-stdio.c | 34 Chardev parent; 49 Chardev *chr = CHARDEV(opaque); in DECLARE_INSTANCE_CHECKER() 121 Chardev *chr = CHARDEV(opaque); in win_stdio_thread_wait_func() 131 static void qemu_chr_set_echo_win_stdio(Chardev *chr, bool echo) in qemu_chr_set_echo_win_stdio() 145 static void qemu_chr_open_stdio(Chardev *chr, in qemu_chr_open_stdio() 240 static int win_stdio_write(Chardev *chr, const uint8_t *buf, int len) in win_stdio_write()
|
H A D | msmouse.c | 58 Chardev parent; 73 static void msmouse_chr_accept_input(Chardev *chr) in DECLARE_INSTANCE_CHECKER() 157 Chardev *chr = CHARDEV(dev); in msmouse_input_sync() 168 static int msmouse_chr_write(struct Chardev *s, const uint8_t *buf, int len) in msmouse_chr_write() 181 static int msmouse_ioctl(Chardev *chr, int cmd, void *arg) in msmouse_ioctl() 256 static void msmouse_chr_open(Chardev *chr, in msmouse_chr_open()
|
H A D | wctablet.c | 69 Chardev parent; 93 static void wctablet_chr_accept_input(Chardev *chr); 188 static void wctablet_chr_accept_input(Chardev *chr) in wctablet_chr_accept_input() 208 static int wctablet_chr_write(struct Chardev *chr, in wctablet_chr_write() 298 static int wctablet_chr_ioctl(Chardev *chr, int cmd, void *arg) in wctablet_chr_ioctl() 327 static void wctablet_chr_open(Chardev *chr, in wctablet_chr_open()
|
H A D | char-null.c | 29 static void null_chr_open(Chardev *chr, in null_chr_open() 47 .instance_size = sizeof(Chardev),
|
/openbmc/qemu/replay/ |
H A D | replay-char.c | 20 static Chardev **char_drivers; 30 static int find_char_driver(Chardev *chr) in find_char_driver() 41 void replay_register_char_driver(Chardev *chr) in replay_register_char_driver() 51 void replay_chr_be_write(Chardev *s, const uint8_t *buf, int len) in replay_chr_be_write()
|
/openbmc/qemu/tests/unit/ |
H A D | test-char.c | 84 Chardev *chr; in char_console_test_subprocess() 108 Chardev *chr; in char_stdio_test_subprocess() 133 Chardev *chr; in char_ringbuf_test() 470 Chardev *chr; in char_pipe_test() 533 Chardev *chr; 576 Chardev *chr; in char_udp_test_internal() 769 Chardev *chr; in char_socket_server_test() 959 Chardev *chr; in char_socket_client_test() 1105 Chardev *chr; in char_socket_server_two_clients_test() 1190 Chardev *chr; in char_serial_test() [all …]
|
/openbmc/qemu/include/hw/m68k/ |
H A D | mcf.h | 13 DeviceState *mcf_uart_create(qemu_irq irq, Chardev *chr); 14 DeviceState *mcf_uart_create_mmap(hwaddr base, qemu_irq irq, Chardev *chr);
|
/openbmc/qemu/stubs/ |
H A D | replay-tools.c | 52 void replay_register_char_driver(struct Chardev *chr) in replay_register_char_driver() 56 void replay_chr_be_write(struct Chardev *s, const uint8_t *buf, int len) in replay_chr_be_write()
|