Home
last modified time | relevance | path

Searched refs:chr_can_read (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/hw/char/
H A Dvirtio-console.c134 static int chr_can_read(void *opaque) in chr_can_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.c55 static int chr_can_read(void *opaque) in DECLARE_INSTANCE_CHECKER()
235 qemu_chr_fe_set_handlers(&scon->chr, chr_can_read, in console_init()
H A Dsclpconsole-lm.c69 static int chr_can_read(void *opaque) in DECLARE_INSTANCE_CHECKER()
320 qemu_chr_fe_set_handlers(&scon->chr, chr_can_read, in console_init()
/openbmc/qemu/chardev/
H A Dchar-mux.c197 be->chr_can_read && be->chr_can_read(be->opaque)) { in mux_chr_accept_input()
213 if (be && be->chr_can_read) { in mux_chr_can_read()
214 return be->chr_can_read(be->opaque); in mux_chr_can_read()
233 be && be->chr_can_read && in mux_chr_read()
234 be->chr_can_read(be->opaque)) { in mux_chr_read()
H A Dchar-fe.c273 b->chr_can_read = fd_can_read; in qemu_chr_fe_set_handlers_full()
H A Dchar.c202 if (!be || !be->chr_can_read) { in qemu_chr_be_can_write()
206 return be->chr_can_read(be->opaque); in qemu_chr_be_can_write()
/openbmc/qemu/include/chardev/
H A Dchar-fe.h19 IOCanReadHandler *chr_can_read; member
/openbmc/qemu/tests/qtest/
H A Dvhost-user-test.c327 static int chr_can_read(void *opaque) in chr_can_read() function
626 qemu_chr_fe_set_handlers(&server->chr, chr_can_read, chr_read, in test_server_create_chr()