Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/vfio/pci/
Dvfio_pci_config.c257 if (pos >= PCI_CFG_SPACE_SIZE) { /* Extended cap header mangling */ in vfio_direct_config_read()
1041 int base = (pos >= PCI_CFG_SPACE_SIZE) ? PCI_CFG_SPACE_SIZE : in vfio_find_cap_start()
1246 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len()
1248 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, in vfio_cap_len()
1263 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len()
1265 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &dword); in vfio_cap_len()
1449 loops = (PCI_CFG_SPACE_SIZE - PCI_STD_HEADER_SIZEOF) / PCI_CAP_SIZEOF; in vfio_cap_init()
1521 epos = PCI_CFG_SPACE_SIZE; in vfio_ecap_init()
1523 loops = (pdev->cfg_size - PCI_CFG_SPACE_SIZE) / PCI_CAP_SIZEOF; in vfio_ecap_init()
1525 while (loops-- && epos >= PCI_CFG_SPACE_SIZE) { in vfio_ecap_init()
[all …]
/Linux-v5.4/drivers/pci/controller/dwc/
Dpcie-designware.c61 int pos = PCI_CFG_SPACE_SIZE; in dw_pcie_find_next_ext_capability()
64 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in dw_pcie_find_next_ext_capability()
82 if (pos < PCI_CFG_SPACE_SIZE) in dw_pcie_find_next_ext_capability()
Dpcie-designware-ep.c480 int pos = PCI_CFG_SPACE_SIZE; in dw_pcie_ep_find_ext_capability()
/Linux-v5.4/arch/mips/pci/
Dops-loongson3.c27 if (where < PCI_CFG_SPACE_SIZE) { /* standard config */ in loongson3_pci_config_access()
/Linux-v5.4/drivers/pci/
Dprobe.c1528 for (pos = PCI_CFG_SPACE_SIZE; in pci_ext_cfg_is_aliased()
1529 pos < PCI_CFG_SPACE_EXP_SIZE; pos += PCI_CFG_SPACE_SIZE) { in pci_ext_cfg_is_aliased()
1555 int pos = PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()
1558 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()
1560 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()
1587 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()
1598 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()
1604 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()
Dpci-sysfs.c1289 .size = PCI_CFG_SPACE_SIZE,
1357 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_create_sysfs_dev_files()
1408 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_create_sysfs_dev_files()
1439 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_remove_sysfs_dev_files()
Dpci.c494 int pos = PCI_CFG_SPACE_SIZE; in pci_find_next_ext_capability()
497 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in pci_find_next_ext_capability()
499 if (dev->cfg_size <= PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
520 if (pos < PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
Dquirks.c4960 if (pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &status) != in quirk_intel_qat_vf_cap()
4962 pdev->cfg_size = PCI_CFG_SPACE_SIZE; in quirk_intel_qat_vf_cap()
/Linux-v5.4/include/uapi/linux/
Dpci_regs.h29 #define PCI_CFG_SPACE_SIZE 256 macro