Home
last modified time | relevance | path

Searched refs:ehci (Results 1 – 22 of 22) sorted by relevance

/qemu/hw/usb/
H A Dhcd-ehci.c549 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 Dhcd-ehci-pci.c36 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 Dhcd-ehci-sysbus.c28 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 Dchipidea.c94 EHCIState *ehci = &SYS_BUS_EHCI(obj)->ehci; in chipidea_init() local
141 memory_region_add_subregion(&ehci->mem, in chipidea_init()
H A Dhcd-ehci.h233 EHCIState *ehci; member
338 EHCIState ehci; member
358 EHCIState ehci; member
H A Dmeson.build19 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 Dtrace-events78 # hcd-ehci.c
/qemu/docs/config/
H A Dich9-ehci-uhci.cfg9 # 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 Dq35-emulated.cfg169 [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 Dallwinner-a10.c87 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 Dallwinner-r40.c296 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 Dnpcm7xx.c444 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 Daspeed_ast2400.c198 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 Daspeed_ast2600.c205 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 Dusb.rst52 ``-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 Dallwinner-a10.h48 EHCISysBusState ehci[AW_A10_NUM_USB]; member
H A Dallwinner-r40.h122 EHCISysBusState ehci[AW_R40_NUM_USB]; member
H A Dnpcm7xx.h104 EHCISysBusState ehci; member
H A Daspeed_soc.h74 EHCISysBusState ehci[ASPEED_EHCIS_NUM]; member
/qemu/hw/i386/
H A Dpc_q35.c94 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 Dcanyonlands.dts166 USB0: ehci@bffd0400 {
167 compatible = "ibm,usb-ehci-460ex", "usb-ehci";
/qemu/tests/qtest/
H A Dmeson.build80 config_all_devices.has_key('CONFIG_USB_EHCI') ? ['usb-hcd-ehci-test'] : []) + \