Lines Matching refs:fixup_div
39 struct clk_fixup_div *fixup_div = to_clk_fixup_div(hw); in clk_fixup_div_recalc_rate() local
41 return fixup_div->ops->recalc_rate(&fixup_div->divider.hw, parent_rate); in clk_fixup_div_recalc_rate()
47 struct clk_fixup_div *fixup_div = to_clk_fixup_div(hw); in clk_fixup_div_round_rate() local
49 return fixup_div->ops->round_rate(&fixup_div->divider.hw, rate, prate); in clk_fixup_div_round_rate()
55 struct clk_fixup_div *fixup_div = to_clk_fixup_div(hw); in clk_fixup_div_set_rate() local
74 fixup_div->fixup(&val); in clk_fixup_div_set_rate()
92 struct clk_fixup_div *fixup_div; in imx_clk_hw_fixup_divider() local
100 fixup_div = kzalloc(sizeof(*fixup_div), GFP_KERNEL); in imx_clk_hw_fixup_divider()
101 if (!fixup_div) in imx_clk_hw_fixup_divider()
110 fixup_div->divider.reg = reg; in imx_clk_hw_fixup_divider()
111 fixup_div->divider.shift = shift; in imx_clk_hw_fixup_divider()
112 fixup_div->divider.width = width; in imx_clk_hw_fixup_divider()
113 fixup_div->divider.lock = &imx_ccm_lock; in imx_clk_hw_fixup_divider()
114 fixup_div->divider.hw.init = &init; in imx_clk_hw_fixup_divider()
115 fixup_div->ops = &clk_divider_ops; in imx_clk_hw_fixup_divider()
116 fixup_div->fixup = fixup; in imx_clk_hw_fixup_divider()
118 hw = &fixup_div->divider.hw; in imx_clk_hw_fixup_divider()
122 kfree(fixup_div); in imx_clk_hw_fixup_divider()