Searched refs:VirtIOSerialPort (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/include/hw/virtio/ |
H A D | virtio-serial.h | 29 OBJECT_DECLARE_TYPE(VirtIOSerialPort, VirtIOSerialPortClass, 57 void (*set_guest_connected)(VirtIOSerialPort *port, int guest_connected); 60 void (*enable_backend)(VirtIOSerialPort *port, bool enable); 63 void (*guest_ready)(VirtIOSerialPort *port); 74 void (*guest_writable)(VirtIOSerialPort *port); 81 ssize_t (*have_data)(VirtIOSerialPort *port, const uint8_t *buf, 91 struct VirtIOSerialPort { struct 94 QTAILQ_ENTRY(VirtIOSerialPort) next; argument 164 VirtIOSerialPort *port; argument 178 QTAILQ_HEAD(, VirtIOSerialPort) ports; [all …]
|
/openbmc/qemu/hw/char/ |
H A D | virtio-serial-bus.c | 39 static VirtIOSerialPort *find_port_by_id(VirtIOSerial *vser, uint32_t id) in find_port_by_id() 41 VirtIOSerialPort *port; in find_port_by_id() 54 static VirtIOSerialPort *find_port_by_vq(VirtIOSerial *vser, VirtQueue *vq) in find_port_by_vq() 56 VirtIOSerialPort *port; in find_port_by_vq() 65 static VirtIOSerialPort *find_port_by_name(char *name) in find_port_by_name() 70 VirtIOSerialPort *port; in find_port_by_name() 81 static VirtIOSerialPort *find_first_connected_console(VirtIOSerial *vser) in find_first_connected_console() 83 VirtIOSerialPort *port; in find_first_connected_console() 100 static size_t write_to_port(VirtIOSerialPort *port, in write_to_port() 151 static void discard_throttle_data(VirtIOSerialPort *port) in discard_throttle_data() [all …]
|
H A D | virtio-console.c | 31 VirtIOSerialPort parent_obj; 52 static ssize_t flush_buf(VirtIOSerialPort *port, in flush_buf() 111 static void set_guest_connected(VirtIOSerialPort *port, int guest_connected) in set_guest_connected() 126 static void guest_writable(VirtIOSerialPort *port) in guest_writable() 145 VirtIOSerialPort *port = VIRTIO_SERIAL_PORT(vcon); in chr_read() 154 VirtIOSerialPort *port = VIRTIO_SERIAL_PORT(vcon); in chr_event() 179 VirtIOSerialPort *port = VIRTIO_SERIAL_PORT(vcon); in chr_be_change() 200 static void virtconsole_enable_backend(VirtIOSerialPort *port, bool enable) in virtconsole_enable_backend() 222 VirtIOSerialPort *port = VIRTIO_SERIAL_PORT(dev); in virtconsole_realize()
|