Lines Matching refs:list
97 const struct samsung_clock_alias *list, in samsung_clk_register_alias() argument
103 for (idx = 0; idx < nr_clk; idx++, list++) { in samsung_clk_register_alias()
104 if (!list->id) { in samsung_clk_register_alias()
110 clk_hw = ctx->clk_data.hws[list->id]; in samsung_clk_register_alias()
113 list->id); in samsung_clk_register_alias()
117 ret = clk_hw_register_clkdev(clk_hw, list->alias, in samsung_clk_register_alias()
118 list->dev_name); in samsung_clk_register_alias()
121 __func__, list->alias); in samsung_clk_register_alias()
127 const struct samsung_fixed_rate_clock *list, in samsung_clk_register_fixed_rate() argument
133 for (idx = 0; idx < nr_clk; idx++, list++) { in samsung_clk_register_fixed_rate()
134 clk_hw = clk_hw_register_fixed_rate(ctx->dev, list->name, in samsung_clk_register_fixed_rate()
135 list->parent_name, list->flags, list->fixed_rate); in samsung_clk_register_fixed_rate()
138 list->name); in samsung_clk_register_fixed_rate()
142 samsung_clk_add_lookup(ctx, clk_hw, list->id); in samsung_clk_register_fixed_rate()
148 ret = clk_hw_register_clkdev(clk_hw, list->name, NULL); in samsung_clk_register_fixed_rate()
151 __func__, list->name); in samsung_clk_register_fixed_rate()
157 const struct samsung_fixed_factor_clock *list, unsigned int nr_clk) in samsung_clk_register_fixed_factor() argument
162 for (idx = 0; idx < nr_clk; idx++, list++) { in samsung_clk_register_fixed_factor()
163 clk_hw = clk_hw_register_fixed_factor(ctx->dev, list->name, in samsung_clk_register_fixed_factor()
164 list->parent_name, list->flags, list->mult, list->div); in samsung_clk_register_fixed_factor()
167 list->name); in samsung_clk_register_fixed_factor()
171 samsung_clk_add_lookup(ctx, clk_hw, list->id); in samsung_clk_register_fixed_factor()
177 const struct samsung_mux_clock *list, in samsung_clk_register_mux() argument
183 for (idx = 0; idx < nr_clk; idx++, list++) { in samsung_clk_register_mux()
184 clk_hw = clk_hw_register_mux(ctx->dev, list->name, in samsung_clk_register_mux()
185 list->parent_names, list->num_parents, list->flags, in samsung_clk_register_mux()
186 ctx->reg_base + list->offset, in samsung_clk_register_mux()
187 list->shift, list->width, list->mux_flags, &ctx->lock); in samsung_clk_register_mux()
190 list->name); in samsung_clk_register_mux()
194 samsung_clk_add_lookup(ctx, clk_hw, list->id); in samsung_clk_register_mux()
200 const struct samsung_div_clock *list, in samsung_clk_register_div() argument
206 for (idx = 0; idx < nr_clk; idx++, list++) { in samsung_clk_register_div()
207 if (list->table) in samsung_clk_register_div()
209 list->name, list->parent_name, list->flags, in samsung_clk_register_div()
210 ctx->reg_base + list->offset, in samsung_clk_register_div()
211 list->shift, list->width, list->div_flags, in samsung_clk_register_div()
212 list->table, &ctx->lock); in samsung_clk_register_div()
214 clk_hw = clk_hw_register_divider(ctx->dev, list->name, in samsung_clk_register_div()
215 list->parent_name, list->flags, in samsung_clk_register_div()
216 ctx->reg_base + list->offset, list->shift, in samsung_clk_register_div()
217 list->width, list->div_flags, &ctx->lock); in samsung_clk_register_div()
220 list->name); in samsung_clk_register_div()
224 samsung_clk_add_lookup(ctx, clk_hw, list->id); in samsung_clk_register_div()
230 const struct samsung_gate_clock *list, in samsung_clk_register_gate() argument
236 for (idx = 0; idx < nr_clk; idx++, list++) { in samsung_clk_register_gate()
237 clk_hw = clk_hw_register_gate(ctx->dev, list->name, list->parent_name, in samsung_clk_register_gate()
238 list->flags, ctx->reg_base + list->offset, in samsung_clk_register_gate()
239 list->bit_idx, list->gate_flags, &ctx->lock); in samsung_clk_register_gate()
242 list->name); in samsung_clk_register_gate()
246 samsung_clk_add_lookup(ctx, clk_hw, list->id); in samsung_clk_register_gate()