Lines Matching refs:fixup_mux
37 struct clk_fixup_mux *fixup_mux = to_clk_fixup_mux(hw); in clk_fixup_mux_get_parent() local
39 return fixup_mux->ops->get_parent(&fixup_mux->mux.hw); in clk_fixup_mux_get_parent()
44 struct clk_fixup_mux *fixup_mux = to_clk_fixup_mux(hw); in clk_fixup_mux_set_parent() local
54 fixup_mux->fixup(&val); in clk_fixup_mux_set_parent()
72 struct clk_fixup_mux *fixup_mux; in imx_clk_hw_fixup_mux() local
80 fixup_mux = kzalloc(sizeof(*fixup_mux), GFP_KERNEL); in imx_clk_hw_fixup_mux()
81 if (!fixup_mux) in imx_clk_hw_fixup_mux()
90 fixup_mux->mux.reg = reg; in imx_clk_hw_fixup_mux()
91 fixup_mux->mux.shift = shift; in imx_clk_hw_fixup_mux()
92 fixup_mux->mux.mask = BIT(width) - 1; in imx_clk_hw_fixup_mux()
93 fixup_mux->mux.lock = &imx_ccm_lock; in imx_clk_hw_fixup_mux()
94 fixup_mux->mux.hw.init = &init; in imx_clk_hw_fixup_mux()
95 fixup_mux->ops = &clk_mux_ops; in imx_clk_hw_fixup_mux()
96 fixup_mux->fixup = fixup; in imx_clk_hw_fixup_mux()
98 hw = &fixup_mux->mux.hw; in imx_clk_hw_fixup_mux()
102 kfree(fixup_mux); in imx_clk_hw_fixup_mux()