Searched refs:chr_read (Results 1 – 9 of 9) sorted by relevance
/openbmc/qemu/hw/char/ |
H A D | virtio-console.c | 142 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 D | sclpconsole.c | 67 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 D | sclpconsole-lm.c | 79 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 D | virtio-rng.c | 47 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 D | char-fe.h | 20 IOReadHandler *chr_read; member
|
/openbmc/qemu/chardev/ |
H A D | char-mux.c | 207 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 D | char-fe.c | 267 b->chr_read = fd_read; in qemu_chr_fe_set_handlers_full()
|
H A D | char.c | 213 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 D | vhost-user-test.c | 332 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()
|