/openbmc/linux/drivers/clk/sunxi-ng/ |
H A D | ccu_mux.c | 19 int parent_index) in ccu_mux_get_prediv() argument 33 if (parent_index < 0) { in ccu_mux_get_prediv() 34 parent_index = reg >> cm->shift; in ccu_mux_get_prediv() 35 parent_index &= (1 << cm->width) - 1; in ccu_mux_get_prediv() 42 if (parent_index == cm->fixed_predivs[i].index) in ccu_mux_get_prediv() 50 if (parent_index == cm->var_predivs[i].index) { in ccu_mux_get_prediv() 64 int parent_index, in ccu_mux_helper_apply_prediv() argument 67 return parent_rate / ccu_mux_get_prediv(common, cm, parent_index); in ccu_mux_helper_apply_prediv() 73 int parent_index, in ccu_mux_helper_unapply_prediv() argument 76 return parent_rate * ccu_mux_get_prediv(common, cm, parent_index); in ccu_mux_helper_unapply_prediv()
|
H A D | ccu_mux.h | 135 int parent_index,
|
/openbmc/linux/drivers/clk/ |
H A D | clk-max9485.c | 204 int parent_index; member 212 .parent_index = -1, 221 .parent_index = -1, 230 .parent_index = MAX9485_CLKOUT, 239 .parent_index = MAX9485_CLKOUT, 298 int parent_index = max9485_clks[i].parent_index; in max9485_i2c_probe() local 313 if (parent_index > 0) { in max9485_i2c_probe() 315 &drvdata->hw[parent_index].init.name; in max9485_i2c_probe()
|
/openbmc/linux/drivers/clk/tegra/ |
H A D | clk-tegra124-emc.c | 67 u8 parent_index; member 224 if (emc_get_parent(&tegra->hw) == timing->parent_index && in emc_set_timing() 263 car_value |= CLK_SOURCE_EMC_EMC_2X_CLK_SRC(timing->parent_index); in emc_set_timing() 301 if (emc_parent_clk_sources[timing->parent_index] != in get_backup_timing() 303 tegra->timings[timing_index].parent_index]) in get_backup_timing() 312 if (emc_parent_clk_sources[timing->parent_index] != in get_backup_timing() 314 tegra->timings[timing_index].parent_index]) in get_backup_timing() 356 emc_parent_clk_sources[timing->parent_index] && in emc_set_rate() 415 timing->parent_index = 0xff; in load_one_timing_from_dt() 425 timing->parent_index = i; in load_one_timing_from_dt()
|
H A D | clk-super.c | 68 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()
|
/openbmc/linux/drivers/clk/ux500/ |
H A D | clk-sysctrl.c | 25 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() 159 clk->parent_index = 0; in clk_reg_sysctrl()
|
/openbmc/linux/drivers/md/persistent-data/ |
H A D | dm-btree.c | 683 r = insert_at(sizeof(__le64), pn, parent_index + 1, in split_one_into_two() 749 if (parent_index == 0) { in split_two_into_three() 756 middle_index = parent_index; in split_two_into_three() 916 unsigned int parent_index, uint64_t key) in rebalance_left() argument 929 *key_ptr(parent, parent_index) = right->keys[0]; in rebalance_left() 945 unsigned int parent_index, uint64_t key) in rebalance_right() argument 1002 unsigned int parent_index, uint64_t key) in rebalance_or_split() argument 1011 if (parent_index > 0) { in rebalance_or_split() 1024 return rebalance_left(s, vt, parent_index, key); in rebalance_or_split() 1029 if (parent_index < (nr_parent - 1)) { in rebalance_or_split() [all …]
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | cpumap.c | 36 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()
|
/openbmc/u-boot/drivers/clk/at91/ |
H A D | clk-generated.c | 55 u8 clock_source, parent_index; in generic_clk_get_rate() local 64 parent_index = clock_source - 1; in generic_clk_get_rate() 65 ret = clk_get_by_index(dev_get_parent(clk->dev), parent_index, &parent); in generic_clk_get_rate()
|
/openbmc/linux/drivers/clk/mmp/ |
H A D | clk-mix.c | 120 parent = clk_hw_get_parent_by_index(hw, item->parent_index); in _filter_clk_table() 225 item->parent_index); in mmp_clk_mix_determine_rate() 357 if (item->parent_index == index) in mmp_clk_set_parent() 362 mux_val = _get_mux_val(mix, item->parent_index); in mmp_clk_set_parent() 391 item->parent_index); in mmp_clk_set_rate() 399 _get_mux_val(mix, item->parent_index), in mmp_clk_set_rate()
|
H A D | clk.h | 71 u8 parent_index; member
|
/openbmc/linux/drivers/clk/imx/ |
H A D | clk-scu.c | 54 u8 parent_index; member 359 clk->parent_index = msg.data.resp.parent; in clk_scu_get_parent() 387 clk->parent_index = index; in clk_scu_set_parent() 601 clk->parent_index); in imx_clk_scu_suspend() 623 ret = clk_scu_set_parent(&clk->hw, clk->parent_index); in imx_clk_scu_resume() 626 clk->parent_index, !ret ? "success" : "failed"); in imx_clk_scu_resume()
|
/openbmc/linux/lib/ |
H A D | objagg.c | 714 int parent_index, int index) in objagg_tmp_graph_edge_index() argument 716 return index * graph->nodes_count + parent_index; in objagg_tmp_graph_edge_index() 720 int parent_index, int index) in objagg_tmp_graph_edge_set() argument 723 parent_index); in objagg_tmp_graph_edge_set() 729 int parent_index, int index) in objagg_tmp_graph_is_edge() argument 732 parent_index); in objagg_tmp_graph_is_edge()
|
/openbmc/linux/drivers/clk/sunxi/ |
H A D | clk-factors.h | 25 u8 parent_index; member
|
H A D | clk-factors.c | 73 factors_req.parent_index = in clk_factors_recalc_rate() 101 .parent_index = i, in clk_factors_determine_rate()
|
H A D | clk-sunxi.c | 302 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()
|
/openbmc/linux/drivers/clk/bcm/ |
H A D | clk-kona.c | 813 static u8 parent_index(struct bcm_clk_sel *sel, u8 parent_sel) in parent_index() function 851 index = parent_index(sel, parent_sel); in selector_read_index() 886 index = parent_index(sel, parent_sel); in __sel_commit()
|
/openbmc/qemu/block/ |
H A D | vvfat.c | 751 int parent_index = mapping->info.dir.parent_mapping_index; in read_directory() local 753 (parent_index >= 0 ? array_get(&(s->mapping), parent_index) : NULL); in read_directory()
|