Lines Matching refs:shift
44 val = ti_clk_ll_ops->clk_readl(mux->reg) >> mux->shift; in ti_clk_mux_get_parent()
84 val = mux->mask << (mux->shift + 16); in ti_clk_mux_set_parent()
87 val &= ~(mux->mask << mux->shift); in ti_clk_mux_set_parent()
89 val |= index << mux->shift; in ti_clk_mux_set_parent()
104 u8 shift, u32 mask, u8 clk_mux_flags, in _register_mux() argument
126 mux->shift = shift; in _register_mux()
187 u32 shift = 0; in of_mux_clk_setup() local
206 of_property_read_u32(node, "ti,bit-shift", &shift); in of_mux_clk_setup()
222 flags, reg, shift, mask, clk_mux_flags, NULL); in of_mux_clk_setup()
247 mux->shift = setup->bit_shift; in ti_clk_build_component_mux()
279 mux->shift = val; in of_ti_composite_mux_clk_setup()