/qemu/net/ |
H A D | hub.c | 43 QLIST_HEAD(, NetHubPort) ports; 53 QLIST_FOREACH(port, &hub->ports, next) { in net_hub_receive() 69 QLIST_FOREACH(port, &hub->ports, next) { in net_hub_receive_iov() 86 QLIST_INIT(&hub->ports); in net_hub_new() 99 QLIST_FOREACH(port, &hub->ports, next) { in net_hub_port_can_receive() 163 QLIST_INSERT_HEAD(&hub->ports, port, next); in net_hub_port_new() 207 QLIST_FOREACH(port, &hub->ports, next) { in net_hub_port_find() 231 QLIST_FOREACH(port, &hub->ports, next) { in net_hub_info() 302 QLIST_FOREACH(port, &hub->ports, next) { in net_hub_check_clients() 341 QLIST_FOREACH(port, &source_port->hub->ports, next) { in net_hub_flush()
|
/qemu/hw/usb/ |
H A D | xen-usb.c | 405 usbback_req->stub = usbif->ports + in usbback_process_unlink_req() 711 if (!usbif->ports[port - 1].attached) { in usbback_portid_detach() 723 if (!usbif->ports[port - 1].dev) { in usbback_portid_remove() 728 usbif->ports[port - 1].dev = NULL; in usbback_portid_remove() 744 if (usbif->ports[port - 1].dev) { in usbback_portid_add() 770 if (!usbif->ports[port - 1].dev) { in usbback_portid_add() 798 usbif->ports[port - 1].dev = NULL; in usbback_portid_add() 802 usbif->ports[port - 1].speed = speed; in usbback_portid_add() 853 if (usbif->ports[i].dev) { in usbback_disconnect() 915 if (usbif->ports[i - 1].dev) { in usbback_connect() [all …]
|
H A D | dev-hub.c | 51 USBHubPort ports[MAX_PORTS]; member 230 USBHubPort *port = &s->ports[port1->index]; in usb_hub_attach() 240 USBHubPort *port = &s->ports[port1->index]; in usb_hub_detach() 265 USBHubPort *port = &s->ports[port1->index]; in usb_hub_wakeup() 297 port = &s->ports[i]; in usb_hub_find_device() 317 port = s->ports + i; in usb_hub_handle_reset() 384 port = &s->ports[n]; in usb_hub_handle_control() 413 port = &s->ports[n]; in usb_hub_handle_control() 451 port = &s->ports[n]; in usb_hub_handle_control() 544 port = &s->ports[i]; in usb_hub_handle_data() [all …]
|
H A D | hcd-uhci.c | 326 port = &s->ports[i]; in uhci_reset() 408 port = &s->ports[i]; in uhci_port_write() 420 if ((s->ports[0].ctrl & UHCI_PORT_RD) || in uhci_port_write() 463 port = &s->ports[n]; in uhci_port_write() 520 port = &s->ports[n]; in uhci_port_read() 553 UHCIPort *port = &s->ports[port1->index]; in uhci_attach() 571 UHCIPort *port = &s->ports[port1->index]; in uhci_detach() 599 UHCIPort *port = &s->ports[port1->index]; in uhci_wakeup() 613 UHCIPort *port = &s->ports[i]; in uhci_find_device() 1176 USBPort *ports[UHCI_PORTS]; in usb_uhci_common_realize() local [all …]
|
H A D | hcd-ehci.c | 804 s->ports[firstport + i].speedmask |= in ehci_register_companion() 835 port = &ehci->ports[i]; in ehci_find_device() 862 devs[i] = s->ports[i].dev; in ehci_reset() 864 usb_detach(&s->ports[i]); in ehci_reset() 887 usb_attach(&s->ports[i]); in ehci_reset() 941 USBDevice *dev = s->ports[port].dev; in handle_port_owner_write() 956 usb_detach(&s->ports[port]); in handle_port_owner_write() 963 usb_attach(&s->ports[port]); in handle_port_owner_write() 974 USBDevice *dev = s->ports[port].dev; in ehci_port_write() 994 usb_port_reset(&s->ports[port]); in ehci_port_write() [all …]
|
/qemu/system/ |
H A D | ioport.c | 40 MemoryRegionPortio *ports; member 132 piolist->ports = callbacks; in portio_list_init() 167 for (mrp = mrpio->ports; mrp->size; ++mrp) { in find_portio() 241 mrpio->ports = g_malloc0(sizeof(MemoryRegionPortio) * (count + 1)); in portio_list_add_1() 242 memcpy(mrpio->ports, pio_init, sizeof(MemoryRegionPortio) * count); in portio_list_add_1() 243 memset(mrpio->ports + count, 0, sizeof(MemoryRegionPortio)); in portio_list_add_1() 247 mrpio->ports[i].offset -= off_low; in portio_list_add_1() 282 const MemoryRegionPortio *pio, *pio_start = piolist->ports; in portio_list_add() 345 for (j = 0; mrpio->ports[j].size; ++j) { in portio_list_set_address() 346 mrpio->ports[j].offset += addr - piolist->addr; in portio_list_set_address() [all …]
|
/qemu/tests/docker/dockerfiles/ |
H A D | debian-riscv64-cross.docker | 47 eatmydata apt-get install debian-ports-archive-keyring && \ 48 …eatmydata echo 'deb http://ftp.ports.debian.org/debian-ports/ sid main' > /etc/apt/sources.list.d/… 49 …eatmydata echo 'deb http://ftp.ports.debian.org/debian-ports/ unreleased main' >> /etc/apt/sources…
|
/qemu/hw/char/ |
H A D | serial-pci-multi.c | 44 uint32_t ports; member 58 for (i = 0; i < pci->ports; i++) { in multi_serial_pci_exit() 64 qemu_free_irqs(pci->irqs, pci->ports); in multi_serial_pci_exit() 73 for (i = 0; i < pci->ports; i++) { in multi_serial_irq_mux() 118 pci->ports++; in multi_serial_pci_realize()
|
H A D | virtio-serial-bus.c | 47 QTAILQ_FOREACH(port, &vser->ports, next) { in find_port_by_id() 58 QTAILQ_FOREACH(port, &vser->ports, next) { in find_port_by_vq() 72 QTAILQ_FOREACH(port, &vser->ports, next) { in find_port_by_name() 85 QTAILQ_FOREACH(port, &vser->ports, next) { in find_first_connected_console() 378 QTAILQ_FOREACH(port, &vser->ports, next) { in handle_control_message() 611 QTAILQ_FOREACH(port, &vser->ports, next) { in guest_reset() 647 QTAILQ_FOREACH(port, &vser->ports, next) { in set_status() 686 QTAILQ_FOREACH(port, &s->ports, next) { in virtio_serial_save_device() 695 QTAILQ_FOREACH(port, &s->ports, next) { in virtio_serial_save_device() 1016 QTAILQ_REMOVE(&vser->ports, port, next); in virtser_port_device_unrealize() [all …]
|
/qemu/audio/ |
H A D | jackaudio.c | 378 const char **ports; in qjack_client_connect_ports() local 379 ports = jack_get_ports(c->client, c->opt->connect_ports, NULL, in qjack_client_connect_ports() 382 if (!ports) { in qjack_client_connect_ports() 386 for (int i = 0; i < c->nchannels && ports[i]; ++i) { in qjack_client_connect_ports() 388 if (jack_port_connected_to(c->port[i], ports[i])) { in qjack_client_connect_ports() 393 dolog("connect %s -> %s\n", p, ports[i]); in qjack_client_connect_ports() 394 jack_connect(c->client, p, ports[i]); in qjack_client_connect_ports() 396 dolog("connect %s -> %s\n", ports[i], p); in qjack_client_connect_ports() 397 jack_connect(c->client, ports[i], p); in qjack_client_connect_ports()
|
/qemu/hw/arm/ |
H A D | mps2-tz.c | 936 .ports = { in mps2tz_common_init() 943 .ports = { in mps2tz_common_init() 965 .ports = { in mps2tz_common_init() 973 .ports = { in mps2tz_common_init() 983 .ports = { in mps2tz_common_init() 994 .ports = { in mps2tz_common_init() 1001 .ports = { in mps2tz_common_init() 1019 .ports = { in mps2tz_common_init() 1037 .ports = { in mps2tz_common_init() 1049 .ports = { in mps2tz_common_init() [all …]
|
H A D | musca.c | 134 PPCPortInfo ports[TZ_NUM_PORTS]; member 449 .ports = { in musca_init() 462 .ports = { in musca_init() 483 .ports = { in musca_init() 501 .ports = { in musca_init() 534 const PPCPortInfo *pinfo = &ppcinfo->ports[port]; in musca_init() 552 const PPCPortInfo *pinfo = &ppcinfo->ports[port]; in musca_init()
|
/qemu/docs/specs/ |
H A D | standard-vga.rst | 45 IO ports used 51 standard vga ports 83 bochs dispi interface registers, mapped flat without index/data ports.
|
H A D | rocker.txt | 360 The switch supports up to 62 physical (front-panel) ports. Register 361 PORT_PHYS_COUNT returns the actual number of physical ports available: 365 In addition to front-panel ports, the switch supports logical ports for 368 Front-panel ports and logical tunnel ports are mapped into a single 32-bit port 371 tunnel ports are assigned ports 0x0001000-0x0001ffff. 377 1-62 front-panel physical ports 380 0x00010000-0x0001ffff logical tunnel ports 386 Switch front-panel ports operate in a mode. Currently, the only mode is 389 set/get the mode for front-panel ports, see port settings, below. 445 Value is bitmap of first 64 ports. Bits 0 and 63 are ignored [all …]
|
/qemu/docs/system/ |
H A D | target-i386-desc.rst.inc | 16 - Serial ports 49 Note that, by default, GUS shares IRQ(7) with parallel ports and so QEMU 50 must be told to not have parallel ports to have working GUS.
|
H A D | replay.rst | 30 input devices, serial ports, and network. 66 * Interaction with audio devices and serial ports are recorded and replayed 186 Serial ports 189 Serial ports input is recorded and replay automatically. The command lines 190 for recording and replaying must contain identical number of ports in record
|
/qemu/hw/ide/ |
H A D | ahci.c | 216 for (i = 0; i < s->ports; i++) { in ahci_check_irq() 581 s->control_regs.cap = (s->ports - 1) | in ahci_reg_init() 586 s->control_regs.impl = (1 << s->ports) - 1; in ahci_reg_init() 590 for (i = 0; i < s->ports; i++) { in ahci_reg_init() 1624 assert(s->ports > 0); in ahci_realize() 1625 s->dev = g_new0(AHCIDevice, s->ports); in ahci_realize() 1628 for (i = 0; i < s->ports; i++) { in ahci_realize() 1647 for (i = 0; i < s->ports; i++) { in ahci_uninit() 1677 for (i = 0; i < s->ports; i++) { in ahci_reset() 1741 for (i = 0; i < s->ports; i++) { in ahci_state_post_load() [all …]
|
/qemu/qapi/ |
H A D | rocker.json | 17 # @ports: number of front-panel ports 22 'data': { 'name': 'str', 'id': 'uint64', 'ports': 'uint32' } } 93 # @query-rocker-ports: 110 { 'command': 'query-rocker-ports',
|
/qemu/tests/avocado/ |
H A D | migration.py | 19 from avocado.utils.network import ports 62 port = ports.find_free_port()
|
/qemu/docs/ |
H A D | pcie.txt | 35 PCI Express Downstream ports. 173 The PCI Express Root Ports and PCI Express Downstream ports are seen by 185 The IO space is very limited, to 65536 byte-wide IO ports, and may even be 186 fragmented by fixed IO ports owned by platform devices resulting in at most 193 without using IO ports. The PCI hierarchy has no such limitations. 203 PCI Express Root Ports, PCI Express Downstream/Upstream ports) 256 PCI Express Root Ports (up to 8 ports per pcie.0 slot) 304 Virtio devices plugged into PCI Express ports are PCI Express devices and
|
H A D | pcie_pci_bridge.txt | 87 - Root ports: 1 QEMU generic root port with the capability mentioned above, 88 2 QEMU generic root ports without this capability; 89 - 2 PCIE-PCI bridges plugged into 2 different root ports;
|
/qemu/include/hw/ide/ |
H A D | ahci.h | 48 uint32_t ports; member
|
/qemu/tests/rocker/ |
H A D | bridge-vlan | 21 # add both ports to VLAN 57 34 # bring up bridge and ports
|
/qemu/docs/system/arm/ |
H A D | gumstix.rst | 18 * Synchronous serial ports (SPI)
|
/qemu/include/hw/xen/interface/ |
H A D | sched.h | 125 XEN_GUEST_HANDLE(evtchn_port_t) ports;
|