spear13xx_pcie 72 drivers/pci/controller/dwc/pcie-spear13xx.c static int spear13xx_pcie_establish_link(struct spear13xx_pcie *spear13xx_pcie) spear13xx_pcie 74 drivers/pci/controller/dwc/pcie-spear13xx.c struct dw_pcie *pci = spear13xx_pcie->pci; spear13xx_pcie 76 drivers/pci/controller/dwc/pcie-spear13xx.c struct pcie_app_reg *app_reg = spear13xx_pcie->app_base; spear13xx_pcie 103 drivers/pci/controller/dwc/pcie-spear13xx.c if (spear13xx_pcie->is_gen1) { spear13xx_pcie 134 drivers/pci/controller/dwc/pcie-spear13xx.c struct spear13xx_pcie *spear13xx_pcie = arg; spear13xx_pcie 135 drivers/pci/controller/dwc/pcie-spear13xx.c struct pcie_app_reg *app_reg = spear13xx_pcie->app_base; spear13xx_pcie 136 drivers/pci/controller/dwc/pcie-spear13xx.c struct dw_pcie *pci = spear13xx_pcie->pci; spear13xx_pcie 152 drivers/pci/controller/dwc/pcie-spear13xx.c static void spear13xx_pcie_enable_interrupts(struct spear13xx_pcie *spear13xx_pcie) spear13xx_pcie 154 drivers/pci/controller/dwc/pcie-spear13xx.c struct dw_pcie *pci = spear13xx_pcie->pci; spear13xx_pcie 156 drivers/pci/controller/dwc/pcie-spear13xx.c struct pcie_app_reg *app_reg = spear13xx_pcie->app_base; spear13xx_pcie 168 drivers/pci/controller/dwc/pcie-spear13xx.c struct spear13xx_pcie *spear13xx_pcie = to_spear13xx_pcie(pci); spear13xx_pcie 169 drivers/pci/controller/dwc/pcie-spear13xx.c struct pcie_app_reg *app_reg = spear13xx_pcie->app_base; spear13xx_pcie 180 drivers/pci/controller/dwc/pcie-spear13xx.c struct spear13xx_pcie *spear13xx_pcie = to_spear13xx_pcie(pci); spear13xx_pcie 182 drivers/pci/controller/dwc/pcie-spear13xx.c spear13xx_pcie_establish_link(spear13xx_pcie); spear13xx_pcie 183 drivers/pci/controller/dwc/pcie-spear13xx.c spear13xx_pcie_enable_interrupts(spear13xx_pcie); spear13xx_pcie 192 drivers/pci/controller/dwc/pcie-spear13xx.c static int spear13xx_add_pcie_port(struct spear13xx_pcie *spear13xx_pcie, spear13xx_pcie 195 drivers/pci/controller/dwc/pcie-spear13xx.c struct dw_pcie *pci = spear13xx_pcie->pci; spear13xx_pcie 207 drivers/pci/controller/dwc/pcie-spear13xx.c "spear1340-pcie", spear13xx_pcie); spear13xx_pcie 232 drivers/pci/controller/dwc/pcie-spear13xx.c struct spear13xx_pcie *spear13xx_pcie; spear13xx_pcie 237 drivers/pci/controller/dwc/pcie-spear13xx.c spear13xx_pcie = devm_kzalloc(dev, sizeof(*spear13xx_pcie), GFP_KERNEL); spear13xx_pcie 238 drivers/pci/controller/dwc/pcie-spear13xx.c if (!spear13xx_pcie) spear13xx_pcie 248 drivers/pci/controller/dwc/pcie-spear13xx.c spear13xx_pcie->pci = pci; spear13xx_pcie 250 drivers/pci/controller/dwc/pcie-spear13xx.c spear13xx_pcie->phy = devm_phy_get(dev, "pcie-phy"); spear13xx_pcie 251 drivers/pci/controller/dwc/pcie-spear13xx.c if (IS_ERR(spear13xx_pcie->phy)) { spear13xx_pcie 252 drivers/pci/controller/dwc/pcie-spear13xx.c ret = PTR_ERR(spear13xx_pcie->phy); spear13xx_pcie 260 drivers/pci/controller/dwc/pcie-spear13xx.c phy_init(spear13xx_pcie->phy); spear13xx_pcie 262 drivers/pci/controller/dwc/pcie-spear13xx.c spear13xx_pcie->clk = devm_clk_get(dev, NULL); spear13xx_pcie 263 drivers/pci/controller/dwc/pcie-spear13xx.c if (IS_ERR(spear13xx_pcie->clk)) { spear13xx_pcie 265 drivers/pci/controller/dwc/pcie-spear13xx.c return PTR_ERR(spear13xx_pcie->clk); spear13xx_pcie 267 drivers/pci/controller/dwc/pcie-spear13xx.c ret = clk_prepare_enable(spear13xx_pcie->clk); spear13xx_pcie 280 drivers/pci/controller/dwc/pcie-spear13xx.c spear13xx_pcie->app_base = pci->dbi_base + 0x2000; spear13xx_pcie 283 drivers/pci/controller/dwc/pcie-spear13xx.c spear13xx_pcie->is_gen1 = true; spear13xx_pcie 285 drivers/pci/controller/dwc/pcie-spear13xx.c platform_set_drvdata(pdev, spear13xx_pcie); spear13xx_pcie 287 drivers/pci/controller/dwc/pcie-spear13xx.c ret = spear13xx_add_pcie_port(spear13xx_pcie, pdev); spear13xx_pcie 294 drivers/pci/controller/dwc/pcie-spear13xx.c clk_disable_unprepare(spear13xx_pcie->clk);