Lines Matching refs:divider
30 struct clk_divider divider; member
37 struct clk_divider *divider = to_clk_divider(hw); in to_clk_fixup_div() local
39 return container_of(divider, struct clk_fixup_div, divider); in to_clk_fixup_div()
47 return fixup_div->ops->recalc_rate(&fixup_div->divider.hw, parent_rate); in clk_fixup_div_recalc_rate()
55 return fixup_div->ops->round_rate(&fixup_div->divider.hw, rate, prate); in clk_fixup_div_round_rate()
63 unsigned int divider, value; in clk_fixup_div_set_rate() local
67 divider = parent_rate / rate; in clk_fixup_div_set_rate()
70 value = divider - 1; in clk_fixup_div_set_rate()
115 fixup_div->divider.reg = reg; in imx_clk_fixup_divider()
116 fixup_div->divider.shift = shift; in imx_clk_fixup_divider()
117 fixup_div->divider.width = width; in imx_clk_fixup_divider()
118 fixup_div->divider.lock = &imx_ccm_lock; in imx_clk_fixup_divider()
119 fixup_div->divider.hw.init = &init; in imx_clk_fixup_divider()
123 clk = clk_register(NULL, &fixup_div->divider.hw); in imx_clk_fixup_divider()