Lines Matching refs:parent_sel
820 static u8 parent_index(struct bcm_clk_sel *sel, u8 parent_sel) in parent_index() argument
826 if (sel->parent_sel[i] == parent_sel) in parent_index()
843 u32 parent_sel; in selector_read_index() local
855 parent_sel = bitfield_extract(reg_val, sel->shift, sel->width); in selector_read_index()
858 index = parent_index(sel, parent_sel); in selector_read_index()
861 __func__, parent_sel, ccu->name, sel->offset); in selector_read_index()
876 u32 parent_sel; in __sel_commit() local
892 parent_sel = bitfield_extract(reg_val, sel->shift, sel->width); in __sel_commit()
893 index = parent_index(sel, parent_sel); in __sel_commit()
902 parent_sel = sel->parent_sel[sel->clk_index]; in __sel_commit()
911 reg_val = bitfield_replace(reg_val, sel->shift, sel->width, parent_sel); in __sel_commit()