/openbmc/qemu/chardev/ |
H A D | char-socket.c | 68 static void qemu_chr_socket_restart_timer(Chardev *chr) in qemu_chr_socket_restart_timer() 84 static void check_report_connect_error(Chardev *chr, in check_report_connect_error() 108 static int tcp_chr_write(Chardev *chr, const uint8_t *buf, int len) in tcp_chr_write() 145 Chardev *chr = CHARDEV(opaque); in tcp_chr_read_poll() local 154 static void tcp_chr_process_IAC_bytes(Chardev *chr, in tcp_chr_process_IAC_bytes() 225 static int tcp_get_msgfds(Chardev *chr, int *fds, int num) in tcp_get_msgfds() 251 static int tcp_set_msgfds(Chardev *chr, int *fds, int num) in tcp_set_msgfds() 276 static ssize_t tcp_chr_recv(Chardev *chr, char *buf, size_t len) in tcp_chr_recv() 338 static GSource *tcp_chr_add_watch(Chardev *chr, GIOCondition cond) in tcp_chr_add_watch() 363 static void tcp_chr_free_connection(Chardev *chr) in tcp_chr_free_connection() [all …]
|
H A D | char-mux.c | 45 static int mux_chr_write(Chardev *chr, const uint8_t *buf, int len) in mux_chr_write() 100 static void mux_print_help(Chardev *chr) in mux_print_help() 138 static void mux_chr_be_event(Chardev *chr, QEMUChrEvent event) in mux_chr_be_event() 147 static int mux_proc_byte(Chardev *chr, MuxChardev *d, int ch) in mux_proc_byte() 199 static void mux_chr_accept_input(Chardev *chr) in mux_chr_accept_input() 231 Chardev *chr = CHARDEV(opaque); in mux_chr_read() local 251 void mux_chr_send_all_event(Chardev *chr, QEMUChrEvent event) in mux_chr_send_all_event() 275 Chardev *chr = qemu_chr_fe_get_driver(&d->chr); in mux_chr_add_watch() local 300 static void mux_chr_update_read_handlers(Chardev *chr) in mux_chr_update_read_handlers() 349 void mux_set_focus(Chardev *chr, unsigned int focus) in mux_set_focus() [all …]
|
H A D | spice.c | 20 Chardev *chr = CHARDEV(scd); in vmc_write() local 63 Chardev *chr = CHARDEV(scd); in vmc_event() local 81 Chardev *chr = CHARDEV(scd); in vmc_state() local 129 Chardev *chr = CHARDEV(src->scd); in spice_char_source_prepare() local 143 Chardev *chr = CHARDEV(src->scd); in spice_char_source_check() local 156 Chardev *chr = CHARDEV(src->scd); in spice_char_source_dispatch() local 169 static GSource *spice_chr_add_watch(Chardev *chr, GIOCondition cond) in spice_chr_add_watch() 183 static int spice_chr_write(Chardev *chr, const uint8_t *buf, int len) in spice_chr_write() 218 static void spice_vmc_set_fe_open(struct Chardev *chr, int fe_open) in spice_vmc_set_fe_open() 228 static void spice_port_set_fe_open(struct Chardev *chr, int fe_open) in spice_port_set_fe_open() [all …]
|
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() local 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() local 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() local 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() local 80 Chardev *chr = CHARDEV(opaque); in fd_chr_read_poll() local 133 static GSource *fd_source_new(FDChardev *chr) in fd_source_new() 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() local 209 void qemu_chr_open_fd(Chardev *chr, in qemu_chr_open_fd()
|
H A D | char-pty.c | 65 struct Chardev *chr = CHARDEV(opaque); in pty_chr_timer() local 76 static void pty_chr_rearm_timer(Chardev *chr, int ms) in pty_chr_rearm_timer() 88 static void pty_chr_update_read_handler(Chardev *chr) in pty_chr_update_read_handler() 108 static int char_pty_chr_write(Chardev *chr, const uint8_t *buf, int len) in char_pty_chr_write() 134 static GSource *pty_chr_add_watch(Chardev *chr, GIOCondition cond) in pty_chr_add_watch() 145 Chardev *chr = CHARDEV(opaque); in pty_chr_read_poll() local 154 Chardev *chr = CHARDEV(opaque); in pty_chr_read() local 178 static void pty_chr_state(Chardev *chr, int connected) in pty_chr_state() 206 Chardev *chr = CHARDEV(obj); in char_pty_finalize() local 332 static void char_pty_open(Chardev *chr, in char_pty_open()
|
H A D | char.c | 249 static void qemu_char_open(Chardev *chr, ChardevBackend *backend, in qemu_char_open() 277 Chardev *chr = CHARDEV(obj); in char_init() local 293 static int null_chr_write(Chardev *chr, const uint8_t *buf, int len) in null_chr_write() 308 Chardev *chr = CHARDEV(obj); in char_finalize() local 342 int qemu_chr_wait_connected(Chardev *chr, Error **errp) in qemu_chr_wait_connected() 623 static void qemu_chardev_set_replay(Chardev *chr, Error **errp) in qemu_chardev_set_replay() 640 Chardev *base = NULL, *chr = NULL; in do_qemu_chr_new_from_opts() local 723 Chardev *chr; in qemu_chr_new_from_name() local 795 Chardev *chr = CHARDEV(obj); in qmp_query_chardev_foreach() local 975 bool qemu_chr_has_feature(Chardev *chr, in qemu_chr_has_feature() [all …]
|
H A D | char-udp.c | 62 Chardev *chr = CHARDEV(s); in udp_chr_flush_buffer() local 74 Chardev *chr = CHARDEV(opaque); in udp_chr_read_poll() local 89 Chardev *chr = CHARDEV(opaque); in udp_chr_read() local 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() local 192 static void qmp_chardev_open_udp(Chardev *chr, in qmp_chardev_open_udp()
|
H A D | char-parallel.c | 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() 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() local
|
H A D | char-win-stdio.c | 49 Chardev *chr = CHARDEV(opaque); in DECLARE_INSTANCE_CHECKER() local 121 Chardev *chr = CHARDEV(opaque); in win_stdio_thread_wait_func() local 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 | char-ringbuf.c | 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() local 164 Chardev *chr; in qmp_ringbuf_read() local
|
H A D | char-pipe.c | 42 static int win_chr_pipe_init(Chardev *chr, const char *filename, in win_chr_pipe_init() 106 static void qemu_chr_open_pipe(Chardev *chr, in qemu_chr_open_pipe() 121 static void qemu_chr_open_pipe(Chardev *chr, in qemu_chr_open_pipe()
|
H A D | char-serial.c | 44 static void qmp_chardev_open_serial(Chardev *chr, in qmp_chardev_open_serial() 179 static int tty_serial_ioctl(Chardev *chr, int cmd, void *arg) in tty_serial_ioctl() 261 static void qmp_chardev_open_serial(Chardev *chr, in qmp_chardev_open_serial()
|
H A D | wctablet.c | 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 | chardev-internal.h | 39 CharBackend chr; member 59 #define CHARDEV_IS_MUX(chr) \ argument
|
H A D | char-stdio.c | 59 static void qemu_chr_set_echo_stdio(Chardev *chr, bool echo) in qemu_chr_set_echo_stdio() 88 static void qemu_chr_open_stdio(Chardev *chr, in qemu_chr_open_stdio()
|
/openbmc/qemu/ui/ |
H A D | dbus-chardev.c | 37 dbus_display_chardev_path(DBusChardev *chr) in dbus_display_chardev_path() 44 dbus_display_chardev_export(DBusDisplay *dpy, DBusChardev *chr) in dbus_display_chardev_export() 61 dbus_display_chardev_unexport(DBusDisplay *dpy, DBusChardev *chr) in dbus_display_chardev_unexport() 180 dbus_chr_open(Chardev *chr, ChardevBackend *backend, in dbus_chr_open() 218 dbus_chr_set_fe_open(Chardev *chr, int fe_open) in dbus_chr_set_fe_open() 226 dbus_chr_set_echo(Chardev *chr, bool echo) in dbus_chr_set_echo() 234 dbus_chr_be_event(Chardev *chr, QEMUChrEvent event) in dbus_chr_be_event()
|
H A D | curses.c | 240 int chr, enum maybe_keycode maybe_keycode) in curses2foo() 259 #define curses2keycode(chr, maybe_keycode) \ argument 261 #define curses2keysym(chr, maybe_keycode) \ argument 263 #define curses2qemu(chr, maybe_keycode) \ argument 268 int chr, keysym, keycode, keycode_alt; in curses_refresh() local
|
/openbmc/qemu/include/sysemu/ |
H A D | tpm.h | 53 #define TPM_IS_TIS_ISA(chr) \ argument 55 #define TPM_IS_TIS_SYSBUS(chr) \ argument 57 #define TPM_IS_CRB(chr) \ argument 59 #define TPM_IS_SPAPR(chr) \ argument 61 #define TPM_IS_TIS_I2C(chr) \ argument
|
/openbmc/qemu/system/ |
H A D | qtest.c | 45 Chardev *chr; member 263 void qtest_send_prefix(CharBackend *chr) in qtest_send_prefix() 290 CharBackend* chr = (CharBackend *)opaque; in qtest_server_char_be_send() local 297 static void qtest_send(CharBackend *chr, const char *str) in qtest_send() 302 void qtest_sendf(CharBackend *chr, const char *fmt, ...) in qtest_sendf() 320 CharBackend *chr = &qtest->qtest_chr; in qtest_irq_handler() local 330 void qtest_set_command_cb(bool (*pc_cb)(CharBackend *chr, gchar **words)) in qtest_set_command_cb() 346 static void qtest_process_command(CharBackend *chr, gchar **words) in qtest_process_command() 761 static void qtest_process_inbuf(CharBackend *chr, GString *inbuf) in qtest_process_inbuf() 785 CharBackend *chr = opaque; in qtest_read() local [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-char.c | 85 Chardev *chr; in char_console_test_subprocess() local 109 Chardev *chr; in char_stdio_test_subprocess() local 134 Chardev *chr; in char_ringbuf_test() local 184 Chardev *chr, *base; in char_mux_test() local 437 Chardev *chr = qemu_chr_new("server", in char_websock_test() local 492 Chardev *chr; in char_pipe_test() local 555 Chardev *chr; member 598 Chardev *chr; in char_udp_test_internal() local 791 Chardev *chr; in char_socket_server_test() local 981 Chardev *chr; in char_socket_client_test() local [all …]
|
/openbmc/qemu/net/ |
H A D | vhost-user.c | 26 CharBackend chr; /* only queue index 0 */ member 281 Chardev *chr; in net_vhost_user_event() local 334 const char *name, Chardev *chr, in net_vhost_user_init() 397 Chardev *chr = qemu_chr_find(opts->chardev); in net_vhost_claim_chardev() local 423 Chardev *chr; in net_init_vhost_user() local
|
/openbmc/qemu/backends/ |
H A D | rng-egd.c | 27 CharBackend chr; member 90 Chardev *chr; in rng_egd_opened() local 129 Chardev *chr = qemu_chr_fe_get_driver(&s->chr); in rng_egd_get_chardev() local
|
H A D | cryptodev-vhost-user.c | 49 CharBackend chr; member 136 Chardev *chr; in cryptodev_vhost_claim_chardev() local 187 Chardev *chr; in cryptodev_vhost_user_init() local 377 Chardev *chr = qemu_chr_fe_get_driver(&s->chr); in cryptodev_vhost_user_get_chardev() local
|
H A D | vhost-user.c | 129 Chardev *chr; in set_chardev() local 157 Chardev *chr = qemu_chr_fe_get_driver(&b->chr); in get_chardev() local
|