Searched refs:PCI_CFG_SPACE_SIZE (Results 1 – 6 of 6) sorted by relevance
260 if (pos >= PCI_CFG_SPACE_SIZE) { /* Extended cap header mangling */ in vfio_direct_config_read()1045 int base = (pos >= PCI_CFG_SPACE_SIZE) ? PCI_CFG_SPACE_SIZE : in vfio_find_cap_start()1248 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len()1250 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, in vfio_cap_len()1265 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len()1267 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &dword); in vfio_cap_len()1451 loops = (PCI_CFG_SPACE_SIZE - PCI_STD_HEADER_SIZEOF) / PCI_CAP_SIZEOF; in vfio_cap_init()1524 epos = PCI_CFG_SPACE_SIZE; in vfio_ecap_init()1526 loops = (pdev->cfg_size - PCI_CFG_SPACE_SIZE) / PCI_CAP_SIZEOF; in vfio_ecap_init()1528 while (loops-- && epos >= PCI_CFG_SPACE_SIZE) { in vfio_ecap_init()[all …]
1404 for (pos = PCI_CFG_SPACE_SIZE; in pci_ext_cfg_is_aliased()1405 pos < PCI_CFG_SPACE_EXP_SIZE; pos += PCI_CFG_SPACE_SIZE) { in pci_ext_cfg_is_aliased()1431 int pos = PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()1434 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()1436 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()1448 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()1459 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()1465 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()
1423 .size = PCI_CFG_SPACE_SIZE,1491 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_create_sysfs_dev_files()1542 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_create_sysfs_dev_files()1573 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_remove_sysfs_dev_files()
492 int pos = PCI_CFG_SPACE_SIZE; in pci_find_next_ext_capability()495 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in pci_find_next_ext_capability()497 if (dev->cfg_size <= PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()518 if (pos < PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
4806 if (pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &status) != in quirk_intel_qat_vf_cap()4808 pdev->cfg_size = PCI_CFG_SPACE_SIZE; in quirk_intel_qat_vf_cap()
31 #define PCI_CFG_SPACE_SIZE 256 macro