Home
last modified time | relevance | path

Searched refs:parent_sel (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/drivers/clk/bcm/
Dclk-kona-setup.c309 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()
[all …]
Dclk-kona.c820 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()
[all …]
Dclk-kona.h345 u32 *parent_sel; /* array of parent selector values */ member