Searched refs:parent_sel (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/clk/bcm/ |
D | clk-kona-setup.c | 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() [all …]
|
D | clk-kona.c | 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() [all …]
|
D | clk-kona.h | 345 u32 *parent_sel; /* array of parent selector values */ member
|