Lines Matching refs:shift
44 val = ti_clk_ll_ops->clk_readl(mux->reg) >> mux->shift; in ti_clk_mux_get_parent()
88 val = mux->mask << (mux->shift + 16); in ti_clk_mux_set_parent()
91 val &= ~(mux->mask << mux->shift); in ti_clk_mux_set_parent()
93 val |= index << mux->shift; in ti_clk_mux_set_parent()
111 u8 shift, u32 mask, u8 clk_mux_flags, in _register_mux() argument
133 mux->shift = shift; in _register_mux()
196 u32 shift = 0; in of_mux_clk_setup() local
216 of_property_read_u32(node, "ti,bit-shift", &shift); in of_mux_clk_setup()
232 flags, reg, shift, mask, clk_mux_flags, NULL, in of_mux_clk_setup()
258 mux->shift = setup->bit_shift; in ti_clk_build_component_mux()
290 mux->shift = val; in of_ti_composite_mux_clk_setup()