Lines Matching defs:soc
226 const struct tegra_pcie_soc *soc;
608 const struct tegra_pcie_soc *soc = pcie->soc;
636 if (soc->has_cml_clk) {
655 const struct tegra_pcie_soc *soc = pcie->soc;
660 value = pads_readl(pcie, soc->pads_pll_ctl);
670 const struct tegra_pcie_soc *soc = pcie->soc;
686 value = pads_readl(pcie, soc->pads_pll_ctl);
688 value |= PADS_PLL_CTL_REFCLK_INTERNAL_CML | soc->tx_ref_sel;
689 pads_writel(pcie, value, soc->pads_pll_ctl);
692 value = pads_readl(pcie, soc->pads_pll_ctl);
694 pads_writel(pcie, value, soc->pads_pll_ctl);
699 value = pads_readl(pcie, soc->pads_pll_ctl);
701 pads_writel(pcie, value, soc->pads_pll_ctl);
726 const struct tegra_pcie_soc *soc = pcie->soc;
742 if (soc->has_pex_bias_ctrl)
756 if (soc->has_gen2)
885 ret = port->pcie->soc->afi_pex2_ctrl;
922 const struct tegra_pcie_soc *soc = pcie->soc;
930 if (pcie->soc->has_pex_clkreq_en)
939 if (soc->force_pca_enable) {
946 pads_writel(pcie, soc->pads_refclk_cfg0, PADS_REFCLK_CFG0);
947 if (soc->num_ports > 2)
948 pads_writel(pcie, soc->pads_refclk_cfg1, PADS_REFCLK_CFG1);
1099 pcie->soc = &pci_tegra_soc[id];