Searched refs:parent_count (Results 1 – 6 of 6) sorted by relevance
/drivers/clk/bcm/ |
D | clk-kona-setup.c | 61 if (sel->parent_count && selector_exists(sel)) in clk_requires_trigger() 297 if (sel->parent_count) { in sel_valid() 309 max_sel = sel->parent_sel[sel->parent_count - 1]; in sel_valid() 442 } else if (sel->parent_count > 1) { in peri_clk_data_valid() 541 u32 parent_count; in parent_process() local 560 parent_count = orig_count - bad_count; in parent_process() 563 if (!parent_count) in parent_process() 567 if (parent_count > PARENT_COUNT_MAX) { in parent_process() 569 parent_count, PARENT_COUNT_MAX); in parent_process() 580 parent_names = kmalloc_array(parent_count, sizeof(*parent_names), in parent_process() [all …]
|
D | clk-kona.c | 824 BUG_ON(sel->parent_count > (u32)U8_MAX); in parent_index() 825 for (i = 0; i < sel->parent_count; i++) in parent_index() 901 BUG_ON((u32)sel->clk_index >= sel->parent_count); in __sel_commit() 1029 u32 parent_count; in kona_peri_clk_determine_rate() local 1038 parent_count = (u32)bcm_clk->init_data.num_parents; in kona_peri_clk_determine_rate() 1039 if (parent_count < 2) { in kona_peri_clk_determine_rate() 1056 for (which = 0; which < parent_count; which++) { in kona_peri_clk_determine_rate() 1090 BUG_ON(index >= sel->parent_count); in kona_peri_clk_set_parent()
|
D | clk-kona.h | 344 u32 parent_count; /* number of entries in parent_sel[] */ member
|
/drivers/clk/samsung/ |
D | clk-exynos-clkout.c | 61 int parent_count; in exynos_clkout_init() local 71 parent_count = 0; in exynos_clkout_init() 83 parent_count = i + 1; in exynos_clkout_init() 86 if (!parent_count) in exynos_clkout_init() 104 parent_names, parent_count, &clkout->mux.hw, in exynos_clkout_init()
|
/drivers/firewire/ |
D | core-topology.c | 189 int i, port_count, child_port_count, phy_id, parent_count, stack_depth; in build_tree() local 247 parent_count = 0; in build_tree() 262 parent_count++; in build_tree() 284 if ((next_sid == end && parent_count != 0) || in build_tree() 285 (next_sid < end && parent_count != 1)) { in build_tree() 287 "parent_count=%d\n", phy_id, parent_count); in build_tree() 297 parent_count + child_port_count > 1) in build_tree()
|
/drivers/net/phy/ |
D | mdio-mux.c | 87 static int parent_count; variable 131 pb->parent_id = parent_count++; in mdio_mux_init()
|