Home
last modified time | relevance | path

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

12

/Linux-v5.4/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()
/Linux-v5.4/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()
Dclkt_dpll.c76 fint = clk_hw_get_rate(clk_hw_get_parent(&clk->hw)) / n; in _dpll_test_fint()
Ddivider.c211 parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), in ti_clk_divider_bestdiv()
224 clk_hw_round_rate(clk_hw_get_parent(hw), 1); in ti_clk_divider_bestdiv()
/Linux-v5.4/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()
/Linux-v5.4/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.c188 p_rate = clk_hw_get_rate(clk_hw_get_parent(hw)); in rockchip_fractional_approximation()
190 p_parent = clk_hw_get_parent(clk_hw_get_parent(hw)); in rockchip_fractional_approximation()
/Linux-v5.4/drivers/clk/at91/
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()
Dclk-utmi.c53 hw_parent = clk_hw_get_parent(hw); in clk_utmi_prepare()
Dclk-usb.c294 struct clk_hw *parent = clk_hw_get_parent(hw); in at91rm9200_clk_usb_round_rate()
/Linux-v5.4/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()
/Linux-v5.4/drivers/clk/qcom/
Dclk-krait.c82 *parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), rate * 2); in krait_div2_round_rate()
Dclk-pll.c203 struct clk_pll *p = to_clk_pll(clk_hw_get_parent(hw)); in clk_pll_vote_enable()
/Linux-v5.4/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-composite.c68 parent = clk_hw_get_parent(mux_hw); in clk_composite_determine_rate()
/Linux-v5.4/drivers/gpu/drm/sun4i/
Dsun4i_dotclock.c93 rounded = clk_hw_round_rate(clk_hw_get_parent(hw), in sun4i_dclk_round_rate()
/Linux-v5.4/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()
/Linux-v5.4/include/linux/
Dclk-provider.h818 struct clk_hw *clk_hw_get_parent(const struct clk_hw *hw);
857 return divider_round_rate_parent(hw, clk_hw_get_parent(hw), in divider_round_rate()
867 return divider_ro_round_rate_parent(hw, clk_hw_get_parent(hw), in divider_ro_round_rate()
/Linux-v5.4/drivers/clk/meson/
Dsclk-div.c53 struct clk_hw *parent = clk_hw_get_parent(hw); in sclk_div_bestdiv()
/Linux-v5.4/drivers/clk/nxp/
Dclk-lpc18xx-ccu.c189 parent = clk_hw_get_parent(hw); in lpc18xx_ccu_gate_is_enabled()
/Linux-v5.4/drivers/clk/samsung/
Dclk-cpu.c108 struct clk_hw *parent = clk_hw_get_parent(hw); in exynos_cpuclk_round_rate()

12