Home
last modified time | relevance | path

Searched defs:chr (Results 1 – 25 of 136) sorted by relevance

123456

/openbmc/qemu/chardev/
H A Dchar-socket.c145 Chardev *chr = CHARDEV(opaque); in tcp_chr_read_poll() local
453 Chardev *chr = CHARDEV(s); in update_disconnected_filename() local
498 Chardev *chr = CHARDEV(opaque); in tcp_chr_read() local
531 Chardev *chr = CHARDEV(opaque); in tcp_chr_hup() local
599 Chardev *chr = CHARDEV(s); in update_ioc_handlers() local
636 Chardev *chr = CHARDEV(opaque); in tcp_chr_connect() local
682 Chardev *chr = CHARDEV(s); in tcp_chr_telnet_init_io() local
775 Chardev *chr = user_data; in tcp_chr_websock_handshake() local
815 Chardev *chr = user_data; in tcp_chr_tls_handshake() local
956 Chardev *chr = CHARDEV(opaque); in tcp_chr_accept() local
[all …]
H A Dchar-mux.c99 static void mux_print_help(Chardev *chr) in mux_print_help()
136 static void mux_chr_be_event(Chardev *chr, QEMUChrEvent event) in mux_chr_be_event()
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() local
265 Chardev *chr = qemu_chr_fe_get_driver(&d->chr); in mux_chr_add_watch() local
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()
370 static void open_muxes(Chardev *chr) in open_muxes()
[all …]
H A Dspice.c20 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
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 Dchar-pty.c63 struct Chardev *chr = CHARDEV(opaque); in pty_chr_timer() local
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()
106 static int char_pty_chr_write(Chardev *chr, const uint8_t *buf, int len) in char_pty_chr_write()
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() local
152 Chardev *chr = CHARDEV(opaque); in pty_chr_read() local
176 static void pty_chr_state(Chardev *chr, int connected) in pty_chr_state()
204 Chardev *chr = CHARDEV(obj); in char_pty_finalize() local
324 static void char_pty_open(Chardev *chr, in char_pty_open()
H A Dchar-win.c31 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 Dchar-fd.c37 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 Dchar.c277 Chardev *chr = CHARDEV(obj); in char_init() local
308 Chardev *chr = CHARDEV(obj); in char_finalize() local
635 Chardev *base = NULL, *chr = NULL; in __qemu_chr_new_from_opts() local
718 Chardev *chr; in __qemu_chr_new() local
788 Chardev *chr = CHARDEV(obj); in qmp_query_chardev_foreach() local
965 bool qemu_chr_has_feature(Chardev *chr, in qemu_chr_has_feature()
984 Chardev *chr = NULL; in chardev_new() local
1019 Chardev *chr; in qemu_chardev_new() local
1088 Chardev *chr, *chr_new; in qmp_chardev_change() local
1183 Chardev *chr; in qmp_chardev_remove() local
[all …]
H A Dchar-udp.c62 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 Dchar-parallel.c73 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 Dchar-win-stdio.c49 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 Dchar-ringbuf.c55 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 Dchar-pipe.c42 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 Dchar-serial.c44 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 Dwctablet.c188 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 Dchardev-internal.h39 CharBackend chr; member
60 #define CHARDEV_IS_MUX(chr) \ argument
H A Dchar-stdio.c59 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 Ddbus-chardev.c37 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 Dcurses.c240 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 Dtpm.h53 #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 Dqtest.c45 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
346 static void qtest_process_command(CharBackend *chr, gchar **words) in qtest_process_command()
785 CharBackend *chr = opaque; in qtest_read() local
834 Chardev *chr; in qtest_server_init() local
860 Chardev *chr = q->chr; in qtest_server_start() local
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-char.c84 Chardev *chr; in char_console_test_subprocess() local
108 Chardev *chr; in char_stdio_test_subprocess() local
133 Chardev *chr; in char_ringbuf_test() local
470 Chardev *chr; in char_pipe_test() local
533 Chardev *chr; member
576 Chardev *chr; in char_udp_test_internal() local
769 Chardev *chr; in char_socket_server_test() local
959 Chardev *chr; in char_socket_client_test() local
1105 Chardev *chr; in char_socket_server_two_clients_test() local
1190 Chardev *chr; in char_serial_test() local
[all …]
/openbmc/qemu/net/
H A Dvhost-user.c26 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 Drng-egd.c27 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 Dcryptodev-vhost-user.c49 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 Dvhost-user.c129 Chardev *chr; in set_chardev() local
157 Chardev *chr = qemu_chr_fe_get_driver(&b->chr); in get_chardev() local

123456