Home
last modified time | relevance | path

Searched refs:max_nr_ports (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/hw/char/
H A Dvirtio-serial-bus.c561 if (vser->bus.max_nr_ports > 1) { in get_features()
576 config->max_nr_ports = virtio_tswap32(vdev, in get_config()
668 unsigned int i, max_nr_ports; in virtio_serial_save_device() local
675 qemu_put_be32(f, config.max_nr_ports); in virtio_serial_save_device()
678 max_nr_ports = s->serial.max_virtserial_ports; in virtio_serial_save_device()
679 for (i = 0; i < DIV_ROUND_UP(max_nr_ports, 32); i++) { in virtio_serial_save_device()
802 uint32_t max_nr_ports, nr_active_ports, ports_map; in virtio_serial_load_device() local
812 max_nr_ports = s->serial.max_virtserial_ports; in virtio_serial_load_device()
813 for (i = 0; i < DIV_ROUND_UP(max_nr_ports, 32); i++) { in virtio_serial_load_device()
871 unsigned int i, max_nr_ports; in find_free_port_id() local
[all …]
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_console.h52 __virtio32 max_nr_ports; member
/openbmc/linux/include/uapi/linux/
H A Dvirtio_console.h52 __virtio32 max_nr_ports; member
/openbmc/linux/drivers/char/
H A Dvirtio_console.c137 u32 max_nr_ports; member
1588 portdev->max_nr_ports) { in handle_control_message()
1592 cpkt->id, portdev->max_nr_ports - 1); in handle_control_message()
1845 nr_ports = portdev->max_nr_ports; in init_vqs()
2037 portdev->max_nr_ports = 1; in virtcons_probe()
2042 struct virtio_console_config, max_nr_ports, in virtcons_probe()
2043 &portdev->max_nr_ports) == 0) { in virtcons_probe()
2044 if (portdev->max_nr_ports == 0 || in virtcons_probe()
2045 portdev->max_nr_ports > VIRTCONS_MAX_PORTS) { in virtcons_probe()
2048 portdev->max_nr_ports); in virtcons_probe()
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-serial.h157 uint32_t max_nr_ports; member