• Home
  • Raw
  • Download

Lines Matching refs:clks

101 struct clk_hw *s10_register_periph(const struct stratix10_perip_c_clock *clks,  in s10_register_periph()  argument
107 const char *name = clks->name; in s10_register_periph()
108 const char *parent_name = clks->parent_name; in s10_register_periph()
115 periph_clk->hw.reg = reg + clks->offset; in s10_register_periph()
119 init.flags = clks->flags; in s10_register_periph()
121 init.num_parents = clks->num_parents; in s10_register_periph()
124 init.parent_data = clks->parent_data; in s10_register_periph()
137 struct clk_hw *n5x_register_periph(const struct n5x_perip_c_clock *clks, in n5x_register_periph() argument
143 const char *name = clks->name; in n5x_register_periph()
144 const char *parent_name = clks->parent_name; in n5x_register_periph()
151 periph_clk->hw.reg = regbase + clks->offset; in n5x_register_periph()
152 periph_clk->shift = clks->shift; in n5x_register_periph()
156 init.flags = clks->flags; in n5x_register_periph()
158 init.num_parents = clks->num_parents; in n5x_register_periph()
172 struct clk_hw *s10_register_cnt_periph(const struct stratix10_perip_cnt_clock *clks, in s10_register_cnt_periph() argument
178 const char *name = clks->name; in s10_register_cnt_periph()
179 const char *parent_name = clks->parent_name; in s10_register_cnt_periph()
186 if (clks->offset) in s10_register_cnt_periph()
187 periph_clk->hw.reg = regbase + clks->offset; in s10_register_cnt_periph()
191 if (clks->bypass_reg) in s10_register_cnt_periph()
192 periph_clk->bypass_reg = regbase + clks->bypass_reg; in s10_register_cnt_periph()
195 periph_clk->bypass_shift = clks->bypass_shift; in s10_register_cnt_periph()
196 periph_clk->fixed_div = clks->fixed_divider; in s10_register_cnt_periph()
200 init.flags = clks->flags; in s10_register_cnt_periph()
202 init.num_parents = clks->num_parents; in s10_register_cnt_periph()
205 init.parent_data = clks->parent_data; in s10_register_cnt_periph()