Home
last modified time | relevance | path

Searched refs:CharBackend (Results 1 – 25 of 81) sorted by relevance

1234

/openbmc/qemu/include/chardev/
H A Dchar-fe.h16 struct CharBackend { struct
47 void qemu_chr_fe_deinit(CharBackend *b, bool del);
58 Chardev *qemu_chr_fe_get_driver(CharBackend *be);
65 bool qemu_chr_fe_backend_connected(CharBackend *be);
72 bool qemu_chr_fe_backend_open(CharBackend *be);
94 void qemu_chr_fe_set_handlers_full(CharBackend *b,
109 void qemu_chr_fe_set_handlers(CharBackend *b,
125 void qemu_chr_fe_take_focus(CharBackend *b);
132 void qemu_chr_fe_accept_input(CharBackend *be);
140 void qemu_chr_fe_disconnect(CharBackend *be);
[all …]
H A Dchar.h18 typedef struct CharBackend CharBackend; typedef
63 CharBackend *be;
/openbmc/qemu/chardev/
H A Dchar-fe.c112 int qemu_chr_fe_get_msgfd(CharBackend *be) in qemu_chr_fe_get_msgfd()
149 void qemu_chr_fe_accept_input(CharBackend *be) in qemu_chr_fe_accept_input()
175 Chardev *qemu_chr_fe_get_driver(CharBackend *be) in qemu_chr_fe_get_driver()
182 bool qemu_chr_fe_backend_connected(CharBackend *be) in qemu_chr_fe_backend_connected()
187 bool qemu_chr_fe_backend_open(CharBackend *be) in qemu_chr_fe_backend_open()
217 void qemu_chr_fe_deinit(CharBackend *b, bool del) in qemu_chr_fe_deinit()
242 void qemu_chr_fe_set_handlers_full(CharBackend *b, in qemu_chr_fe_set_handlers_full()
288 void qemu_chr_fe_set_handlers(CharBackend *b, in qemu_chr_fe_set_handlers()
302 void qemu_chr_fe_take_focus(CharBackend *b) in qemu_chr_fe_take_focus()
323 void qemu_chr_fe_set_echo(CharBackend *be, bool echo) in qemu_chr_fe_set_echo()
[all …]
H A Dchardev-internal.h38 CharBackend *backends[MAX_MUX];
39 CharBackend chr;
62 bool mux_chr_attach_frontend(MuxChardev *d, CharBackend *b,
H A Dchar-mux.c131 CharBackend *be = d->backends[mux_nr]; in mux_chr_send_event()
203 CharBackend *be = d->backends[m]; in mux_chr_accept_input()
216 CharBackend *be = d->backends[m]; in mux_chr_can_read()
234 CharBackend *be = d->backends[m]; in mux_chr_read()
292 CharBackend *be = d->backends[bit]; in char_mux_finalize()
314 bool mux_chr_attach_frontend(MuxChardev *d, CharBackend *b, in mux_chr_attach_frontend()
/openbmc/qemu/include/sysemu/
H A Dqtest.h27 void qtest_send_prefix(CharBackend *chr);
28 void G_GNUC_PRINTF(2, 3) qtest_sendf(CharBackend *chr, const char *fmt, ...);
29 void qtest_set_command_cb(bool (*pc_cb)(CharBackend *chr, gchar **words));
H A Dvhost-user-backend.h35 CharBackend chr;
/openbmc/qemu/include/hw/virtio/
H A Dvhost-user.h67 CharBackend *chr;
85 bool vhost_user_init(VhostUserState *user, CharBackend *chr, Error **errp);
111 CharBackend *chardev, struct vhost_dev *vhost,
H A Dvhost-user-vsock.h23 CharBackend chardev;
H A Dvhost-user-scmi.h21 CharBackend chardev;
H A Dvhost-user-fs.h27 CharBackend chardev;
H A Dvhost-user-blk.h32 CharBackend chardev;
H A Dvhost-user-base.h23 CharBackend chardev;
/openbmc/qemu/system/
H A Dqtest.c46 CharBackend qtest_chr;
263 void qtest_send_prefix(CharBackend *chr) in qtest_send_prefix()
290 CharBackend* chr = (CharBackend *)opaque; in qtest_server_char_be_send()
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()
328 static bool (*process_command_cb)(CharBackend *chr, gchar **words);
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()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-char.c110 CharBackend be; in char_stdio_test_subprocess()
135 CharBackend be; in char_ringbuf_test()
434 CharBackend be; in char_websock_test()
493 CharBackend be; in char_pipe_test()
557 CharBackend *be;
599 CharBackend *be; in char_udp_test_internal()
649 CharBackend *be;
792 CharBackend be = {0}; in char_socket_server_test()
1256 CharBackend be; in char_file_fifo_test()
1359 CharBackend be; in char_null_test()
[all …]
/openbmc/qemu/hw/virtio/
H A Dvhost-stub.c15 bool vhost_user_init(VhostUserState *user, CharBackend *chr, Error **errp) in vhost_user_init()
/openbmc/qemu/include/hw/char/
H A Ddigic-uart.h41 CharBackend chr;
H A Dgoldfish_tty.h27 CharBackend chr;
H A Dbcm2835_aux.h27 CharBackend chr;
H A Dparallel.h18 CharBackend chr;
H A Dcadence_uart.h50 CharBackend chr;
H A Dcmsdk-apb-uart.h28 CharBackend chr;
H A Driscv_htif.h39 CharBackend chr;
H A Dshakti_uart.h71 CharBackend chr;
/openbmc/qemu/include/hw/misc/
H A Daspeed_ibt.h27 CharBackend chr;

1234