Searched refs:PCI_CFG_SPACE_SIZE (Results 1 – 10 of 10) sorted by relevance
257 if (pos >= PCI_CFG_SPACE_SIZE) { /* Extended cap header mangling */ in vfio_direct_config_read()1114 int base = (pos >= PCI_CFG_SPACE_SIZE) ? PCI_CFG_SPACE_SIZE : in vfio_find_cap_start()1319 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len()1321 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, in vfio_cap_len()1336 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len()1338 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &dword); in vfio_cap_len()1533 loops = (PCI_CFG_SPACE_SIZE - PCI_STD_HEADER_SIZEOF) / PCI_CAP_SIZEOF; in vfio_cap_init()1613 epos = PCI_CFG_SPACE_SIZE; in vfio_ecap_init()1615 loops = (pdev->cfg_size - PCI_CFG_SPACE_SIZE) / PCI_CAP_SIZEOF; in vfio_ecap_init()1617 while (loops-- && epos >= PCI_CFG_SPACE_SIZE) { in vfio_ecap_init()[all …]
487 } else if (reg >= PCI_CFG_SPACE_SIZE && bridge->has_pcie) { in pci_bridge_emul_conf_read()489 reg -= PCI_CFG_SPACE_SIZE; in pci_bridge_emul_conf_read()561 } else if (reg >= PCI_CFG_SPACE_SIZE && bridge->has_pcie) { in pci_bridge_emul_conf_write()563 reg -= PCI_CFG_SPACE_SIZE; in pci_bridge_emul_conf_write()
1648 for (pos = PCI_CFG_SPACE_SIZE; in pci_ext_cfg_is_aliased()1649 pos < PCI_CFG_SPACE_EXP_SIZE; pos += PCI_CFG_SPACE_SIZE) { in pci_ext_cfg_is_aliased()1675 int pos = PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()1678 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()1680 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()1707 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()1718 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()1724 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()
819 a->size = PCI_CFG_SPACE_SIZE; in pci_dev_config_attr_is_visible()820 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_dev_config_attr_is_visible()
548 u16 pos = PCI_CFG_SPACE_SIZE; in pci_find_next_ext_capability()551 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in pci_find_next_ext_capability()553 if (dev->cfg_size <= PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()574 if (pos < PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
5298 if (pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &status) != in quirk_intel_qat_vf_cap()5300 pdev->cfg_size = PCI_CFG_SPACE_SIZE; in quirk_intel_qat_vf_cap()
90 int pos = PCI_CFG_SPACE_SIZE; in dw_pcie_find_next_ext_capability()93 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in dw_pcie_find_next_ext_capability()111 if (pos < PCI_CFG_SPACE_SIZE) in dw_pcie_find_next_ext_capability()
628 int pos = PCI_CFG_SPACE_SIZE; in dw_pcie_ep_find_ext_capability()
198 if (where < PCI_CFG_SPACE_SIZE && priv->cfg0_base) in pci_loongson_map_bus()
29 #define PCI_CFG_SPACE_SIZE 256 macro