Searched refs:parent_count (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/clk/bcm/ |
H A D | clk-kona-setup.c | 53 if (sel->parent_count && selector_exists(sel)) in clk_requires_trigger() 289 if (sel->parent_count) { in sel_valid() 301 max_sel = sel->parent_sel[sel->parent_count - 1]; in sel_valid() 434 } else if (sel->parent_count > 1) { in peri_clk_data_valid() 533 u32 parent_count; in parent_process() local 552 parent_count = orig_count - bad_count; in parent_process() 555 if (!parent_count) in parent_process() 559 if (parent_count > PARENT_COUNT_MAX) { in parent_process() 561 parent_count, PARENT_COUNT_MAX); in parent_process() 572 parent_names = kmalloc_array(parent_count, sizeof(*parent_names), in parent_process() [all …]
|
H A D | clk-kona.c | 817 BUG_ON(sel->parent_count > (u32)U8_MAX); in parent_index() 818 for (i = 0; i < sel->parent_count; i++) in parent_index() 894 BUG_ON((u32)sel->clk_index >= sel->parent_count); in __sel_commit() 1022 u32 parent_count; in kona_peri_clk_determine_rate() local 1031 parent_count = (u32)bcm_clk->init_data.num_parents; in kona_peri_clk_determine_rate() 1032 if (parent_count < 2) { in kona_peri_clk_determine_rate() 1049 for (which = 0; which < parent_count; which++) { in kona_peri_clk_determine_rate() 1083 BUG_ON(index >= sel->parent_count); in kona_peri_clk_set_parent()
|
H A D | clk-kona.h | 336 u32 parent_count; /* number of entries in parent_sel[] */ member
|
/linux/drivers/clk/samsung/ |
H A D | clk-exynos-clkout.c | 117 int parent_count, ret, i; in exynos_clkout_probe() local 143 parent_count = 0; in exynos_clkout_probe() 155 parent_count = i + 1; in exynos_clkout_probe() 158 if (!parent_count) in exynos_clkout_probe() 178 parent_names, parent_count, &clkout->mux.hw, in exynos_clkout_probe()
|
/linux/drivers/firewire/ |
H A D | core-topology.c | 123 unsigned int parent_count = 0; in build_tree() local 206 ++parent_count; in build_tree() 226 if ((enumerator.quadlet_count == 0 && parent_count != 0) || in build_tree() 227 (enumerator.quadlet_count > 0 && parent_count != 1)) { in build_tree() 229 "parent_count=%d\n", phy_id, parent_count); in build_tree() 238 if (node->phy_speed == SCODE_BETA && parent_count + child_port_count > 1) in build_tree()
|
/linux/drivers/clk/sifive/ |
H A D | sifive-prci.c | 508 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/drivers/net/mdio/ |
H A D | mdio-mux.c | 126 static int parent_count; variable 183 pb->parent_id = parent_count++; in mdio_mux_init()
|
/linux/arch/powerpc/platforms/512x/ |
H A 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()
|