Lines Matching refs:parent_sel
301 max_sel = sel->parent_sel[sel->parent_count - 1]; in sel_valid()
314 kfree(sel->parent_sel); in sel_valid()
315 sel->parent_sel = NULL; in sel_valid()
531 static u32 *parent_sel; in parent_process() local
578 parent_sel = kmalloc_array(parent_count, sizeof(*parent_sel), in parent_process()
580 if (!parent_sel) { in parent_process()
590 parent_sel[j] = i; in parent_process()
597 return parent_sel; in parent_process()
606 u32 *parent_sel; in clk_sel_setup() local
622 parent_sel = parent_process(clocks, &parent_count, &parent_names); in clk_sel_setup()
623 if (IS_ERR(parent_sel)) { in clk_sel_setup()
624 int ret = PTR_ERR(parent_sel); in clk_sel_setup()
636 sel->parent_sel = parent_sel; in clk_sel_setup()
644 kfree(sel->parent_sel); in clk_sel_teardown()
645 sel->parent_sel = NULL; in clk_sel_teardown()