Lines Matching refs:parent_sel
821 static u8 parent_index(struct bcm_clk_sel *sel, u8 parent_sel) in parent_index() argument
827 if (sel->parent_sel[i] == parent_sel) in parent_index()
844 u32 parent_sel; in selector_read_index() local
856 parent_sel = bitfield_extract(reg_val, sel->shift, sel->width); in selector_read_index()
859 index = parent_index(sel, parent_sel); in selector_read_index()
862 __func__, parent_sel, ccu->name, sel->offset); in selector_read_index()
877 u32 parent_sel; in __sel_commit() local
893 parent_sel = bitfield_extract(reg_val, sel->shift, sel->width); in __sel_commit()
894 index = parent_index(sel, parent_sel); in __sel_commit()
903 parent_sel = sel->parent_sel[sel->clk_index]; in __sel_commit()
912 reg_val = bitfield_replace(reg_val, sel->shift, sel->width, parent_sel); in __sel_commit()