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

/linux-4.1.27/arch/arm/mach-imx/
H A Dclk-fixup-mux.c44 struct clk_fixup_mux *fixup_mux = to_clk_fixup_mux(hw); clk_fixup_mux_get_parent() local
46 return fixup_mux->ops->get_parent(&fixup_mux->mux.hw); clk_fixup_mux_get_parent()
51 struct clk_fixup_mux *fixup_mux = to_clk_fixup_mux(hw); clk_fixup_mux_set_parent() local
61 fixup_mux->fixup(&val); clk_fixup_mux_set_parent()
78 struct clk_fixup_mux *fixup_mux; imx_clk_fixup_mux() local
85 fixup_mux = kzalloc(sizeof(*fixup_mux), GFP_KERNEL); imx_clk_fixup_mux()
86 if (!fixup_mux) imx_clk_fixup_mux()
95 fixup_mux->mux.reg = reg; imx_clk_fixup_mux()
96 fixup_mux->mux.shift = shift; imx_clk_fixup_mux()
97 fixup_mux->mux.mask = BIT(width) - 1; imx_clk_fixup_mux()
98 fixup_mux->mux.lock = &imx_ccm_lock; imx_clk_fixup_mux()
99 fixup_mux->mux.hw.init = &init; imx_clk_fixup_mux()
100 fixup_mux->ops = &clk_mux_ops; imx_clk_fixup_mux()
101 fixup_mux->fixup = fixup; imx_clk_fixup_mux()
103 clk = clk_register(NULL, &fixup_mux->mux.hw); imx_clk_fixup_mux()
105 kfree(fixup_mux); imx_clk_fixup_mux()

Completed in 134 milliseconds