Lines Matching refs:soc
529 const struct tegra_pcie_soc_data *soc = port->pcie->soc_data; in tegra_pcie_port_enable() local
537 if (soc->has_pex_clkreq_en) in tegra_pcie_port_enable()
549 const struct tegra_pcie_soc_data *soc = port->pcie->soc_data; in tegra_pcie_port_disable() local
561 if (soc->has_pex_clkreq_en) in tegra_pcie_port_disable()
758 const struct tegra_pcie_soc_data *soc = pcie->soc_data; in tegra_pcie_pll_wait() local
764 value = pads_readl(pcie, soc->pads_pll_ctl); in tegra_pcie_pll_wait()
774 const struct tegra_pcie_soc_data *soc = pcie->soc_data; in tegra_pcie_phy_enable() local
790 value = pads_readl(pcie, soc->pads_pll_ctl); in tegra_pcie_phy_enable()
792 value |= PADS_PLL_CTL_REFCLK_INTERNAL_CML | soc->tx_ref_sel; in tegra_pcie_phy_enable()
793 pads_writel(pcie, value, soc->pads_pll_ctl); in tegra_pcie_phy_enable()
796 value = pads_readl(pcie, soc->pads_pll_ctl); in tegra_pcie_phy_enable()
798 pads_writel(pcie, value, soc->pads_pll_ctl); in tegra_pcie_phy_enable()
803 value = pads_readl(pcie, soc->pads_pll_ctl); in tegra_pcie_phy_enable()
805 pads_writel(pcie, value, soc->pads_pll_ctl); in tegra_pcie_phy_enable()
810 if (soc->num_ports > 2) in tegra_pcie_phy_enable()
835 const struct tegra_pcie_soc_data *soc = pcie->soc_data; in tegra_pcie_enable_controller() local
849 if (soc->has_pex_bias_ctrl) in tegra_pcie_enable_controller()
862 if (soc->has_gen2) { in tegra_pcie_enable_controller()
894 if (soc->has_intr_prsnt_sense) in tegra_pcie_enable_controller()
932 const struct tegra_pcie_soc_data *soc = pcie->soc_data; in tegra_pcie_power_on() local
962 if (soc->has_cml_clk) { in tegra_pcie_power_on()
982 const struct tegra_pcie_soc_data *soc = pcie->soc_data; in tegra_pcie_clocks_get() local
996 if (soc->has_cml_clk) { in tegra_pcie_clocks_get()
1264 const struct tegra_pcie_soc_data *soc = pcie->soc_data; in tegra_pcie_enable_msi() local
1302 afi_writel(pcie, base >> soc->msi_base_shift, AFI_MSI_FPCI_BAR_ST); in tegra_pcie_enable_msi()
1577 const struct tegra_pcie_soc_data *soc = pcie->soc_data; in tegra_pcie_parse_dt() local
1670 if (index < 1 || index > soc->num_ports) { in tegra_pcie_parse_dt()