Lines Matching refs:parent_sel
309 max_sel = sel->parent_sel[sel->parent_count - 1]; in sel_valid()
322 kfree(sel->parent_sel); in sel_valid()
323 sel->parent_sel = NULL; in sel_valid()
539 static u32 *parent_sel; in parent_process() local
586 parent_sel = kmalloc_array(parent_count, sizeof(*parent_sel), in parent_process()
588 if (!parent_sel) { in parent_process()
598 parent_sel[j] = i; in parent_process()
605 return parent_sel; in parent_process()
614 u32 *parent_sel; in clk_sel_setup() local
630 parent_sel = parent_process(clocks, &parent_count, &parent_names); in clk_sel_setup()
631 if (IS_ERR(parent_sel)) { in clk_sel_setup()
632 int ret = PTR_ERR(parent_sel); in clk_sel_setup()
644 sel->parent_sel = parent_sel; in clk_sel_setup()
652 kfree(sel->parent_sel); in clk_sel_teardown()
653 sel->parent_sel = NULL; in clk_sel_teardown()