Home
last modified time | relevance | path

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

123

/linux-6.1.9/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.c104 *prate = clk_hw_round_rate(clk_hw_get_parent(hw), best_parent); in ccu_gate_round_rate()
/linux-6.1.9/drivers/clk/at91/
Dclk-utmi.c54 hw_parent = clk_hw_get_parent(hw); in clk_utmi_prepare()
193 hw_parent = clk_hw_get_parent(hw); in clk_utmi_sama7g5_prepare()
227 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()
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()
/linux-6.1.9/drivers/clk/
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()
Dclk-multiplier.c101 parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), in __bestmult()
/linux-6.1.9/drivers/clk/ti/
Dgate.c69 parent_hw = clk_hw_get_parent(clk_hw_get_parent(hw)); in omap36xx_gate_clk_enable_with_hsdiv_restore()
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()
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()
Dclkt_dpll.c76 fint = clk_hw_get_rate(clk_hw_get_parent(&clk->hw)) / n; in _dpll_test_fint()
/linux-6.1.9/drivers/clk/actions/
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()
/linux-6.1.9/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.c189 p_rate = clk_hw_get_rate(clk_hw_get_parent(hw)); in rockchip_fractional_approximation()
191 p_parent = clk_hw_get_parent(clk_hw_get_parent(hw)); in rockchip_fractional_approximation()
/linux-6.1.9/drivers/clk/renesas/
Drcar-gen4-cpg.c77 req->best_parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), in cpg_z_clk_determine_rate()
172 zclk->max_rate = clk_hw_get_rate(clk_hw_get_parent(&zclk->hw)) / in cpg_z_clk_register()
Drcar-gen3-cpg.c204 req->best_parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), in cpg_z_clk_determine_rate()
299 zclk->max_rate = clk_hw_get_rate(clk_hw_get_parent(&zclk->hw)) / in cpg_z_clk_register()
/linux-6.1.9/drivers/clk/zynqmp/
Ddivider.c124 struct clk_hw *div2_parent_hw = clk_hw_get_parent(hw); in zynqmp_get_divider2_val()
133 div1_parent_hw = clk_hw_get_parent(div2_parent_hw); in zynqmp_get_divider2_val()
/linux-6.1.9/drivers/clk/spear/
Dclk-vco-pll.c87 clk_hw_get_rate(clk_hw_get_parent(clk_hw_get_parent(hw))); in clk_pll_round_rate_index()
/linux-6.1.9/drivers/clk/sprd/
Dgate.c101 parent = clk_hw_get_parent(hw); in sprd_gate_is_enabled()
/linux-6.1.9/drivers/clk/qcom/
Dclk-krait.c103 *parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), rate * 2); in krait_div2_round_rate()
/linux-6.1.9/drivers/gpu/drm/mcde/
Dmcde_clk_div.c48 struct clk_hw *parent = clk_hw_get_parent(hw); in mcde_clk_div_choose_div()
/linux-6.1.9/drivers/clk/tegra/
Dclk-divider.c119 struct clk_hw *parent = clk_hw_get_parent(hw); in clk_divider_restore_context()
/linux-6.1.9/drivers/gpu/drm/sun4i/
Dsun4i_dotclock.c93 rounded = clk_hw_round_rate(clk_hw_get_parent(hw), in sun4i_dclk_round_rate()
/linux-6.1.9/drivers/clk/meson/
Dsclk-div.c53 struct clk_hw *parent = clk_hw_get_parent(hw); in sclk_div_bestdiv()
/linux-6.1.9/drivers/clk/xilinx/
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()

123