Lines Matching refs:plldss
869 static void plldss_defaults(const char *pll_name, struct tegra_clk_pll *plldss, in plldss_defaults() argument
873 u32 val = readl_relaxed(clk_base + plldss->params->base_reg); in plldss_defaults()
875 plldss->params->defaults_set = true; in plldss_defaults()
885 plldss->params->defaults_set = false; in plldss_defaults()
890 _pll_misc_chk_default(clk_base, plldss->params, 0, default_val, in plldss_defaults()
899 if (plldss->params->ssc_ctrl_en_mask) { in plldss_defaults()
901 _pll_misc_chk_default(clk_base, plldss->params, 1, in plldss_defaults()
904 _pll_misc_chk_default(clk_base, plldss->params, 2, in plldss_defaults()
907 _pll_misc_chk_default(clk_base, plldss->params, 3, in plldss_defaults()
909 } else if (plldss->params->ext_misc_reg[1]) { in plldss_defaults()
911 _pll_misc_chk_default(clk_base, plldss->params, 1, in plldss_defaults()
916 if (!plldss->params->defaults_set) in plldss_defaults()
924 plldss->params->base_reg); in plldss_defaults()
927 val = readl_relaxed(clk_base + plldss->params->ext_misc_reg[0]); in plldss_defaults()
930 writel_relaxed(val, clk_base + plldss->params->ext_misc_reg[0]); in plldss_defaults()
939 writel_relaxed(val, clk_base + plldss->params->base_reg); in plldss_defaults()
942 if (!plldss->params->ext_misc_reg[1]) { in plldss_defaults()
944 plldss->params->ext_misc_reg[0]); in plldss_defaults()
950 plldss->params->ext_misc_reg[0]); in plldss_defaults()
953 clk_base + plldss->params->ext_misc_reg[1]); in plldss_defaults()
954 writel_relaxed(misc2_val, clk_base + plldss->params->ext_misc_reg[2]); in plldss_defaults()
955 writel_relaxed(misc3_val, clk_base + plldss->params->ext_misc_reg[3]); in plldss_defaults()