Home
last modified time | relevance | path

Searched refs:parent_count (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/drivers/clk/bcm/
Dclk-kona-setup.c61 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 …]
Dclk-kona.c825 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()
Dclk-kona.h344 u32 parent_count; /* number of entries in parent_sel[] */ member
/linux-5.19.10/drivers/clk/samsung/
Dclk-exynos-clkout.c108 int parent_count, ret, i; in exynos_clkout_probe() local
134 parent_count = 0; in exynos_clkout_probe()
146 parent_count = i + 1; in exynos_clkout_probe()
149 if (!parent_count) in exynos_clkout_probe()
169 parent_names, parent_count, &clkout->mux.hw, in exynos_clkout_probe()
/linux-5.19.10/drivers/firewire/
Dcore-topology.c177 int i, port_count, child_port_count, phy_id, parent_count, stack_depth; in build_tree() local
235 parent_count = 0; in build_tree()
250 parent_count++; in build_tree()
272 if ((next_sid == end && parent_count != 0) || in build_tree()
273 (next_sid < end && parent_count != 1)) { in build_tree()
275 "parent_count=%d\n", phy_id, parent_count); in build_tree()
285 parent_count + child_port_count > 1) in build_tree()
/linux-5.19.10/drivers/clk/sifive/
Dsifive-prci.c508 int parent_count, i, r; in __prci_register_clocks() local
510 parent_count = of_clk_get_parent_count(dev->of_node); in __prci_register_clocks()
511 if (parent_count != EXPECTED_CLK_PARENT_COUNT) { in __prci_register_clocks()
513 parent_count); in __prci_register_clocks()
/linux-5.19.10/drivers/net/mdio/
Dmdio-mux.c83 static int parent_count; variable
140 pb->parent_id = parent_count++; in mdio_mux_init()
/linux-5.19.10/arch/powerpc/platforms/512x/
Dclock-commonclk.c270 const char **parent_names, int parent_count, in mpc512x_clk_muxed() argument
279 parent_names, parent_count, clkflags, in mpc512x_clk_muxed()