Lines Matching defs:pcie
192 /* atmu setup for fsl pci/pcie controller */
215 if (of_device_is_compatible(hose->dn, "fsl,bsc9132-pcie")) {
715 struct mpc83xx_pcie_priv *pcie = hose->dn->data;
727 return pcie->cfg_type0 + offset;
729 if (pcie->dev_base == dev_base)
732 out_le32(pcie->cfg_type0 + PEX_OUTWIN0_TAL, dev_base);
734 pcie->dev_base = dev_base;
736 return pcie->cfg_type1 + offset;
760 struct mpc83xx_pcie_priv *pcie;
764 pcie = zalloc_maybe_bootmem(sizeof(*pcie), GFP_KERNEL);
765 if (!pcie)
768 pcie->cfg_type0 = ioremap(reg->start, resource_size(reg));
769 if (!pcie->cfg_type0)
772 cfg_bar = in_le32(pcie->cfg_type0 + PEX_OUTWIN0_BAR);
779 pcie->cfg_type1 = ioremap(cfg_bar, 0x1000);
780 if (!pcie->cfg_type1)
784 hose->dn->data = pcie;
788 out_le32(pcie->cfg_type0 + PEX_OUTWIN0_TAH, 0);
789 out_le32(pcie->cfg_type0 + PEX_OUTWIN0_TAL, 0);
796 iounmap(pcie->cfg_type0);
798 kfree(pcie);
867 if (of_device_is_compatible(dev, "fsl,mpc8314-pcie")) {
899 struct mpc83xx_pcie_priv *pcie = hose->dn->data;
904 in = pcie->cfg_type0 + PEX_RC_INWIN_BASE;
1095 { .compatible = "fsl,mpc8548-pcie", },
1097 { .compatible = "fsl,mpc8641-pcie", },
1098 { .compatible = "fsl,qoriq-pcie", },
1099 { .compatible = "fsl,qoriq-pcie-v2.1", },
1100 { .compatible = "fsl,qoriq-pcie-v2.2", },
1101 { .compatible = "fsl,qoriq-pcie-v2.3", },
1102 { .compatible = "fsl,qoriq-pcie-v2.4", },
1103 { .compatible = "fsl,qoriq-pcie-v3.0", },
1109 { .compatible = "fsl,p1022-pcie", },
1110 { .compatible = "fsl,p4080-pcie", },