| /openbmc/qemu/hw/pci/ |
| H A D | slotid_cap.c | 42 d->cap_present |= QEMU_PCI_CAP_SLOTID; in slotid_cap_init() 49 d->cap_present &= ~QEMU_PCI_CAP_SLOTID; in slotid_cap_cleanup()
|
| H A D | pcie.c | 91 if (dev->cap_present & QEMU_PCIE_EXT_TAG) { in pcie_cap_v1_fill() 248 if (dev->cap_present & QEMU_PCIE_EXTCAP_INIT) { in pcie_cap_init() 544 if (pci_dev->cap_present & QEMU_PCIE_LNKSTA_DLLLA || in pcie_cap_slot_plug_cb() 560 if (pci_dev->cap_present & QEMU_PCIE_LNKSTA_DLLLA || in pcie_cap_slot_plug_cb() 599 if (dev->cap_present & QEMU_PCIE_LNKSTA_DLLLA || in pcie_cap_slot_do_unplug() 695 if (dev->cap_present & QEMU_PCIE_SLTCAP_PCP) { in pcie_cap_slot_init() 760 if (dev->cap_present & QEMU_PCIE_SLTCAP_PCP) { in pcie_cap_slot_reset() 1145 uint16_t nextfn = dev->cap_present & QEMU_PCIE_ARI_NEXTFN_1 ? 1 : 0; in pcie_ari_init() 1188 (dev->cap_present & QEMU_PCI_CAP_MULTIFUNCTION) || in pcie_acs_init()
|
| H A D | msix.c | 363 dev->cap_present |= QEMU_PCI_CAP_MSIX; in msix_init() 482 dev->cap_present &= ~QEMU_PCI_CAP_MSIX; in msix_uninit() 528 return dev->cap_present & QEMU_PCI_CAP_MSIX; in msix_present() 534 return (dev->cap_present & QEMU_PCI_CAP_MSIX) && in msix_enabled()
|
| H A D | pci.c | 83 DEFINE_PROP_BIT("multifunction", PCIDevice, cap_present, 85 DEFINE_PROP_BIT("x-pcie-lnksta-dllla", PCIDevice, cap_present, 87 DEFINE_PROP_BIT("x-pcie-extcap-init", PCIDevice, cap_present, 92 DEFINE_PROP_BIT("x-pcie-err-unc-mask", PCIDevice, cap_present, 94 DEFINE_PROP_BIT("x-pcie-ari-nextfn-1", PCIDevice, cap_present, 99 DEFINE_PROP_BIT("x-pcie-ext-tag", PCIDevice, cap_present, 454 d->cap_present |= QEMU_PCI_CAP_PM; in pci_pm_init() 463 if (!(d->cap_present & QEMU_PCI_CAP_PM)) { in pci_pm_state() 483 if (!(d->cap_present & QEMU_PCI_CAP_PM) || in pci_pm_update() 541 if ((dev->cap_present & QEMU_PCI_SKIP_RESET_ON_CPR) && cpr_is_incoming()) { in pci_do_device_reset() [all …]
|
| H A D | msi.c | 234 dev->cap_present |= QEMU_PCI_CAP_MSI; in msi_init() 268 dev->cap_present &= ~QEMU_PCI_CAP_MSI; in msi_uninit()
|
| H A D | shpc.c | 715 d->cap_present |= QEMU_PCI_CAP_SHPC; in shpc_init() 727 d->cap_present &= ~QEMU_PCI_CAP_SHPC; in shpc_cleanup()
|
| H A D | pcie_aer.c | 116 if (dev->cap_present & QEMU_PCIE_ERR_UNC_MASK) { in pcie_aer_init()
|
| /openbmc/qemu/include/hw/pci/ |
| H A D | pci_device.h | 109 uint32_t cap_present; member 194 return d->cap_present & QEMU_PCIE_CAP_CXL; in pci_is_cxl() 199 return d->cap_present & QEMU_PCI_CAP_EXPRESS; in pci_is_express()
|
| H A D | msi.h | 51 return dev->cap_present & QEMU_PCI_CAP_MSI; in msi_present()
|
| H A D | shpc.h | 62 return dev->cap_present & QEMU_PCI_CAP_SHPC; in shpc_present()
|
| /openbmc/qemu/hw/pci-bridge/ |
| H A D | pcie_root_port.c | 71 if (d->cap_present & QEMU_PCIE_CAP_CXL) { in rp_realize() 152 DEFINE_PROP_BIT(COMPAT_PROP_PCP, PCIDevice, cap_present,
|
| H A D | xio3130_downstream.c | 138 DEFINE_PROP_BIT(COMPAT_PROP_PCP, PCIDevice, cap_present,
|
| /openbmc/qemu/hw/display/ |
| H A D | bochs-display.c | 308 dev->cap_present &= ~QEMU_PCI_CAP_EXPRESS; in bochs_display_realize() 338 dev->cap_present |= QEMU_PCI_CAP_EXPRESS; in bochs_display_init()
|
| /openbmc/qemu/hw/usb/ |
| H A D | hcd-xhci-pci.c | 214 PCI_DEVICE(obj)->cap_present |= QEMU_PCI_CAP_EXPRESS; in xhci_instance_init()
|
| /openbmc/qemu/hw/vfio/ |
| H A D | pci.c | 1427 if (pdev->cap_present & QEMU_PCI_CAP_MSI && in vfio_pci_write_config() 1446 } else if (pdev->cap_present & QEMU_PCI_CAP_MSIX && in vfio_pci_write_config() 2098 vdev->pdev.cap_present & QEMU_PCI_CAP_MULTIFUNCTION) { in vfio_pci_enable_rp_atomics() 2973 vdev->pdev.cap_present &= ~QEMU_PCI_CAP_EXPRESS; in vfio_pci_populate_device() 3280 if (vdev->pdev.cap_present & QEMU_PCI_CAP_MULTIFUNCTION) { in vfio_pci_config_setup() 3316 if (pdev->cap_present & QEMU_PCI_CAP_MSIX) { in vfio_pci_interrupt_setup() 3321 if (pdev->cap_present & QEMU_PCI_CAP_MSI) { in vfio_pci_interrupt_setup() 3606 pci_dev->cap_present |= QEMU_PCI_CAP_EXPRESS; in vfio_instance_init() 3613 pci_dev->cap_present |= QEMU_PCI_SKIP_RESET_ON_CPR; in vfio_instance_init()
|
| H A D | pci-quirks.c | 828 if ((pdev->cap_present & QEMU_PCI_CAP_MSI) && in vfio_nvidia_quirk_mirror_write() 1016 if (vdev->pdev.cap_present & QEMU_PCI_CAP_MSIX) { in vfio_rtl8168_quirk_address_write() 1054 if (rtl->enabled && (vdev->pdev.cap_present & QEMU_PCI_CAP_MSIX)) { in vfio_rtl8168_quirk_data_read()
|
| /openbmc/qemu/hw/vfio-user/ |
| H A D | pci.c | 367 pci_dev->cap_present |= QEMU_PCI_CAP_EXPRESS; in vfio_user_instance_init()
|
| /openbmc/qemu/docs/devel/migration/ |
| H A D | compatibility.rst | 402 + DEFINE_PROP_BIT("x-pcie-err-unc-mask", PCIDevice, cap_present, 425 + if (dev->cap_present & QEMU_PCIE_ERR_UNC_MASK) {
|
| /openbmc/qemu/hw/virtio/ |
| H A D | virtio-pci.c | 2277 pci_dev->cap_present &= ~QEMU_PCI_CAP_EXPRESS; in virtio_pci_realize() 2328 if (!pci_is_express(dev) || !(dev->cap_present & QEMU_PCI_CAP_PM)) { in virtio_pci_no_soft_reset() 2401 pci_dev->cap_present |= QEMU_PCI_CAP_EXPRESS; in virtio_pci_dc_realize()
|
| /openbmc/qemu/hw/xen/ |
| H A D | xen_pt.c | 1004 PCI_DEVICE(obj)->cap_present |= QEMU_PCI_CAP_EXPRESS; in xen_pci_passthrough_instance_init()
|
| H A D | xen_pt_config_init.c | 296 if ((PCI_DEVICE(s)->cap_present & QEMU_PCI_CAP_MULTIFUNCTION)) { in xen_pt_header_type_reg_init()
|
| /openbmc/qemu/hw/scsi/ |
| H A D | vmw_pvscsi.c | 1272 PCI_DEVICE(obj)->cap_present |= QEMU_PCI_CAP_EXPRESS; in pvscsi_instance_init()
|
| /openbmc/qemu/hw/s390x/ |
| H A D | s390-pci-bus.c | 1105 if (pdev->cap_present & QEMU_PCI_CAP_MULTIFUNCTION && in s390_pcihost_plug()
|
| /openbmc/qemu/hw/net/ |
| H A D | vmxnet3.c | 2240 PCI_DEVICE(obj)->cap_present |= QEMU_PCI_CAP_EXPRESS; in vmxnet3_instance_init()
|