/qemu/hw/usb/ |
H A D | hcd-xhci.c | 272 XHCIState *xhci; member 305 static void xhci_kick_ep(XHCIState *xhci, unsigned int slotid, 308 static TRBCCode xhci_disable_ep(XHCIState *xhci, unsigned int slotid, 311 static void xhci_event(XHCIState *xhci, XHCIEvent *event, int v); 312 static void xhci_write_event(XHCIState *xhci, XHCIEvent *event, int v); 425 bool xhci_get_flag(XHCIState *xhci, enum xhci_flags bit) in xhci_get_flag() argument 427 return xhci->flags & (1 << bit); in xhci_get_flag() 430 void xhci_set_flag(XHCIState *xhci, enum xhci_flags bit) in xhci_set_flag() argument 432 xhci->flags |= (1 << bit); in xhci_set_flag() 435 static uint64_t xhci_mfindex_get(XHCIState *xhci) in xhci_mfindex_get() argument [all …]
|
H A D | hcd-xhci-pci.c | 38 static void xhci_pci_intr_update(XHCIState *xhci, int n, bool enable) in xhci_pci_intr_update() argument 40 XHCIPciState *s = container_of(xhci, XHCIPciState, xhci); in xhci_pci_intr_update() 46 if (enable == !!xhci->intr[n].msix_used) { in xhci_pci_intr_update() 52 xhci->intr[n].msix_used = true; in xhci_pci_intr_update() 56 xhci->intr[n].msix_used = false; in xhci_pci_intr_update() 60 static bool xhci_pci_intr_raise(XHCIState *xhci, int n, bool level) in xhci_pci_intr_raise() argument 62 XHCIPciState *s = container_of(xhci, XHCIPciState, xhci); in xhci_pci_intr_raise() 85 static bool xhci_pci_intr_mapping_conditional(XHCIState *xhci) in xhci_pci_intr_mapping_conditional() argument 87 XHCIPciState *s = container_of(xhci, XHCIPciState, xhci); in xhci_pci_intr_mapping_conditional() 104 device_cold_reset(DEVICE(&s->xhci)); in xhci_pci_reset() [all …]
|
H A D | hcd-xhci-sysbus.c | 19 static bool xhci_sysbus_intr_raise(XHCIState *xhci, int n, bool level) in xhci_sysbus_intr_raise() argument 21 XHCISysbusState *s = container_of(xhci, XHCISysbusState, xhci); in xhci_sysbus_intr_raise() 32 device_cold_reset(DEVICE(&s->xhci)); in xhci_sysbus_reset() 39 object_property_set_link(OBJECT(&s->xhci), "host", OBJECT(s), NULL); in xhci_sysbus_realize() 40 if (!qdev_realize(DEVICE(&s->xhci), NULL, errp)) { in xhci_sysbus_realize() 43 s->irq = g_new0(qemu_irq, s->xhci.numintrs); in xhci_sysbus_realize() 45 s->xhci.numintrs); in xhci_sysbus_realize() 46 if (s->xhci.dma_mr) { in xhci_sysbus_realize() 47 s->xhci.as = g_malloc0(sizeof(AddressSpace)); in xhci_sysbus_realize() 48 address_space_init(s->xhci.as, s->xhci.dma_mr, NULL); in xhci_sysbus_realize() [all …]
|
H A D | hcd-xhci-nec.c | 49 pci->xhci.numintrs = nec->intrs; in nec_xhci_instance_init() 50 pci->xhci.numslots = nec->slots; in nec_xhci_instance_init()
|
H A D | hcd-xhci.h | 124 XHCIState *xhci; member 229 bool xhci_get_flag(XHCIState *xhci, enum xhci_flags bit); 230 void xhci_set_flag(XHCIState *xhci, enum xhci_flags bit);
|
H A D | meson.build | 22 system_ss.add(when: 'CONFIG_USB_XHCI', if_true: files('hcd-xhci.c')) 23 system_ss.add(when: 'CONFIG_USB_XHCI_PCI', if_true: files('hcd-xhci-pci.c')) 24 system_ss.add(when: 'CONFIG_USB_XHCI_SYSBUS', if_true: files('hcd-xhci-sysbus.c')) 25 system_ss.add(when: 'CONFIG_USB_XHCI_NEC', if_true: files('hcd-xhci-nec.c'))
|
H A D | hcd-xhci-sysbus.h | 26 XHCIState xhci; member
|
H A D | hcd-xhci-pci.h | 40 XHCIState xhci; member
|
H A D | trace-events | 141 # hcd-xhci.c
|
/qemu/docs/ |
H A D | multiseat.txt | 32 -device nec-usb-xhci,bus=head.2,addr=0f.0,id=usb.2 \ 37 xhci (usb) controller to the bridge. Then it adds a usb keyboard and 38 usb mouse, both connected to the xhci and linked to the display. 52 ... instead of xhci and usb hid devices.
|
/qemu/docs/system/devices/ |
H A D | usb.rst | 21 |qemu_system| -device qemu-xhci 124 -device nec-usb-xhci,id=xhci \\ 125 -device usb-storage,bus=xhci.0,drive=stick 141 -device nec-usb-xhci,id=xhci \\ 142 -device usb-uas,id=uas,bus=xhci.0 \\
|
/qemu/docs/specs/ |
H A D | pci-ids.rst | 88 PCI xhci usb host adapter
|
/qemu/tests/qtest/ |
H A D | meson.build | 82 (config_all_devices.has_key('CONFIG_USB_XHCI_NEC') ? ['usb-hcd-xhci-test'] : []) + \ 189 (config_all_devices.has_key('CONFIG_USB_XHCI_NEC') ? ['usb-hcd-xhci-test'] : []) + \
|
/qemu/docs/config/ |
H A D | q35-virtio-graphical.cfg | 202 driver = "nec-usb-xhci"
|
H A D | mach-virt-graphical.cfg | 250 driver = "nec-usb-xhci"
|
/qemu/docs/system/ppc/ |
H A D | powernv.rst | 128 -device nec-usb-xhci,bus=bridge1,addr=0x7 \
|
/qemu/docs/devel/testing/ |
H A D | fuzzing.rst | 244 export CRASH_TOKEN="hw/usb/hcd-xhci.c:1865"
|
/qemu/ |
H A D | qemu-options.hx | 2039 ``-device qemu-xhci`` can be used instead on machines with PCI. 2054 ``-device qemu-xhci -device usb-mouse`` to connect the USB mouse
|