Home
last modified time | relevance | path

Searched refs:pcie_start (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/pci/
H A Dpci-bridge-emul.c323 ((bridge->pcie_start > bridge->ssid_start) ? (bridge->pcie_start << 8) : 0); in pci_bridge_emul_read_ssid()
365 if (!bridge->ssid_start && !bridge->pcie_start) { in pci_bridge_emul_init()
369 bridge->pcie_start = bridge->ssid_start + PCI_CAP_SSID_SIZEOF; in pci_bridge_emul_init()
374 bridge->ssid_start = bridge->pcie_start + PCI_CAP_PCIE_SIZEOF; in pci_bridge_emul_init()
375 } else if (!bridge->pcie_start && bridge->has_pcie) { in pci_bridge_emul_init()
377 bridge->pcie_start = PCI_BRIDGE_CONF_END; in pci_bridge_emul_init()
379 bridge->pcie_start = bridge->ssid_start + PCI_CAP_SSID_SIZEOF; in pci_bridge_emul_init()
480 } else if (reg >= bridge->pcie_start && reg < bridge->pcie_start + PCI_CAP_PCIE_SIZEOF && in pci_bridge_emul_conf_read()
483 reg -= bridge->pcie_start; in pci_bridge_emul_conf_read()
554 } else if (reg >= bridge->pcie_start && reg < bridge->pcie_start + PCI_CAP_PCIE_SIZEOF && in pci_bridge_emul_conf_write()
[all …]
H A Dpci-bridge-emul.h134 u8 pcie_start; member
/openbmc/linux/drivers/pci/controller/
H A Dpci-mvebu.c949 bridge->pcie_start = PCIE_CAP_PCIEXP; in mvebu_pci_bridge_emul_init()
H A Dpci-aardvark.c1084 bridge->pcie_start = PCIE_CORE_PCIEXP_CAP; in advk_sw_pci_bridge_init()