Home
last modified time | relevance | path

Searched refs:pci_add_capability (Results 1 – 18 of 18) sorted by relevance

/openbmc/qemu/hw/pci/
H A Dslotid_cap.c27 cap = pci_add_capability(d, PCI_CAP_ID_SLOTID, offset, in slotid_cap_init()
H A Dpci_bridge.c54 pos = pci_add_capability(dev, PCI_CAP_ID_SSVID, offset, in pci_bridge_ssvid_init()
463 int offset = pci_add_capability(dev, PCI_CAP_ID_VNDR, in pci_bridge_qemu_reserve_cap_init()
H A Dmsi.c227 config_offset = pci_add_capability(dev, PCI_CAP_ID_MSI, offset, in msi_init()
H A Dpcie.c195 pos = pci_add_capability(dev, PCI_CAP_ID_EXP, offset, in pcie_cap_init()
232 pos = pci_add_capability(dev, PCI_CAP_ID_EXP, offset, in pcie_cap_v1_init()
H A Dmsix.c347 cap = pci_add_capability(dev, PCI_CAP_ID_MSIX, in msix_init()
H A Dshpc.c503 config_offset = pci_add_capability(d, PCI_CAP_ID_SHPC, in shpc_cap_add_config()
H A Dpci.c2430 int pci_add_capability(PCIDevice *pdev, uint8_t cap_id, in pci_add_capability() function
/openbmc/qemu/hw/ide/
H A Dich.c135 sata_cap_offset = pci_add_capability(dev, PCI_CAP_ID_SATA, in pci_ich9_ahci_realize()
/openbmc/qemu/hw/pci-bridge/
H A Dpcie_pci_bridge.c55 pos = pci_add_capability(d, PCI_CAP_ID_PM, 0, PCI_PM_SIZEOF, errp); in OBJECT_DECLARE_SIMPLE_TYPE()
/openbmc/qemu/hw/i386/
H A Damd_iommu.c1535 ret = pci_add_capability(pdev, AMDVI_CAPAB_ID_SEC, 0, in amdvi_pci_realize()
1542 ret = pci_add_capability(pdev, PCI_CAP_ID_MSI, 0, in amdvi_pci_realize()
1547 ret = pci_add_capability(pdev, PCI_CAP_ID_HT, 0, in amdvi_pci_realize()
/openbmc/qemu/hw/vfio/
H A Dpci.c2097 pos = pci_add_capability(&vdev->pdev, PCI_CAP_ID_EXP, pos, size, in vfio_setup_pcie_cap()
2143 pos = pci_add_capability(pdev, PCI_CAP_ID_VNDR, pos, size, errp); in vfio_add_vendor_specific_cap()
2220 ret = pci_add_capability(pdev, cap_id, pos, size, errp) >= 0; in vfio_add_std_cap()
2224 ret = pci_add_capability(pdev, cap_id, pos, size, errp) >= 0; in vfio_add_std_cap()
2230 ret = pci_add_capability(pdev, cap_id, pos, size, errp) >= 0; in vfio_add_std_cap()
H A Dpci-quirks.c1596 ret = pci_add_capability(pdev, PCI_CAP_ID_VNDR, pos, 8, errp); in vfio_add_nv_gpudirect_cap()
1653 ret = pci_add_capability(&vdev->pdev, PCI_CAP_ID_VNDR, pos, in vfio_add_vmd_shadow_cap()
/openbmc/qemu/hw/net/
H A Digb.c359 int ret = pci_add_capability(pdev, PCI_CAP_ID_PM, offset, in igb_add_pm_capability()
H A De1000e.c375 int ret = pci_add_capability(pdev, PCI_CAP_ID_PM, offset, in e1000e_add_pm_capability()
H A Deepro100.c552 int r = pci_add_capability(&s->dev, PCI_CAP_ID_PM, in e100_pci_reset()
/openbmc/qemu/include/hw/pci/
H A Dpci.h242 int pci_add_capability(PCIDevice *pdev, uint8_t cap_id,
/openbmc/qemu/hw/virtio/
H A Dvirtio-pci.c1412 offset = pci_add_capability(dev, PCI_CAP_ID_VNDR, 0, in virtio_pci_add_mem_cap()
2198 pos = pci_add_capability(pci_dev, PCI_CAP_ID_PM, 0, in virtio_pci_realize()
/openbmc/qemu/hw/nvme/
H A Dctrl.c8299 ret = pci_add_capability(pci_dev, PCI_CAP_ID_PM, offset, in nvme_add_pm_capability()