Searched refs:parent_count (Results 1 – 7 of 7) sorted by relevance
/drivers/clk/bcm/ |
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 …]
|
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()
|
D | clk-kona.h | 336 u32 parent_count; /* number of entries in parent_sel[] */ member
|
/drivers/clk/samsung/ |
D | clk-exynos-clkout.c | 108 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()
|
/drivers/firewire/ |
D | core-topology.c | 177 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()
|
/drivers/clk/sifive/ |
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()
|
/drivers/net/mdio/ |
D | mdio-mux.c | 83 static int parent_count; variable 140 pb->parent_id = parent_count++; in mdio_mux_init()
|