Home
last modified time | relevance | path

Searched refs:chr_read (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/hw/char/
H A Dvirtio-console.c142 static void chr_read(void *opaque, const uint8_t *buf, int size) in chr_read() function
183 qemu_chr_fe_set_handlers(&vcon->chr, chr_can_read, chr_read, in chr_be_change()
186 qemu_chr_fe_set_handlers(&vcon->chr, chr_can_read, chr_read, in chr_be_change()
211 qemu_chr_fe_set_handlers(&vcon->chr, chr_can_read, chr_read, in virtconsole_enable_backend()
243 qemu_chr_fe_set_handlers(&vcon->chr, chr_can_read, chr_read, in virtconsole_realize()
248 qemu_chr_fe_set_handlers(&vcon->chr, chr_can_read, chr_read, in virtconsole_realize()
H A Dsclpconsole.c67 static void chr_read(void *opaque, const uint8_t *buf, int size) in chr_read() function
236 chr_read, NULL, NULL, scon, NULL, true); in console_init()
H A Dsclpconsole-lm.c79 static void chr_read(void *opaque, const uint8_t *buf, int size) in chr_read() function
321 chr_read, NULL, NULL, scon, NULL, true); in console_init()
/openbmc/qemu/hw/virtio/
H A Dvirtio-rng.c47 static void chr_read(void *opaque, const void *buf, size_t size) in chr_read() function
121 rng_backend_request_entropy(vrng->rng, size, chr_read, vrng); in virtio_rng_process()
/openbmc/qemu/include/chardev/
H A Dchar-fe.h20 IOReadHandler *chr_read; member
/openbmc/qemu/chardev/
H A Dchar-mux.c207 be->chr_read(be->opaque, in mux_chr_accept_input()
244 be->chr_read(be->opaque, &buf[i], 1); in mux_chr_read()
H A Dchar-fe.c267 b->chr_read = fd_read; in qemu_chr_fe_set_handlers_full()
H A Dchar.c213 if (be && be->chr_read) { in qemu_chr_be_write_impl()
214 be->chr_read(be->opaque, buf, len); in qemu_chr_be_write_impl()
/openbmc/qemu/tests/qtest/
H A Dvhost-user-test.c332 static void chr_read(void *opaque, const uint8_t *buf, int size) in chr_read() function
626 qemu_chr_fe_set_handlers(&server->chr, chr_can_read, chr_read, in test_server_create_chr()