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()
128 struct tegra_clk_super_mux *super; in tegra_clk_register_super_cclk() local
136 super = kzalloc(sizeof(*super), GFP_KERNEL); in tegra_clk_register_super_cclk()
137 if (!super) in tegra_clk_register_super_cclk()
145 super->reg = reg; in tegra_clk_register_super_cclk()
146 super->lock = lock; in tegra_clk_register_super_cclk()
147 super->width = 4; in tegra_clk_register_super_cclk()
148 super->flags = clk_super_flags; in tegra_clk_register_super_cclk()
149 super->hw.init = &init; in tegra_clk_register_super_cclk()
151 if (super->flags & TEGRA20_SUPER_CLK) { in tegra_clk_register_super_cclk()
156 super->frac_div.reg = reg + 4; in tegra_clk_register_super_cclk()
157 super->frac_div.shift = 16; in tegra_clk_register_super_cclk()
158 super->frac_div.width = 8; in tegra_clk_register_super_cclk()
159 super->frac_div.frac_width = 1; in tegra_clk_register_super_cclk()
160 super->frac_div.lock = lock; in tegra_clk_register_super_cclk()
161 super->div_ops = &tegra_clk_frac_div_ops; in tegra_clk_register_super_cclk()
191 clk = clk_register(NULL, &super->hw); in tegra_clk_register_super_cclk()
193 kfree(super); in tegra_clk_register_super_cclk()
195 cclk_super = super; in tegra_clk_register_super_cclk()