Lines Matching defs:pcie
198 /* atmu setup for fsl pci/pcie controller */
221 if (of_device_is_compatible(hose->dn, "fsl,bsc9132-pcie")) {
721 struct mpc83xx_pcie_priv *pcie = hose->dn->data;
733 return pcie->cfg_type0 + offset;
735 if (pcie->dev_base == dev_base)
738 out_le32(pcie->cfg_type0 + PEX_OUTWIN0_TAL, dev_base);
740 pcie->dev_base = dev_base;
742 return pcie->cfg_type1 + offset;
766 struct mpc83xx_pcie_priv *pcie;
770 pcie = kzalloc(sizeof(*pcie), GFP_KERNEL);
771 if (!pcie)
774 pcie->cfg_type0 = ioremap(reg->start, resource_size(reg));
775 if (!pcie->cfg_type0)
778 cfg_bar = in_le32(pcie->cfg_type0 + PEX_OUTWIN0_BAR);
785 pcie->cfg_type1 = ioremap(cfg_bar, 0x1000);
786 if (!pcie->cfg_type1)
790 hose->dn->data = pcie;
794 out_le32(pcie->cfg_type0 + PEX_OUTWIN0_TAH, 0);
795 out_le32(pcie->cfg_type0 + PEX_OUTWIN0_TAL, 0);
802 iounmap(pcie->cfg_type0);
804 kfree(pcie);
873 if (of_device_is_compatible(dev, "fsl,mpc8314-pcie")) {
905 struct mpc83xx_pcie_priv *pcie = hose->dn->data;
910 in = pcie->cfg_type0 + PEX_RC_INWIN_BASE;
1101 { .compatible = "fsl,mpc8548-pcie", },
1103 { .compatible = "fsl,mpc8641-pcie", },
1104 { .compatible = "fsl,qoriq-pcie", },
1105 { .compatible = "fsl,qoriq-pcie-v2.1", },
1106 { .compatible = "fsl,qoriq-pcie-v2.2", },
1107 { .compatible = "fsl,qoriq-pcie-v2.3", },
1108 { .compatible = "fsl,qoriq-pcie-v2.4", },
1109 { .compatible = "fsl,qoriq-pcie-v3.0", },
1115 { .compatible = "fsl,p1022-pcie", },
1116 { .compatible = "fsl,p4080-pcie", },