Searched refs:parent_count (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/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 | 825 BUG_ON(sel->parent_count > (u32)U8_MAX); in parent_index() 826 for (i = 0; i < sel->parent_count; i++) in parent_index() 902 BUG_ON((u32)sel->clk_index >= sel->parent_count); in __sel_commit() 1030 u32 parent_count; in kona_peri_clk_determine_rate() local 1039 parent_count = (u32)bcm_clk->init_data.num_parents; in kona_peri_clk_determine_rate() 1040 if (parent_count < 2) { in kona_peri_clk_determine_rate() 1057 for (which = 0; which < parent_count; which++) { in kona_peri_clk_determine_rate() 1091 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
|
/Linux-v5.4/drivers/clk/samsung/ |
D | clk-exynos-clkout.c | 58 int parent_count; in exynos_clkout_init() local 69 parent_count = 0; in exynos_clkout_init() 81 parent_count = i + 1; in exynos_clkout_init() 84 if (!parent_count) in exynos_clkout_init() 102 parent_names, parent_count, &clkout->mux.hw, in exynos_clkout_init()
|
/Linux-v5.4/drivers/firewire/ |
D | core-topology.c | 176 int i, port_count, child_port_count, phy_id, parent_count, stack_depth; in build_tree() local 234 parent_count = 0; in build_tree() 249 parent_count++; in build_tree() 271 if ((next_sid == end && parent_count != 0) || in build_tree() 272 (next_sid < end && parent_count != 1)) { in build_tree() 274 "parent_count=%d\n", phy_id, parent_count); in build_tree() 284 parent_count + child_port_count > 1) in build_tree()
|
/Linux-v5.4/drivers/clk/sifive/ |
D | fu540-prci.c | 523 int parent_count, i, r; in __prci_register_clocks() local 525 parent_count = of_clk_get_parent_count(dev->of_node); in __prci_register_clocks() 526 if (parent_count != EXPECTED_CLK_PARENT_COUNT) { in __prci_register_clocks() 528 parent_count); in __prci_register_clocks()
|
/Linux-v5.4/drivers/net/phy/ |
D | mdio-mux.c | 83 static int parent_count; variable 129 pb->parent_id = parent_count++; in mdio_mux_init()
|
/Linux-v5.4/arch/powerpc/platforms/512x/ |
D | clock-commonclk.c | 270 const char **parent_names, int parent_count, in mpc512x_clk_muxed() argument 279 parent_names, parent_count, clkflags, in mpc512x_clk_muxed()
|