/qemu/hw/usb/ |
H A D | hcd-ehci.c | 549 EHCIQueueHead *head = async ? &ehci->aqueues : &ehci->pqueues; in ehci_alloc_queue() 553 q->ehci = ehci; in ehci_alloc_queue() 623 EHCIQueueHead *head = async ? &ehci->aqueues : &ehci->pqueues; in ehci_find_queue_by_qh() 636 EHCIQueueHead *head = async ? &ehci->aqueues : &ehci->pqueues; in ehci_queues_rip_unused() 656 EHCIQueueHead *head = async ? &ehci->aqueues : &ehci->pqueues; in ehci_queues_rip_unseen() 668 EHCIQueueHead *head = async ? &ehci->aqueues : &ehci->pqueues; in ehci_queues_rip_device() 1434 qemu_sglist_init(&ehci->isgl, ehci->device, 2, ehci->as); in ehci_process_itd() 2240 if (!ehci_enabled(ehci) && ehci->pstate == EST_INACTIVE) { in ehci_update_frindex() 2261 ehci->frindex = (ehci->frindex + uframes) % 0x4000; in ehci_update_frindex() 2324 } else if (ehci->async_stepdown < ehci->maxframes / 2) { in ehci_work_bh() [all …]
|
H A D | hcd-ehci-pci.c | 36 EHCIState *s = &i->ehci; in usb_ehci_pci_realize() 79 EHCIState *s = &i->ehci; in usb_ehci_pci_init() 98 EHCIState *s = &i->ehci; in usb_ehci_pci_finalize() 106 EHCIState *s = &i->ehci; in usb_ehci_pci_exit() 118 EHCIState *s = &i->ehci; in usb_ehci_pci_reset() 135 i->ehci.as = busmaster ? pci_get_address_space(dev) : &address_space_memory; in usb_ehci_pci_write_config() 139 DEFINE_PROP_UINT32("maxframes", EHCIPCIState, ehci.maxframes, 128), 149 VMSTATE_STRUCT(ehci, EHCIPCIState, 2, vmstate_ehci, EHCIState),
|
H A D | hcd-ehci-sysbus.c | 28 VMSTATE_STRUCT(ehci, EHCISysBusState, 2, vmstate_ehci, EHCIState), 34 DEFINE_PROP_UINT32("maxframes", EHCISysBusState, ehci.maxframes, 128), 35 DEFINE_PROP_BOOL("companion-enable", EHCISysBusState, ehci.companion_enable, 44 EHCIState *s = &i->ehci; in usb_ehci_sysbus_realize() 54 EHCIState *s = &i->ehci; in usb_ehci_sysbus_reset() 64 EHCIState *s = &i->ehci; in ehci_sysbus_init() 79 EHCIState *s = &i->ehci; in ehci_sysbus_finalize() 155 s->ehci.companion_enable = true; in ehci_ppc4xx_init() 215 EHCIState *s = &i->ehci; in fusbh200_ehci_init()
|
H A D | chipidea.c | 94 EHCIState *ehci = &SYS_BUS_EHCI(obj)->ehci; in chipidea_init() local 141 memory_region_add_subregion(&ehci->mem, in chipidea_init()
|
H A D | hcd-ehci.h | 233 EHCIState *ehci; member 338 EHCIState ehci; member 358 EHCIState ehci; member
|
H A D | meson.build | 19 system_ss.add(when: 'CONFIG_USB_EHCI', if_true: files('hcd-ehci.c')) 20 system_ss.add(when: 'CONFIG_USB_EHCI_PCI', if_true: files('hcd-ehci-pci.c')) 21 system_ss.add(when: 'CONFIG_USB_EHCI_SYSBUS', if_true: files('hcd-ehci-sysbus.c'))
|
H A D | trace-events | 78 # hcd-ehci.c
|
/qemu/docs/config/ |
H A D | ich9-ehci-uhci.cfg | 9 # Specify "bus=ehci.0" when creating usb devices to hook them up 13 [device "ehci"] 22 masterbus = "ehci.0" 29 masterbus = "ehci.0" 36 masterbus = "ehci.0"
|
H A D | q35-emulated.cfg | 169 [device "ich9-ehci-1"] 180 masterbus = "ich9-ehci-1.0" 188 masterbus = "ich9-ehci-1.0" 196 masterbus = "ich9-ehci-1.0" 205 [device "ich9-ehci-2"] 216 masterbus = "ich9-ehci-2.0" 224 masterbus = "ich9-ehci-2.0" 232 masterbus = "ich9-ehci-2.0"
|
/qemu/hw/arm/ |
H A D | allwinner-a10.c | 87 object_initialize_child(obj, "ehci[*]", &s->ehci[i], in aw_a10_init() 166 object_property_set_bool(OBJECT(&s->ehci[i]), "companion-enable", in aw_a10_realize() 168 sysbus_realize(SYS_BUS_DEVICE(&s->ehci[i]), &error_fatal); in aw_a10_realize() 169 sysbus_mmio_map(SYS_BUS_DEVICE(&s->ehci[i]), 0, in aw_a10_realize() 171 sysbus_connect_irq(SYS_BUS_DEVICE(&s->ehci[i]), 0, in aw_a10_realize()
|
H A D | allwinner-r40.c | 296 object_initialize_child(obj, "ehci[*]", &s->ehci[i], in allwinner_r40_init() 443 object_property_set_bool(OBJECT(&s->ehci[i]), "companion-enable", true, in allwinner_r40_realize() 445 sysbus_realize(SYS_BUS_DEVICE(&s->ehci[i]), &error_fatal); in allwinner_r40_realize() 446 sysbus_mmio_map(SYS_BUS_DEVICE(&s->ehci[i]), 0, in allwinner_r40_realize() 449 sysbus_connect_irq(SYS_BUS_DEVICE(&s->ehci[i]), 0, in allwinner_r40_realize()
|
H A D | npcm7xx.c | 444 object_initialize_child(obj, "ehci", &s->ehci, TYPE_NPCM7XX_EHCI); in npcm7xx_init() 627 object_property_set_bool(OBJECT(&s->ehci), "companion-enable", true, in npcm7xx_realize() 629 sysbus_realize(SYS_BUS_DEVICE(&s->ehci), &error_abort); in npcm7xx_realize() 630 sysbus_mmio_map(SYS_BUS_DEVICE(&s->ehci), 0, NPCM7XX_EHCI_BA); in npcm7xx_realize() 631 sysbus_connect_irq(SYS_BUS_DEVICE(&s->ehci), 0, in npcm7xx_realize()
|
H A D | aspeed_ast2400.c | 198 object_initialize_child(obj, "ehci[*]", &s->ehci[i], in aspeed_ast2400_soc_init() 387 if (!sysbus_realize(SYS_BUS_DEVICE(&s->ehci[i]), errp)) { in aspeed_ast2400_soc_realize() 390 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->ehci[i]), 0, in aspeed_ast2400_soc_realize() 392 sysbus_connect_irq(SYS_BUS_DEVICE(&s->ehci[i]), 0, in aspeed_ast2400_soc_realize()
|
H A D | aspeed_ast2600.c | 205 object_initialize_child(obj, "ehci[*]", &s->ehci[i], in aspeed_soc_ast2600_init() 475 if (!sysbus_realize(SYS_BUS_DEVICE(&s->ehci[i]), errp)) { in aspeed_soc_ast2600_realize() 478 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->ehci[i]), 0, in aspeed_soc_ast2600_realize() 480 sysbus_connect_irq(SYS_BUS_DEVICE(&s->ehci[i]), 0, in aspeed_soc_ast2600_realize()
|
/qemu/docs/system/devices/ |
H A D | usb.rst | 52 ``-device usb-ehci,id=ehci``. This will give you a USB 2.0 bus named 53 ``ehci.0``. 63 -device usb-ehci,id=ehci \\ 65 -device usb-storage,bus=ehci.0,drive=usbstick 87 |qemu_system| -readconfig docs/config/ich9-ehci-uhci.cfg 89 Then use ``bus=ehci.0`` to assign your USB devices to that bus. 363 -device usb-ehci,id=ehci \\ 365 -device usb-host,bus=ehci.0,hostbus=1,hostport=1
|
/qemu/include/hw/arm/ |
H A D | allwinner-a10.h | 48 EHCISysBusState ehci[AW_A10_NUM_USB]; member
|
H A D | allwinner-r40.h | 122 EHCISysBusState ehci[AW_R40_NUM_USB]; member
|
H A D | npcm7xx.h | 104 EHCISysBusState ehci; member
|
H A D | aspeed_soc.h | 74 EHCISysBusState ehci[ASPEED_EHCIS_NUM]; member
|
/qemu/hw/i386/ |
H A D | pc_q35.c | 94 PCIDevice *ehci, *uhci; in ehci_create_ich9_with_companions() local 112 ehci = pci_new_multifunction(PCI_DEVFN(slot, 7), name); in ehci_create_ich9_with_companions() 113 pci_realize_and_unref(ehci, bus, &error_fatal); in ehci_create_ich9_with_companions() 114 usbbus = QLIST_FIRST(&ehci->qdev.child_bus); in ehci_create_ich9_with_companions()
|
/qemu/pc-bios/ |
H A D | canyonlands.dts | 166 USB0: ehci@bffd0400 { 167 compatible = "ibm,usb-ehci-460ex", "usb-ehci";
|
/qemu/tests/qtest/ |
H A D | meson.build | 80 config_all_devices.has_key('CONFIG_USB_EHCI') ? ['usb-hcd-ehci-test'] : []) + \
|