Lines Matching defs:ecap
1341 static int vfio_ext_cap_len(struct vfio_pci_device *vdev, u16 ecap, u16 epos)
1348 switch (ecap) {
1408 pci_warn(pdev, "%s: unknown length for PCI ecap %#x@%#x\n",
1409 __func__, ecap, epos);
1569 u16 ecap;
1577 ecap = PCI_EXT_CAP_ID(header);
1579 if (ecap <= PCI_EXT_CAP_ID_MAX) {
1580 len = pci_ext_cap_length[ecap];
1582 len = vfio_ext_cap_len(vdev, ecap, epos);
1589 pci_info(pdev, "%s: hiding ecap %#x@%#x\n",
1590 __func__, ecap, epos);
1612 pci_warn(pdev, "%s: PCI config conflict @%#x, was ecap %#x now ecap %#x\n",
1613 __func__, epos + i, map[epos + i], ecap);
1617 * Even though ecap is 2 bytes, we're currently a long way
1623 memset(map + epos, ecap, len);