Home
last modified time | relevance | path

Searched refs:clk_hw_get_parent (Results 1 – 25 of 52) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/clk/sunxi-ng/
Dccu_phase.c30 parent = clk_hw_get_parent(hw); in ccu_phase_get_phase()
40 grandparent = clk_hw_get_parent(parent); in ccu_phase_get_phase()
66 parent = clk_hw_get_parent(hw); in ccu_phase_set_phase()
76 grandparent = clk_hw_get_parent(parent); in ccu_phase_set_phase()
Dccu_gate.c101 *prate = clk_hw_round_rate(clk_hw_get_parent(hw), best_parent); in ccu_gate_round_rate()
Dccu_mux.c93 best_parent = clk_hw_get_parent(hw); in ccu_mux_helper_determine_rate()
/kernel/linux/linux-5.10/drivers/clk/at91/
Dclk-utmi.c53 hw_parent = clk_hw_get_parent(hw); in clk_utmi_prepare()
173 hw_parent = clk_hw_get_parent(hw); in clk_utmi_sama7g5_prepare()
207 hw_parent = clk_hw_get_parent(hw); in clk_utmi_sama7g5_is_prepared()
Dclk-audio-pll.c265 req->best_parent_hw = clk_hw_get_parent(hw); in clk_audio_pll_frac_determine_rate()
276 struct clk_hw *pclk = clk_hw_get_parent(hw); in clk_audio_pll_pad_round_rate()
327 struct clk_hw *pclk = clk_hw_get_parent(hw); in clk_audio_pll_pmc_round_rate()
/kernel/linux/linux-5.10/drivers/clk/ti/
Ddpll3xxx.c251 clkinp = clk_hw_get_rate(clk_hw_get_parent(&clk->hw)); in _lookup_dco()
277 clkinp = clk_hw_get_rate(clk_hw_get_parent(&clk->hw)); in _lookup_sddiv()
458 parent = clk_hw_get_parent(hw); in omap3_noncore_dpll_enable()
576 if (clk_hw_get_parent(hw) != dd->clk_ref) in omap3_noncore_dpll_set_rate()
730 hw = clk_hw_get_parent(hw); in omap3_find_clkoutx2_dpll()
Dgate.c77 parent_hw = clk_hw_get_parent(clk_hw_get_parent(hw)); in omap36xx_gate_clk_enable_with_hsdiv_restore()
Ddivider.c215 parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), in ti_clk_divider_bestdiv()
228 clk_hw_round_rate(clk_hw_get_parent(hw), 1); in ti_clk_divider_bestdiv()
Dclkt_dpll.c76 fint = clk_hw_get_rate(clk_hw_get_parent(&clk->hw)) / n; in _dpll_test_fint()
/kernel/linux/linux-5.10/drivers/clk/actions/
Dowl-factor.c101 parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), in owl_clk_val_best()
114 clk_hw_get_parent(hw), 1); in owl_clk_val_best()
/kernel/linux/linux-5.10/drivers/clk/rockchip/
Dclk-half-divider.c75 parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), in clk_half_divider_bestdiv()
89 *best_parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), 1); in clk_half_divider_bestdiv()
Dclk.c186 p_rate = clk_hw_get_rate(clk_hw_get_parent(hw)); in rockchip_fractional_approximation()
188 p_parent = clk_hw_get_parent(clk_hw_get_parent(hw)); in rockchip_fractional_approximation()
/kernel/linux/linux-5.10/drivers/clk/zynqmp/
Ddivider.c122 struct clk_hw *div2_parent_hw = clk_hw_get_parent(hw); in zynqmp_get_divider2_val()
129 div1_parent_hw = clk_hw_get_parent(div2_parent_hw); in zynqmp_get_divider2_val()
/kernel/linux/linux-5.10/drivers/clk/spear/
Dclk-vco-pll.c90 clk_hw_get_rate(clk_hw_get_parent(clk_hw_get_parent(hw))); in clk_pll_round_rate_index()
/kernel/linux/linux-5.10/drivers/clk/sprd/
Dgate.c101 parent = clk_hw_get_parent(hw); in sprd_gate_is_enabled()
/kernel/linux/linux-5.10/drivers/clk/qcom/
Dclk-krait.c87 *parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), rate * 2); in krait_div2_round_rate()
/kernel/linux/linux-5.10/drivers/clk/
Dclk-multiplier.c101 parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), in __bestmult()
Dclk-fixed-factor.c42 *prate = clk_hw_round_rate(clk_hw_get_parent(hw), best_parent); in clk_factor_round_rate()
Dclk-plldig.c189 struct clk_hw *parent = clk_hw_get_parent(hw); in plldig_init()
/kernel/linux/linux-5.10/drivers/clk/tegra/
Dclk-divider.c119 struct clk_hw *parent = clk_hw_get_parent(hw); in clk_divider_restore_context()
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun4i_dotclock.c93 rounded = clk_hw_round_rate(clk_hw_get_parent(hw), in sun4i_dclk_round_rate()
/kernel/linux/linux-5.10/drivers/clk/sirf/
Dclk-common.c169 struct clk_hw *parent_clk = clk_hw_get_parent(hw); in cpu_clk_round_rate()
170 struct clk_hw *pll_parent_clk = clk_hw_get_parent(parent_clk); in cpu_clk_round_rate()
182 struct clk_hw *parent_clk = clk_hw_get_parent(hw); in cpu_clk_recalc_rate()
/kernel/linux/linux-5.10/drivers/clk/meson/
Dsclk-div.c53 struct clk_hw *parent = clk_hw_get_parent(hw); in sclk_div_bestdiv()
/kernel/linux/linux-5.10/drivers/clk/nxp/
Dclk-lpc18xx-ccu.c189 parent = clk_hw_get_parent(hw); in lpc18xx_ccu_gate_is_enabled()
/kernel/linux/linux-5.10/include/linux/
Dclk-provider.h1092 struct clk_hw *clk_hw_get_parent(const struct clk_hw *hw);
1131 return divider_round_rate_parent(hw, clk_hw_get_parent(hw), in divider_round_rate()
1141 return divider_ro_round_rate_parent(hw, clk_hw_get_parent(hw), in divider_ro_round_rate()

123