Home
last modified time | relevance | path

Searched refs:parent_hw (Results 1 – 23 of 23) sorted by relevance

/linux-6.1.9/drivers/clk/
Dclk-fixed-factor.c82 const struct clk_hw *parent_hw, int index, in __clk_hw_register_fixed_factor() argument
114 else if (parent_hw) in __clk_hw_register_fixed_factor()
115 init.parent_hws = &parent_hw; in __clk_hw_register_fixed_factor()
173 const char *name, const struct clk_hw *parent_hw, in devm_clk_hw_register_fixed_factor_parent_hw() argument
176 return __clk_hw_register_fixed_factor(dev, NULL, name, NULL, parent_hw, in devm_clk_hw_register_fixed_factor_parent_hw()
182 const char *name, const struct clk_hw *parent_hw, in clk_hw_register_fixed_factor_parent_hw() argument
186 parent_hw, -1, flags, mult, div, in clk_hw_register_fixed_factor_parent_hw()
Dclk-gate.c129 const char *parent_name, const struct clk_hw *parent_hw, in __clk_hw_register_gate() argument
156 init.parent_hws = parent_hw ? &parent_hw : NULL; in __clk_hw_register_gate()
158 if (parent_name || parent_hw || parent_data) in __clk_hw_register_gate()
234 const char *parent_name, const struct clk_hw *parent_hw, in __devm_clk_hw_register_gate() argument
246 hw = __clk_hw_register_gate(dev, np, name, parent_name, parent_hw, in __devm_clk_hw_register_gate()
Dclk-fixed-rate.c66 const char *parent_name, const struct clk_hw *parent_hw, in __clk_hw_register_fixed_rate() argument
89 init.parent_hws = parent_hw ? &parent_hw : NULL; in __clk_hw_register_fixed_rate()
91 if (parent_name || parent_hw || parent_data) in __clk_hw_register_fixed_rate()
Dclk-divider.c539 const char *parent_name, const struct clk_hw *parent_hw, in __clk_hw_register_divider() argument
568 init.parent_hws = parent_hw ? &parent_hw : NULL; in __clk_hw_register_divider()
570 if (parent_name || parent_hw || parent_data) in __clk_hw_register_divider()
665 const char *parent_name, const struct clk_hw *parent_hw, in __devm_clk_hw_register_divider() argument
676 hw = __clk_hw_register_divider(dev, np, name, parent_name, parent_hw, in __devm_clk_hw_register_divider()
Dclk-composite.c47 struct clk_hw *parent_hw, in clk_composite_determine_rate_for_parent() argument
52 req->best_parent_hw = parent_hw; in clk_composite_determine_rate_for_parent()
53 req->best_parent_rate = clk_hw_get_rate(parent_hw); in clk_composite_determine_rate_for_parent()
/linux-6.1.9/include/linux/
Dclk-provider.h362 const char *parent_name, const struct clk_hw *parent_hw,
403 #define clk_hw_register_fixed_rate_parent_hw(dev, name, parent_hw, flags, \ argument
405 __clk_hw_register_fixed_rate((dev), NULL, (name), NULL, (parent_hw), \
416 #define clk_hw_register_fixed_rate_parent_data(dev, name, parent_hw, flags, \ argument
448 parent_hw, flags, fixed_rate, fixed_accuracy) \
449 __clk_hw_register_fixed_rate((dev), NULL, (name), NULL, (parent_hw) \
527 const char *parent_name, const struct clk_hw *parent_hw,
534 const char *parent_name, const struct clk_hw *parent_hw,
571 #define clk_hw_register_gate_parent_hw(dev, name, parent_hw, flags, reg, \ argument
573 __clk_hw_register_gate((dev), NULL, (name), NULL, (parent_hw), \
[all …]
/linux-6.1.9/drivers/clk/tegra/
Dclk-tegra20-emc.c171 struct clk_hw *parent_hw; in emc_determine_rate() local
184 parent_hw = clk_hw_get_parent_by_index(hw, i); in emc_determine_rate()
186 if (req->best_parent_hw == parent_hw) in emc_determine_rate()
189 parent_rate = clk_hw_get_rate(parent_hw); in emc_determine_rate()
201 req->best_parent_hw = parent_hw; in emc_determine_rate()
Dclk-tegra20.c1076 struct clk_hw *parent_hw; in tegra20_clk_src_onecell_get() local
1105 parent_hw = clk_hw_get_parent(hw); in tegra20_clk_src_onecell_get()
1106 if (!parent_hw) in tegra20_clk_src_onecell_get()
/linux-6.1.9/drivers/clk/ti/
Dgate.c61 struct clk_hw *parent_hw; in omap36xx_gate_clk_enable_with_hsdiv_restore() local
69 parent_hw = clk_hw_get_parent(clk_hw_get_parent(hw)); in omap36xx_gate_clk_enable_with_hsdiv_restore()
70 parent = to_clk_omap_divider(parent_hw); in omap36xx_gate_clk_enable_with_hsdiv_restore()
/linux-6.1.9/drivers/clk/imx/
Dclk-sscg-pll.c420 struct clk_hw *parent_hw = NULL; in __clk_sscg_pll_determine_rate() local
439 parent_hw = clk_hw_get_parent_by_index(hw, bypass_parent_index); in __clk_sscg_pll_determine_rate()
440 ret = __clk_determine_rate(parent_hw, req); in __clk_sscg_pll_determine_rate()
446 req->best_parent_hw = parent_hw; in __clk_sscg_pll_determine_rate()
/linux-6.1.9/drivers/clk/at91/
Dclk-programmable.c184 struct clk_hw *parent_hw = clk_hw_get_parent(hw); in clk_programmable_save_context() local
187 prog->pms.parent_rate = clk_hw_get_rate(parent_hw); in clk_programmable_save_context()
Dclk-pll.c267 struct clk_hw *parent_hw = clk_hw_get_parent(hw); in clk_pll_save_context() local
269 pll->pms.parent_rate = clk_hw_get_rate(parent_hw); in clk_pll_save_context()
Dclk-master.c116 struct clk_hw *parent_hw = clk_hw_get_parent(hw); in clk_master_div_save_context() local
128 master->pms.parent_rate = clk_hw_get_rate(parent_hw); in clk_master_div_save_context()
418 struct clk_hw *parent_hw = clk_hw_get_parent(hw); in clk_master_pres_save_context() local
434 master->pms.parent_rate = clk_hw_get_rate(parent_hw); in clk_master_pres_save_context()
Dclk-usb.c155 struct clk_hw *parent_hw = clk_hw_get_parent(hw); in at91sam9x5_usb_save_context() local
158 usb->pms.parent_rate = clk_hw_get_rate(parent_hw); in at91sam9x5_usb_save_context()
Dsama7g5.c954 struct clk_hw *parent_hw; in sama7g5_pmc_setup() local
962 parent_hw = sama7g5_pmc->chws[PMC_MAIN]; in sama7g5_pmc_setup()
964 parent_hw = __clk_get_hw(of_clk_get_by_name(np, in sama7g5_pmc_setup()
969 sama7g5_plls[i][j].p, parent_hw, i, in sama7g5_pmc_setup()
Dclk-sam9x60-pll.c613 struct clk_hw *parent_hw, u8 id, in sam9x60_clk_register_frac_pll() argument
624 if (id > PLL_MAX_ID || !lock || !parent_hw) in sam9x60_clk_register_frac_pll()
663 parent_rate = clk_hw_get_rate(parent_hw); in sam9x60_clk_register_frac_pll()
Dpmc.h223 struct clk_hw *parent_hw, u8 id,
/linux-6.1.9/drivers/clk/baikal-t1/
Dccu-pll.c106 struct clk_hw *parent_hw = clk_hw_get_parent(hw); in ccu_pll_enable() local
112 if (!parent_hw) { in ccu_pll_enable()
123 ret = ccu_pll_reset(pll, clk_hw_get_rate(parent_hw), in ccu_pll_enable()
Dccu-div.c112 struct clk_hw *parent_hw = clk_hw_get_parent(hw); in ccu_div_var_enable() local
118 if (!parent_hw) { in ccu_div_var_enable()
128 ret = ccu_div_var_update_clkdiv(div, clk_hw_get_rate(parent_hw), in ccu_div_var_enable()
/linux-6.1.9/drivers/clk/xilinx/
Dxlnx_vcu.c253 const struct clk_hw *parent_hw, in xvcu_register_pll_post() argument
269 clk_hw_get_name(parent_hw), in xvcu_register_pll_post()
/linux-6.1.9/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy_14nm.c767 const struct clk_hw *parent_hw, in pll_14nm_postdiv_register() argument
774 .parent_hws = (const struct clk_hw *[]) { parent_hw }, in pll_14nm_postdiv_register()
/linux-6.1.9/drivers/clk/qcom/
Dclk-alpha-pll.c1280 struct clk_hw *parent_hw; in alpha_pll_fabia_prepare() local
1305 parent_hw = clk_hw_get_parent(hw); in alpha_pll_fabia_prepare()
1306 if (!parent_hw) in alpha_pll_fabia_prepare()
1309 rrate = alpha_pll_round_rate(cal_freq, clk_hw_get_rate(parent_hw), in alpha_pll_fabia_prepare()
/linux-6.1.9/sound/soc/codecs/
Drt5682.c2702 struct clk_hw *parent_hw; in rt5682_wclk_set_rate() local
2719 parent_hw = clk_hw_get_parent(hw); in rt5682_wclk_set_rate()
2720 if (!parent_hw) in rt5682_wclk_set_rate()