Lines Matching full:super
3 * Based on clk-super.c
52 struct tegra_clk_super_mux *super = to_clk_super_mux(hw); in cclk_super_recalc_rate() local
53 u32 val = readl_relaxed(super->reg); in cclk_super_recalc_rate()
73 struct tegra_clk_super_mux *super = to_clk_super_mux(hw); in cclk_super_determine_rate() local
87 if (super->flags & TEGRA20_SUPER_CLK) in cclk_super_determine_rate()
137 struct tegra_clk_super_mux *super; in tegra_clk_register_super_cclk() local
145 super = kzalloc(sizeof(*super), GFP_KERNEL); in tegra_clk_register_super_cclk()
146 if (!super) in tegra_clk_register_super_cclk()
154 super->reg = reg; in tegra_clk_register_super_cclk()
155 super->lock = lock; in tegra_clk_register_super_cclk()
156 super->width = 4; in tegra_clk_register_super_cclk()
157 super->flags = clk_super_flags; in tegra_clk_register_super_cclk()
158 super->hw.init = &init; in tegra_clk_register_super_cclk()
160 if (super->flags & TEGRA20_SUPER_CLK) { in tegra_clk_register_super_cclk()
165 super->frac_div.reg = reg + 4; in tegra_clk_register_super_cclk()
166 super->frac_div.shift = 16; in tegra_clk_register_super_cclk()
167 super->frac_div.width = 8; in tegra_clk_register_super_cclk()
168 super->frac_div.frac_width = 1; in tegra_clk_register_super_cclk()
169 super->frac_div.lock = lock; in tegra_clk_register_super_cclk()
170 super->div_ops = &tegra_clk_frac_div_ops; in tegra_clk_register_super_cclk()
200 clk = clk_register(NULL, &super->hw); in tegra_clk_register_super_cclk()
202 kfree(super); in tegra_clk_register_super_cclk()
204 cclk_super = super; in tegra_clk_register_super_cclk()