Searched refs:PCI_CFG_SPACE_SIZE (Results 1 – 6 of 6) 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()898 int base = (pos >= PCI_CFG_SPACE_SIZE) ? PCI_CFG_SPACE_SIZE : in vfio_find_cap_start()1102 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &dword); in vfio_cap_len()1116 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &dword); in vfio_cap_len()1294 loops = (PCI_CFG_SPACE_SIZE - PCI_STD_HEADER_SIZEOF) / PCI_CAP_SIZEOF; in vfio_cap_init()1365 epos = PCI_CFG_SPACE_SIZE; in vfio_ecap_init()1367 loops = (pdev->cfg_size - PCI_CFG_SPACE_SIZE) / PCI_CAP_SIZEOF; in vfio_ecap_init()1369 while (loops-- && epos >= PCI_CFG_SPACE_SIZE) { in vfio_ecap_init()1448 *(u32 *)&vdev->vconfig[PCI_CFG_SPACE_SIZE] = 0; in vfio_ecap_init()[all …]
1083 for (pos = PCI_CFG_SPACE_SIZE; in pci_ext_cfg_is_aliased()1084 pos < PCI_CFG_SPACE_EXP_SIZE; pos += PCI_CFG_SPACE_SIZE) { in pci_ext_cfg_is_aliased()1110 int pos = PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()1120 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()1146 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()
4 #define PCI_CFG_SPACE_SIZE 256 macro
292 int pos = PCI_CFG_SPACE_SIZE; in pci_find_next_ext_capability()295 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in pci_find_next_ext_capability()297 if (dev->cfg_size <= PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()318 if (pos < PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
1283 .size = PCI_CFG_SPACE_SIZE,
4181 if (pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &status) != in quirk_intel_qat_vf_cap()4183 pdev->cfg_size = PCI_CFG_SPACE_SIZE; in quirk_intel_qat_vf_cap()