Home
last modified time | relevance | path

Searched refs:PCI_CFG_SPACE_SIZE (Results 1 – 11 of 11) sorted by relevance

/linux-6.15/drivers/vfio/pci/
H A Dvfio_pci_config.c258 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 Dpci-bridge-emul.c487 } 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 Dprobe.c1767 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 Dpci-sysfs.c854 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 Dpci.c558 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 Dquirks.c5489 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 Damd_node.c314 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 Dpcie-designware.c252 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 Dpci-loongson.c248 if (where < PCI_CFG_SPACE_SIZE && priv->cfg0_base) in pci_loongson_map_bus()
/linux-6.15/include/uapi/linux/
H A Dpci_regs.h29 #define PCI_CFG_SPACE_SIZE 256 macro
/linux-6.15/arch/x86/pci/
H A Dfixup.c865 int pos = PCI_CFG_SPACE_SIZE, prev = 0; in chromeos_save_apl_pci_l1ss_capability()