Searched refs:PCI_CFG_SPACE_SIZE (Results 1 – 9 of 9) sorted by relevance
257 if (pos >= PCI_CFG_SPACE_SIZE) { /* Extended cap header mangling */ in vfio_direct_config_read()1078 int base = (pos >= PCI_CFG_SPACE_SIZE) ? PCI_CFG_SPACE_SIZE : in vfio_find_cap_start()1283 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len()1285 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, in vfio_cap_len()1300 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len()1302 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &dword); in vfio_cap_len()1563 epos = PCI_CFG_SPACE_SIZE; in vfio_ecap_init()1565 loops = (pdev->cfg_size - PCI_CFG_SPACE_SIZE) / PCI_CAP_SIZEOF; in vfio_ecap_init()1567 while (loops-- && epos >= PCI_CFG_SPACE_SIZE) { in vfio_ecap_init()1645 *(u32 *)&vdev->vconfig[PCI_CFG_SPACE_SIZE] = 0; in vfio_ecap_init()[all …]
63 int pos = PCI_CFG_SPACE_SIZE; in dw_pcie_find_next_ext_capability()66 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in dw_pcie_find_next_ext_capability()84 if (pos < PCI_CFG_SPACE_SIZE) in dw_pcie_find_next_ext_capability()
624 int pos = PCI_CFG_SPACE_SIZE; in dw_pcie_ep_find_ext_capability()
1655 for (pos = PCI_CFG_SPACE_SIZE; in pci_ext_cfg_is_aliased()1656 pos < PCI_CFG_SPACE_EXP_SIZE; pos += PCI_CFG_SPACE_SIZE) { in pci_ext_cfg_is_aliased()1682 int pos = PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()1685 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()1687 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()1714 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()1725 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()1731 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()
846 a->size = PCI_CFG_SPACE_SIZE; in pci_dev_config_attr_is_visible()847 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_dev_config_attr_is_visible()
544 u16 pos = PCI_CFG_SPACE_SIZE; in pci_find_next_ext_capability()547 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in pci_find_next_ext_capability()549 if (dev->cfg_size <= PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()570 if (pos < PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
5268 if (pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &status) != in quirk_intel_qat_vf_cap()5270 pdev->cfg_size = PCI_CFG_SPACE_SIZE; in quirk_intel_qat_vf_cap()
134 if (where < PCI_CFG_SPACE_SIZE && priv->cfg0_base) in pci_loongson_map_bus()
29 #define PCI_CFG_SPACE_SIZE 256 macro
Completed in 43 milliseconds