Home
last modified time | relevance | path

Searched refs:parent_index (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/clk/sunxi-ng/
Dccu_mux.c17 int parent_index) in ccu_mux_get_prediv() argument
31 if (parent_index < 0) { in ccu_mux_get_prediv()
32 parent_index = reg >> cm->shift; in ccu_mux_get_prediv()
33 parent_index &= (1 << cm->width) - 1; in ccu_mux_get_prediv()
40 if (parent_index == cm->fixed_predivs[i].index) in ccu_mux_get_prediv()
48 if (parent_index == cm->var_predivs[i].index) { in ccu_mux_get_prediv()
62 int parent_index, in ccu_mux_helper_apply_prediv() argument
65 return parent_rate / ccu_mux_get_prediv(common, cm, parent_index); in ccu_mux_helper_apply_prediv()
70 int parent_index, in ccu_mux_helper_unapply_prediv() argument
73 return parent_rate * ccu_mux_get_prediv(common, cm, parent_index); in ccu_mux_helper_unapply_prediv()
Dccu_mux.h87 int parent_index,
/kernel/linux/linux-5.10/drivers/clk/
Dclk-max9485.c204 int parent_index; member
212 .parent_index = -1,
221 .parent_index = -1,
230 .parent_index = MAX9485_CLKOUT,
239 .parent_index = MAX9485_CLKOUT,
299 int parent_index = max9485_clks[i].parent_index; in max9485_i2c_probe() local
314 if (parent_index > 0) { in max9485_i2c_probe()
316 &drvdata->hw[parent_index].init.name; in max9485_i2c_probe()
/kernel/linux/linux-5.10/drivers/clk/tegra/
Dclk-tegra124-emc.c66 u8 parent_index; member
217 if (emc_get_parent(&tegra->hw) == timing->parent_index && in emc_set_timing()
254 car_value |= CLK_SOURCE_EMC_EMC_2X_CLK_SRC(timing->parent_index); in emc_set_timing()
292 if (emc_parent_clk_sources[timing->parent_index] != in get_backup_timing()
294 tegra->timings[timing_index].parent_index]) in get_backup_timing()
303 if (emc_parent_clk_sources[timing->parent_index] != in get_backup_timing()
305 tegra->timings[timing_index].parent_index]) in get_backup_timing()
347 emc_parent_clk_sources[timing->parent_index] && in emc_set_rate()
406 timing->parent_index = 0xff; in load_one_timing_from_dt()
416 timing->parent_index = i; in load_one_timing_from_dt()
Dclk-super.c68 u8 parent_index, shift; in clk_super_set_parent() local
89 parent_index = clk_super_get_parent(hw); in clk_super_set_parent()
90 if ((parent_index == mux->div2_index) || in clk_super_set_parent()
91 (parent_index == mux->pllx_index)) { in clk_super_set_parent()
/kernel/linux/linux-5.10/drivers/clk/ux500/
Dclk-sysctrl.c25 u8 parent_index; member
68 u8 old_index = clk->parent_index; in clk_sysctrl_set_parent()
90 clk->parent_index = index; in clk_sysctrl_set_parent()
98 return clk->parent_index; in clk_sysctrl_get_parent()
158 clk->parent_index = 0; in clk_reg_sysctrl()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dcpumap.c36 int parent_index; member
222 node->parent_index = (level > CPUINFO_LVL_ROOT) in build_cpuinfo_tree()
261 node->parent_index = -1; in build_cpuinfo_tree()
263 node->parent_index = in build_cpuinfo_tree()
314 node = &t->nodes[node->parent_index]; in increment_rover()
/kernel/linux/linux-5.10/drivers/clk/mmp/
Dclk-mix.c123 parent = clk_hw_get_parent_by_index(hw, item->parent_index); in _filter_clk_table()
228 item->parent_index); in mmp_clk_mix_determine_rate()
360 if (item->parent_index == index) in mmp_clk_set_parent()
365 mux_val = _get_mux_val(mix, item->parent_index); in mmp_clk_set_parent()
394 item->parent_index); in mmp_clk_set_rate()
402 _get_mux_val(mix, item->parent_index), in mmp_clk_set_rate()
Dclk.h71 u8 parent_index; member
/kernel/linux/linux-5.10/lib/
Dobjagg.c711 int parent_index, int index) in objagg_tmp_graph_edge_index() argument
713 return index * graph->nodes_count + parent_index; in objagg_tmp_graph_edge_index()
717 int parent_index, int index) in objagg_tmp_graph_edge_set() argument
720 parent_index); in objagg_tmp_graph_edge_set()
726 int parent_index, int index) in objagg_tmp_graph_is_edge() argument
729 parent_index); in objagg_tmp_graph_is_edge()
/kernel/linux/linux-5.10/drivers/clk/sunxi/
Dclk-factors.h25 u8 parent_index; member
Dclk-factors.c73 factors_req.parent_index = in clk_factors_recalc_rate()
101 .parent_index = i, in clk_factors_determine_rate()
Dclk-sunxi.c302 if (req->parent_index == SUN6I_AHB1_PARENT_PLL6) { in sun6i_get_ahb1_factors()
332 if (req->parent_index == SUN6I_AHB1_PARENT_PLL6) in sun6i_ahb1_recalc()
/kernel/linux/linux-5.10/drivers/clk/bcm/
Dclk-kona.c821 static u8 parent_index(struct bcm_clk_sel *sel, u8 parent_sel) in parent_index() function
859 index = parent_index(sel, parent_sel); in selector_read_index()
894 index = parent_index(sel, parent_sel); in __sel_commit()
/kernel/linux/linux-5.10/drivers/md/persistent-data/
Ddm-btree.c535 static int btree_split_sibling(struct shadow_spine *s, unsigned parent_index, in btree_split_sibling() argument
578 memcpy_disk(value_ptr(pn, parent_index), in btree_split_sibling()
584 r = insert_at(sizeof(__le64), pn, parent_index + 1, in btree_split_sibling()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0015_linux_drivers_clk.patch3265 + u8 parent_index;
3362 + clk->parent_index = msg.data.resp.parent;
3387 + clk->parent_index = index;
3528 + clk->parent_index);
3550 + ret = clk_scu_set_parent(&clk->hw, clk->parent_index);
3553 + clk->parent_index, !ret ? "success" : "failed");