Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/clk/sunxi-ng/
H A 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()
H A Dccu_gate.c104 *prate = clk_hw_round_rate(clk_hw_get_parent(hw), best_parent); in ccu_gate_round_rate()
/openbmc/linux/drivers/clk/at91/
H A Dclk-utmi.c54 hw_parent = clk_hw_get_parent(hw); in clk_utmi_prepare()
203 hw_parent = clk_hw_get_parent(hw); in clk_utmi_sama7g5_prepare()
237 hw_parent = clk_hw_get_parent(hw); in clk_utmi_sama7g5_is_prepared()
H A 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()
H A Dclk-usb.c155 struct clk_hw *parent_hw = clk_hw_get_parent(hw); in at91sam9x5_usb_save_context()
326 struct clk_hw *parent = clk_hw_get_parent(hw); in at91rm9200_clk_usb_round_rate()
/openbmc/linux/drivers/clk/
H A Dclk-gate_test.c41 KUNIT_EXPECT_PTR_EQ(test, parent, clk_hw_get_parent(ret)); in clk_gate_register_test_parent_names()
61 KUNIT_EXPECT_PTR_EQ(test, parent, clk_hw_get_parent(ret)); in clk_gate_register_test_parent_data()
81 KUNIT_EXPECT_PTR_EQ(test, parent, clk_hw_get_parent(ret)); in clk_gate_register_test_parent_data_legacy()
99 KUNIT_EXPECT_PTR_EQ(test, parent, clk_hw_get_parent(ret)); in clk_gate_register_test_parent_hw()
H A Dclk-multiplier.c101 parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), in __bestmult()
H A Dclk-plldig.c187 struct clk_hw *parent = clk_hw_get_parent(hw); in plldig_init()
/openbmc/linux/drivers/clk/actions/
H A Dowl-factor.c100 parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), in owl_clk_val_best()
113 clk_hw_get_parent(hw), 1); in owl_clk_val_best()
/openbmc/linux/drivers/clk/ti/
H A Dgate.c69 parent_hw = clk_hw_get_parent(clk_hw_get_parent(hw)); in omap36xx_gate_clk_enable_with_hsdiv_restore()
H A 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()
544 parent = clk_hw_get_parent(hw); in omap3_noncore_dpll_enable()
662 if (clk_hw_get_parent(hw) != dd->clk_ref) in omap3_noncore_dpll_set_rate()
816 hw = clk_hw_get_parent(hw); in omap3_find_clkoutx2_dpll()
H A Ddivider.c207 parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), in ti_clk_divider_bestdiv()
220 clk_hw_round_rate(clk_hw_get_parent(hw), 1); in ti_clk_divider_bestdiv()
H A Dclkt_dpll.c76 fint = clk_hw_get_rate(clk_hw_get_parent(&clk->hw)) / n; in _dpll_test_fint()
/openbmc/linux/drivers/clk/rockchip/
H A 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()
H A 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()
/openbmc/linux/drivers/clk/sprd/
H A Dgate.c101 parent = clk_hw_get_parent(hw); in sprd_gate_is_enabled()
/openbmc/linux/drivers/clk/spear/
H A Dclk-vco-pll.c87 clk_hw_get_rate(clk_hw_get_parent(clk_hw_get_parent(hw))); in clk_pll_round_rate_index()
/openbmc/linux/drivers/clk/qcom/
H A Dclk-krait.c102 req->best_parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), req->rate * 2); in krait_div2_determine_rate()
/openbmc/linux/drivers/clk/renesas/
H A Drcar-gen4-cpg.c224 req->best_parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), in cpg_z_clk_determine_rate()
319 zclk->max_rate = clk_hw_get_rate(clk_hw_get_parent(&zclk->hw)) / in cpg_z_clk_register()
H A Drcar-gen3-cpg.c204 req->best_parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), in cpg_z_clk_determine_rate()
301 zclk->max_rate = clk_hw_get_rate(clk_hw_get_parent(&zclk->hw)) / in __cpg_z_clk_register()
/openbmc/linux/drivers/clk/tegra/
H A Dclk-divider.c119 struct clk_hw *parent = clk_hw_get_parent(hw); in clk_divider_restore_context()
/openbmc/linux/drivers/gpu/drm/mcde/
H A Dmcde_clk_div.c48 struct clk_hw *parent = clk_hw_get_parent(hw); in mcde_clk_div_choose_div()
/openbmc/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_tcon_dclk.c93 rounded = clk_hw_round_rate(clk_hw_get_parent(hw), in sun4i_dclk_round_rate()
/openbmc/linux/drivers/clk/xilinx/
H A Dxlnx_vcu.c508 divider = clk_hw_get_parent(gate); in xvcu_clk_hw_unregister_leaf()
513 mux = clk_hw_get_parent(divider); in xvcu_clk_hw_unregister_leaf()
/openbmc/linux/drivers/clk/meson/
H A Dsclk-div.c53 struct clk_hw *parent = clk_hw_get_parent(hw); in sclk_div_bestdiv()

123