Home
last modified time | relevance | path

Searched refs:numintrs (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/hw/usb/
H A Dhcd-xhci-sysbus.c43 s->irq = g_new0(qemu_irq, s->xhci.numintrs); in xhci_sysbus_realize()
45 s->xhci.numintrs); in xhci_sysbus_realize()
86 DEFINE_PROP_UINT32("intrs", XHCISysbusState, xhci.numintrs, XHCI_MAXINTRS),
H A Dhcd-xhci-pci.c98 for (intr = 0; intr < s->xhci.numintrs; intr++) { in xhci_pci_vmstate_post_load()
130 ret = msi_init(dev, 0x70, s->xhci.numintrs, true, false, &err); in usb_xhci_pci_realize()
159 msix_init(dev, s->xhci.numintrs, in usb_xhci_pci_realize()
244 xhci->numintrs = XHCI_MAXINTRS; in qemu_xhci_instance_init()
H A Dhcd-xhci-nec.c55 pci->xhci.numintrs = nec->intrs; in nec_xhci_instance_init()
H A Dhcd-xhci.h190 uint32_t numintrs; member
H A Dhcd-xhci.c647 if (v >= xhci->numintrs) { in xhci_event()
648 DPRINTF("intr nr out of range (%d >= %d)\n", v, xhci->numintrs); in xhci_event()
2714 for (i = 0; i < xhci->numintrs; i++) { in xhci_reset()
2744 | (xhci->numintrs<<8) | xhci->numslots; in xhci_cap_read()
3367 if (xhci->numintrs > XHCI_MAXINTRS) { in usb_xhci_realize()
3368 xhci->numintrs = XHCI_MAXINTRS; in usb_xhci_realize()
3370 while (xhci->numintrs & (xhci->numintrs - 1)) { /* ! power of 2 */ in usb_xhci_realize()
3371 xhci->numintrs++; in usb_xhci_realize()
3373 if (xhci->numintrs < 1) { in usb_xhci_realize()
3374 xhci->numintrs = 1; in usb_xhci_realize()
[all …]
/openbmc/qemu/hw/intc/
H A Dmips_gic.c359 int numintrs = (gic->num_irq / 8) - 1; in gic_reset() local
364 (numintrs << GIC_SH_CONFIG_NUMINTRS_SHF) | in gic_reset()