Lines Matching full:sel
23 static void __krait_mux_set_sel(struct krait_mux_clk *mux, int sel) in __krait_mux_set_sel() argument
39 regval |= (sel & mux->mask) << mux->shift; in __krait_mux_set_sel()
42 regval |= (sel & mux->mask) << (mux->shift + LPL_SHIFT); in __krait_mux_set_sel()
66 u32 sel; in krait_mux_set_parent() local
68 sel = clk_mux_index_to_val(mux->parent_map, 0, index); in krait_mux_set_parent()
69 mux->en_mask = sel; in krait_mux_set_parent()
72 __krait_mux_set_sel(mux, sel); in krait_mux_set_parent()
82 u32 sel; in krait_mux_get_parent() local
84 sel = krait_get_l2_indirect_reg(mux->offset); in krait_mux_get_parent()
85 sel >>= mux->shift; in krait_mux_get_parent()
86 sel &= mux->mask; in krait_mux_get_parent()
87 mux->en_mask = sel; in krait_mux_get_parent()
89 return clk_mux_val_to_index(hw, mux->parent_map, 0, sel); in krait_mux_get_parent()