Searched refs:PCI_CFG_SPACE_SIZE (Results 1 – 5 of 5) sorted by relevance
34 #define PCI_CFG_SPACE_SIZE 256 macro263 if (pos >= PCI_CFG_SPACE_SIZE) { /* Extended cap header mangling */ in vfio_direct_config_read()826 int base = (pos >= PCI_CFG_SPACE_SIZE) ? PCI_CFG_SPACE_SIZE : in vfio_find_cap_start()1218 loops = (PCI_CFG_SPACE_SIZE - PCI_STD_HEADER_SIZEOF) / PCI_CAP_SIZEOF; in vfio_cap_init()1289 epos = PCI_CFG_SPACE_SIZE; in vfio_ecap_init()1291 loops = (pdev->cfg_size - PCI_CFG_SPACE_SIZE) / PCI_CAP_SIZEOF; in vfio_ecap_init()1293 while (loops-- && epos >= PCI_CFG_SPACE_SIZE) { in vfio_ecap_init()1372 *(u32 *)&vdev->vconfig[PCI_CFG_SPACE_SIZE] = 0; in vfio_ecap_init()1522 if (*ppos >= PCI_CFG_SPACE_SIZE) { in vfio_config_do_rw()
6 #define PCI_CFG_SPACE_SIZE 256 macro
1152 int pos = PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()1162 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()1188 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()
271 int pos = PCI_CFG_SPACE_SIZE; in pci_find_next_ext_capability()274 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in pci_find_next_ext_capability()276 if (dev->cfg_size <= PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()297 if (pos < PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
1213 .size = PCI_CFG_SPACE_SIZE,