Lines Matching defs:ecap
1379 static int vfio_ext_cap_len(struct vfio_pci_core_device *vdev, u16 ecap, u16 epos)
1386 switch (ecap) {
1451 pci_warn(pdev, "%s: unknown length for PCI ecap %#x@%#x\n",
1452 __func__, ecap, epos);
1626 u16 ecap;
1634 ecap = PCI_EXT_CAP_ID(header);
1636 if (ecap <= PCI_EXT_CAP_ID_MAX) {
1637 len = pci_ext_cap_length[ecap];
1639 len = vfio_ext_cap_len(vdev, ecap, epos);
1646 pci_dbg(pdev, "%s: hiding ecap %#x@%#x\n",
1647 __func__, ecap, epos);
1669 pci_warn(pdev, "%s: PCI config conflict @%#x, was ecap %#x now ecap %#x\n",
1670 __func__, epos + i, map[epos + i], ecap);
1674 * Even though ecap is 2 bytes, we're currently a long way
1680 memset(map + epos, ecap, len);