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

/linux-master/drivers/pci/
H A Dpci-bridge-emul.c487 } else if (reg >= PCI_CFG_SPACE_SIZE && bridge->has_pcie) {
489 reg -= PCI_CFG_SPACE_SIZE;
561 } else if (reg >= PCI_CFG_SPACE_SIZE && bridge->has_pcie) {
563 reg -= PCI_CFG_SPACE_SIZE;
H A Dprobe.c1672 for (pos = PCI_CFG_SPACE_SIZE;
1673 pos < PCI_CFG_SPACE_EXP_SIZE; pos += PCI_CFG_SPACE_SIZE) {
1699 int pos = PCI_CFG_SPACE_SIZE;
1702 return PCI_CFG_SPACE_SIZE;
1704 return PCI_CFG_SPACE_SIZE;
1731 return PCI_CFG_SPACE_SIZE;
1742 return PCI_CFG_SPACE_SIZE;
1748 return PCI_CFG_SPACE_SIZE;
H A Dpci-sysfs.c822 a->size = PCI_CFG_SPACE_SIZE;
823 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE)
H A Dpci.c559 u16 pos = PCI_CFG_SPACE_SIZE;
562 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8;
564 if (dev->cfg_size <= PCI_CFG_SPACE_SIZE)
585 if (pos < PCI_CFG_SPACE_SIZE)
H A Dquirks.c5461 ret = pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &status);
5463 pdev->cfg_size = PCI_CFG_SPACE_SIZE;
/linux-master/drivers/vfio/pci/
H A Dvfio_pci_config.c258 if (pos >= PCI_CFG_SPACE_SIZE) { /* Extended cap header mangling */
1116 int base = (pos >= PCI_CFG_SPACE_SIZE) ? PCI_CFG_SPACE_SIZE :
1321 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) {
1323 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE,
1338 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) {
1340 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &dword);
1540 loops = (PCI_CFG_SPACE_SIZE - PCI_STD_HEADER_SIZEOF) / PCI_CAP_SIZEOF;
1620 epos = PCI_CFG_SPACE_SIZE;
1622 loops = (pdev->cfg_size - PCI_CFG_SPACE_SIZE) / PCI_CAP_SIZEO
[all...]
/linux-master/drivers/pci/controller/
H A Dpci-loongson.c235 if (where < PCI_CFG_SPACE_SIZE && priv->cfg0_base)
/linux-master/drivers/pci/controller/dwc/
H A Dpcie-designware.c248 int pos = PCI_CFG_SPACE_SIZE;
251 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8;
269 if (pos < PCI_CFG_SPACE_SIZE)
H A Dpcie-designware-ep.c589 int pos = PCI_CFG_SPACE_SIZE;
/linux-master/include/uapi/linux/
H A Dpci_regs.h29 #define PCI_CFG_SPACE_SIZE 256 macro
/linux-master/arch/x86/pci/
H A Dfixup.c865 int pos = PCI_CFG_SPACE_SIZE, prev = 0;

Completed in 270 milliseconds