Searched refs:fixup_div (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/clk/imx/
H A Dclk-fixup-div.c46 struct clk_fixup_div *fixup_div = to_clk_fixup_div(hw); clk_fixup_div_recalc_rate() local
48 return fixup_div->ops->recalc_rate(&fixup_div->divider.hw, parent_rate); clk_fixup_div_recalc_rate()
54 struct clk_fixup_div *fixup_div = to_clk_fixup_div(hw); clk_fixup_div_round_rate() local
56 return fixup_div->ops->round_rate(&fixup_div->divider.hw, rate, prate); clk_fixup_div_round_rate()
62 struct clk_fixup_div *fixup_div = to_clk_fixup_div(hw); clk_fixup_div_set_rate() local
81 fixup_div->fixup(&val); clk_fixup_div_set_rate()
99 struct clk_fixup_div *fixup_div; imx_clk_fixup_divider() local
106 fixup_div = kzalloc(sizeof(*fixup_div), GFP_KERNEL); imx_clk_fixup_divider()
107 if (!fixup_div) imx_clk_fixup_divider()
116 fixup_div->divider.reg = reg; imx_clk_fixup_divider()
117 fixup_div->divider.shift = shift; imx_clk_fixup_divider()
118 fixup_div->divider.width = width; imx_clk_fixup_divider()
119 fixup_div->divider.lock = &imx_ccm_lock; imx_clk_fixup_divider()
120 fixup_div->divider.hw.init = &init; imx_clk_fixup_divider()
121 fixup_div->ops = &clk_divider_ops; imx_clk_fixup_divider()
122 fixup_div->fixup = fixup; imx_clk_fixup_divider()
124 clk = clk_register(NULL, &fixup_div->divider.hw); imx_clk_fixup_divider()
126 kfree(fixup_div); imx_clk_fixup_divider()

Completed in 57 milliseconds