Lines Matching refs:plldss

936 static void plldss_defaults(const char *pll_name, struct tegra_clk_pll *plldss,  in plldss_defaults()  argument
940 u32 val = readl_relaxed(clk_base + plldss->params->base_reg); in plldss_defaults()
942 plldss->params->defaults_set = true; in plldss_defaults()
952 plldss->params->defaults_set = false; in plldss_defaults()
957 _pll_misc_chk_default(clk_base, plldss->params, 0, default_val, in plldss_defaults()
966 if (plldss->params->ssc_ctrl_en_mask) { in plldss_defaults()
968 _pll_misc_chk_default(clk_base, plldss->params, 1, in plldss_defaults()
971 _pll_misc_chk_default(clk_base, plldss->params, 2, in plldss_defaults()
974 _pll_misc_chk_default(clk_base, plldss->params, 3, in plldss_defaults()
976 } else if (plldss->params->ext_misc_reg[1]) { in plldss_defaults()
978 _pll_misc_chk_default(clk_base, plldss->params, 1, in plldss_defaults()
983 if (!plldss->params->defaults_set) in plldss_defaults()
991 plldss->params->base_reg); in plldss_defaults()
994 val = readl_relaxed(clk_base + plldss->params->ext_misc_reg[0]); in plldss_defaults()
997 writel_relaxed(val, clk_base + plldss->params->ext_misc_reg[0]); in plldss_defaults()
1006 writel_relaxed(val, clk_base + plldss->params->base_reg); in plldss_defaults()
1009 if (!plldss->params->ext_misc_reg[1]) { in plldss_defaults()
1011 plldss->params->ext_misc_reg[0]); in plldss_defaults()
1017 plldss->params->ext_misc_reg[0]); in plldss_defaults()
1020 clk_base + plldss->params->ext_misc_reg[1]); in plldss_defaults()
1021 writel_relaxed(misc2_val, clk_base + plldss->params->ext_misc_reg[2]); in plldss_defaults()
1022 writel_relaxed(misc3_val, clk_base + plldss->params->ext_misc_reg[3]); in plldss_defaults()