Home
last modified time | relevance | path

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

/drivers/vfio/pci/
Dvfio_pci_config.c34 #define PCI_CFG_SPACE_SIZE 256 macro
262 if (pos >= PCI_CFG_SPACE_SIZE) { /* Extended cap header mangling */ in vfio_direct_config_read()
1047 int base = (pos >= PCI_CFG_SPACE_SIZE) ? PCI_CFG_SPACE_SIZE : in vfio_find_cap_start()
1250 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len()
1252 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, in vfio_cap_len()
1267 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len()
1269 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &dword); in vfio_cap_len()
1448 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()
[all …]
/drivers/pci/
Dprobe.c1118 for (pos = PCI_CFG_SPACE_SIZE; in pci_ext_cfg_is_aliased()
1119 pos < PCI_CFG_SPACE_EXP_SIZE; pos += PCI_CFG_SPACE_SIZE) { in pci_ext_cfg_is_aliased()
1145 int pos = PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()
1148 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()
1150 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()
1170 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()
1176 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()
Dpci-sysfs.c1295 .size = PCI_CFG_SPACE_SIZE,
1387 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_create_sysfs_dev_files()
1438 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_create_sysfs_dev_files()
1473 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_remove_sysfs_dev_files()
Dpci.h4 #define PCI_CFG_SPACE_SIZE 256 macro
Dpci.c313 int pos = PCI_CFG_SPACE_SIZE; in pci_find_next_ext_capability()
316 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in pci_find_next_ext_capability()
318 if (dev->cfg_size <= PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
339 if (pos < PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
Dquirks.c4605 if (pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &status) != in quirk_intel_qat_vf_cap()
4607 pdev->cfg_size = PCI_CFG_SPACE_SIZE; in quirk_intel_qat_vf_cap()