Searched refs:PCI_CFG_SPACE_SIZE (Results 1 – 11 of 11) sorted by relevance
| /linux-6.15/drivers/vfio/pci/ |
| H A D | vfio_pci_config.c | 258 if (pos >= PCI_CFG_SPACE_SIZE) { /* Extended cap header mangling */ in vfio_direct_config_read() 1120 int base = (pos >= PCI_CFG_SPACE_SIZE) ? PCI_CFG_SPACE_SIZE : in vfio_find_cap_start() 1325 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len() 1327 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, in vfio_cap_len() 1342 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len() 1344 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &dword); in vfio_cap_len() 1625 epos = PCI_CFG_SPACE_SIZE; in vfio_ecap_init() 1627 loops = (pdev->cfg_size - PCI_CFG_SPACE_SIZE) / PCI_CAP_SIZEOF; in vfio_ecap_init() 1629 while (loops-- && epos >= PCI_CFG_SPACE_SIZE) { in vfio_ecap_init() 1707 *(u32 *)&vdev->vconfig[PCI_CFG_SPACE_SIZE] = 0; in vfio_ecap_init() [all …]
|
| /linux-6.15/drivers/pci/ |
| H A D | pci-bridge-emul.c | 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()
|
| H A D | probe.c | 1767 for (pos = PCI_CFG_SPACE_SIZE; in pci_ext_cfg_is_aliased() 1768 pos < PCI_CFG_SPACE_EXP_SIZE; pos += PCI_CFG_SPACE_SIZE) { in pci_ext_cfg_is_aliased() 1794 int pos = PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext() 1797 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext() 1799 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext() 1826 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size() 1837 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size() 1843 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()
|
| H A D | pci-sysfs.c | 854 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_dev_config_attr_bin_size() 856 return PCI_CFG_SPACE_SIZE; in pci_dev_config_attr_bin_size()
|
| H A D | pci.c | 558 u16 pos = PCI_CFG_SPACE_SIZE; in pci_find_next_ext_capability() 561 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in pci_find_next_ext_capability() 563 if (dev->cfg_size <= PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability() 584 if (pos < PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
|
| H A D | quirks.c | 5489 ret = pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &status); in quirk_intel_qat_vf_cap() 5491 pdev->cfg_size = PCI_CFG_SPACE_SIZE; in quirk_intel_qat_vf_cap()
|
| /linux-6.15/arch/x86/kernel/ |
| H A D | amd_node.c | 314 if (!pci_request_config_region_exclusive(root, 0, PCI_CFG_SPACE_SIZE, NULL)) { in reserve_root_config_spaces()
|
| /linux-6.15/drivers/pci/controller/dwc/ |
| H A D | pcie-designware.c | 252 int pos = PCI_CFG_SPACE_SIZE; in dw_pcie_find_next_ext_capability() 255 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in dw_pcie_find_next_ext_capability() 273 if (pos < PCI_CFG_SPACE_SIZE) in dw_pcie_find_next_ext_capability()
|
| /linux-6.15/drivers/pci/controller/ |
| H A D | pci-loongson.c | 248 if (where < PCI_CFG_SPACE_SIZE && priv->cfg0_base) in pci_loongson_map_bus()
|
| /linux-6.15/include/uapi/linux/ |
| H A D | pci_regs.h | 29 #define PCI_CFG_SPACE_SIZE 256 macro
|
| /linux-6.15/arch/x86/pci/ |
| H A D | fixup.c | 865 int pos = PCI_CFG_SPACE_SIZE, prev = 0; in chromeos_save_apl_pci_l1ss_capability()
|