Lines Matching refs:parent_sel
813 static u8 parent_index(struct bcm_clk_sel *sel, u8 parent_sel) in parent_index() argument
819 if (sel->parent_sel[i] == parent_sel) in parent_index()
836 u32 parent_sel; in selector_read_index() local
848 parent_sel = bitfield_extract(reg_val, sel->shift, sel->width); in selector_read_index()
851 index = parent_index(sel, parent_sel); in selector_read_index()
854 __func__, parent_sel, ccu->name, sel->offset); in selector_read_index()
869 u32 parent_sel; in __sel_commit() local
885 parent_sel = bitfield_extract(reg_val, sel->shift, sel->width); in __sel_commit()
886 index = parent_index(sel, parent_sel); in __sel_commit()
895 parent_sel = sel->parent_sel[sel->clk_index]; in __sel_commit()
904 reg_val = bitfield_replace(reg_val, sel->shift, sel->width, parent_sel); in __sel_commit()