Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/vfio/pci/
Dvfio_pci_config.c34 #define PCI_CFG_SPACE_SIZE 256 macro
263 if (pos >= PCI_CFG_SPACE_SIZE) { /* Extended cap header mangling */ in vfio_direct_config_read()
830 int base = (pos >= PCI_CFG_SPACE_SIZE) ? PCI_CFG_SPACE_SIZE : in vfio_find_cap_start()
1034 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &dword); in vfio_cap_len()
1048 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &dword); in vfio_cap_len()
1226 loops = (PCI_CFG_SPACE_SIZE - PCI_STD_HEADER_SIZEOF) / PCI_CAP_SIZEOF; in vfio_cap_init()
1297 epos = PCI_CFG_SPACE_SIZE; in vfio_ecap_init()
1299 loops = (pdev->cfg_size - PCI_CFG_SPACE_SIZE) / PCI_CAP_SIZEOF; in vfio_ecap_init()
1301 while (loops-- && epos >= PCI_CFG_SPACE_SIZE) { in vfio_ecap_init()
1380 *(u32 *)&vdev->vconfig[PCI_CFG_SPACE_SIZE] = 0; in vfio_ecap_init()
[all …]
/linux-4.1.27/drivers/pci/
Dprobe.c1041 for (pos = PCI_CFG_SPACE_SIZE; in pci_ext_cfg_is_aliased()
1042 pos < PCI_CFG_SPACE_EXP_SIZE; pos += PCI_CFG_SPACE_SIZE) { in pci_ext_cfg_is_aliased()
1068 int pos = PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()
1078 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()
1104 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()
Dpci.h4 #define PCI_CFG_SPACE_SIZE 256 macro
Dpci.c280 int pos = PCI_CFG_SPACE_SIZE; in pci_find_next_ext_capability()
283 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in pci_find_next_ext_capability()
285 if (dev->cfg_size <= PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
306 if (pos < PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
Dpci-sysfs.c1280 .size = PCI_CFG_SPACE_SIZE,