Searched refs:PCI_CFG_SPACE_SIZE (Results 1 – 11 of 11) sorted by relevance
258 if (pos >= PCI_CFG_SPACE_SIZE) { /* Extended cap header mangling */ in vfio_direct_config_read()1116 int base = (pos >= PCI_CFG_SPACE_SIZE) ? PCI_CFG_SPACE_SIZE : in vfio_find_cap_start()1321 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len()1323 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, in vfio_cap_len()1338 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len()1340 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &dword); in vfio_cap_len()1620 epos = PCI_CFG_SPACE_SIZE; in vfio_ecap_init()1622 loops = (pdev->cfg_size - PCI_CFG_SPACE_SIZE) / PCI_CAP_SIZEOF; in vfio_ecap_init()1624 while (loops-- && epos >= PCI_CFG_SPACE_SIZE) { in vfio_ecap_init()1702 *(u32 *)&vdev->vconfig[PCI_CFG_SPACE_SIZE] = 0; 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()
1691 for (pos = PCI_CFG_SPACE_SIZE; in pci_ext_cfg_is_aliased()1692 pos < PCI_CFG_SPACE_EXP_SIZE; pos += PCI_CFG_SPACE_SIZE) { in pci_ext_cfg_is_aliased()1718 int pos = PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()1721 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()1723 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()1750 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()1761 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()1767 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()
826 a->size = PCI_CFG_SPACE_SIZE; in pci_dev_config_attr_is_visible()827 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_dev_config_attr_is_visible()
559 u16 pos = PCI_CFG_SPACE_SIZE; in pci_find_next_ext_capability()562 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in pci_find_next_ext_capability()564 if (dev->cfg_size <= PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()585 if (pos < PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
5486 ret = pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &status); in quirk_intel_qat_vf_cap()5488 pdev->cfg_size = PCI_CFG_SPACE_SIZE; in quirk_intel_qat_vf_cap()
250 int pos = PCI_CFG_SPACE_SIZE; in dw_pcie_find_next_ext_capability()253 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in dw_pcie_find_next_ext_capability()271 if (pos < PCI_CFG_SPACE_SIZE) in dw_pcie_find_next_ext_capability()
656 int pos = PCI_CFG_SPACE_SIZE; in dw_pcie_ep_find_ext_capability()
248 if (where < PCI_CFG_SPACE_SIZE && priv->cfg0_base) in pci_loongson_map_bus()
29 #define PCI_CFG_SPACE_SIZE 256 macro
865 int pos = PCI_CFG_SPACE_SIZE, prev = 0; in chromeos_save_apl_pci_l1ss_capability()
Completed in 49 milliseconds