Home
last modified time | relevance | path

Searched refs:cap_present (Results 1 – 23 of 23) sorted by relevance

/openbmc/qemu/hw/pci/
H A Dslotid_cap.c42 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 Dpcie.c91 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()
1141 uint16_t nextfn = dev->cap_present & QEMU_PCIE_ARI_NEXTFN_1 ? 1 : 0; in pcie_ari_init()
1184 (dev->cap_present & QEMU_PCI_CAP_MULTIFUNCTION) || in pcie_acs_init()
H A Dmsix.c354 dev->cap_present |= QEMU_PCI_CAP_MSIX; in msix_init()
467 dev->cap_present &= ~QEMU_PCI_CAP_MSIX; in msix_uninit()
513 return dev->cap_present & QEMU_PCI_CAP_MSIX; in msix_present()
519 return (dev->cap_present & QEMU_PCI_CAP_MSIX) && in msix_enabled()
H A Dpci.c88 DEFINE_PROP_BIT("multifunction", PCIDevice, cap_present,
90 DEFINE_PROP_BIT("x-pcie-lnksta-dllla", PCIDevice, cap_present,
92 DEFINE_PROP_BIT("x-pcie-extcap-init", PCIDevice, cap_present,
97 DEFINE_PROP_BIT("x-pcie-err-unc-mask", PCIDevice, cap_present,
99 DEFINE_PROP_BIT("x-pcie-ari-nextfn-1", PCIDevice, cap_present,
103 DEFINE_PROP_BIT("x-pcie-ext-tag", PCIDevice, cap_present,
969 if (dev->cap_present & QEMU_PCI_CAP_MULTIFUNCTION) { in pci_init_multifunction()
979 dev->exp.sriov_vf.pf->cap_present & QEMU_PCI_CAP_MULTIFUNCTION) { in pci_init_multifunction()
998 if (f0 && !(f0->cap_present & QEMU_PCI_CAP_MULTIFUNCTION)) { in pci_init_multifunction()
1007 if (dev->cap_present & QEMU_PCI_CAP_MULTIFUNCTION) { in pci_init_multifunction()
[all …]
H A Dmsi.c234 dev->cap_present |= QEMU_PCI_CAP_MSI; in msi_init()
268 dev->cap_present &= ~QEMU_PCI_CAP_MSI; in msi_uninit()
H A Dshpc.c715 d->cap_present |= QEMU_PCI_CAP_SHPC; in shpc_init()
727 d->cap_present &= ~QEMU_PCI_CAP_SHPC; in shpc_cleanup()
H A Dpcie_aer.c116 if (dev->cap_present & QEMU_PCIE_ERR_UNC_MASK) { in pcie_aer_init()
/openbmc/qemu/include/hw/pci/
H A Dpci_device.h106 uint32_t cap_present; member
186 return d->cap_present & QEMU_PCIE_CAP_CXL; in pci_is_cxl()
191 return d->cap_present & QEMU_PCI_CAP_EXPRESS; in pci_is_express()
H A Dmsi.h51 return dev->cap_present & QEMU_PCI_CAP_MSI; in msi_present()
H A Dshpc.h62 return dev->cap_present & QEMU_PCI_CAP_SHPC; in shpc_present()
/openbmc/qemu/hw/pci-bridge/
H A Dpcie_root_port.c71 if (d->cap_present & QEMU_PCIE_CAP_CXL) { in rp_realize()
152 DEFINE_PROP_BIT(COMPAT_PROP_PCP, PCIDevice, cap_present,
H A Dxio3130_downstream.c138 DEFINE_PROP_BIT(COMPAT_PROP_PCP, PCIDevice, cap_present,
/openbmc/qemu/hw/display/
H A Dbochs-display.c308 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 Dhcd-xhci-pci.c195 PCI_DEVICE(obj)->cap_present |= QEMU_PCI_CAP_EXPRESS; in xhci_instance_init()
/openbmc/qemu/hw/vfio/
H A Dpci.c1263 if (pdev->cap_present & QEMU_PCI_CAP_MSI && in vfio_pci_write_config()
1282 } else if (pdev->cap_present & QEMU_PCI_CAP_MSIX && in vfio_pci_write_config()
1924 vdev->pdev.cap_present & QEMU_PCI_CAP_MULTIFUNCTION) { in vfio_pci_enable_rp_atomics()
2784 vdev->pdev.cap_present &= ~QEMU_PCI_CAP_EXPRESS; in vfio_populate_device()
3094 if (vdev->pdev.cap_present & QEMU_PCI_CAP_MULTIFUNCTION) { in vfio_realize()
3162 if (pdev->cap_present & QEMU_PCI_CAP_MSIX) { in vfio_realize()
3167 if (pdev->cap_present & QEMU_PCI_CAP_MSI) { in vfio_realize()
3354 pci_dev->cap_present |= QEMU_PCI_CAP_EXPRESS; in vfio_instance_init()
H A Dpci-quirks.c873 if ((pdev->cap_present & QEMU_PCI_CAP_MSI) && in vfio_nvidia_quirk_mirror_write()
1061 if (vdev->pdev.cap_present & QEMU_PCI_CAP_MSIX) { in vfio_rtl8168_quirk_address_write()
1099 if (rtl->enabled && (vdev->pdev.cap_present & QEMU_PCI_CAP_MSIX)) { in vfio_rtl8168_quirk_data_read()
/openbmc/qemu/docs/devel/migration/
H A Dcompatibility.rst402 + DEFINE_PROP_BIT("x-pcie-err-unc-mask", PCIDevice, cap_present,
426 + if (dev->cap_present & QEMU_PCIE_ERR_UNC_MASK) {
/openbmc/qemu/hw/xen/
H A Dxen_pt.c944 PCI_DEVICE(obj)->cap_present |= QEMU_PCI_CAP_EXPRESS; in xen_pci_passthrough_instance_init()
H A Dxen_pt_config_init.c296 if ((PCI_DEVICE(s)->cap_present & QEMU_PCI_CAP_MULTIFUNCTION)) { in xen_pt_header_type_reg_init()
/openbmc/qemu/hw/virtio/
H A Dvirtio-pci.c2263 pci_dev->cap_present &= ~QEMU_PCI_CAP_EXPRESS; in virtio_pci_realize()
2392 pci_dev->cap_present |= QEMU_PCI_CAP_EXPRESS; in virtio_pci_dc_realize()
/openbmc/qemu/hw/scsi/
H A Dvmw_pvscsi.c1315 pci_dev->cap_present |= QEMU_PCI_CAP_EXPRESS; in pvscsi_realize()
/openbmc/qemu/hw/s390x/
H A Ds390-pci-bus.c977 if (pdev->cap_present & QEMU_PCI_CAP_MULTIFUNCTION) { in s390_pcihost_pre_plug()
/openbmc/qemu/hw/net/
H A Dvmxnet3.c2490 pci_dev->cap_present |= QEMU_PCI_CAP_EXPRESS; in vmxnet3_realize()