Searched refs:parent_sel (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/clk/bcm/ |
D | clk-kona-setup.c | 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() [all …]
|
D | clk-kona.c | 813 static u8 parent_index(struct bcm_clk_sel *sel, u8 parent_sel) in parent_index() argument 819 if (sel->parent_sel[i] == parent_sel) in parent_index() 836 u32 parent_sel; in selector_read_index() local 848 parent_sel = bitfield_extract(reg_val, sel->shift, sel->width); in selector_read_index() 851 index = parent_index(sel, parent_sel); in selector_read_index() 854 __func__, parent_sel, ccu->name, sel->offset); in selector_read_index() 869 u32 parent_sel; in __sel_commit() local 885 parent_sel = bitfield_extract(reg_val, sel->shift, sel->width); in __sel_commit() 886 index = parent_index(sel, parent_sel); in __sel_commit() 895 parent_sel = sel->parent_sel[sel->clk_index]; in __sel_commit() [all …]
|
D | clk-kona.h | 337 u32 *parent_sel; /* array of parent selector values */ member
|