Home
last modified time | relevance | path

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

/linux/drivers/clk/tegra/
A 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()
A Dclk-tegra20.c1082 struct clk_hw *parent_hw; in tegra20_clk_src_onecell_get() local
1101 parent_hw = clk_hw_get_parent(hw); in tegra20_clk_src_onecell_get()
1102 if (!parent_hw) in tegra20_clk_src_onecell_get()
/linux/drivers/clk/
A Dclk-fixed-rate.c54 const char *parent_name, const struct clk_hw *parent_hw, in __clk_hw_register_fixed_rate() argument
73 init.parent_hws = parent_hw ? &parent_hw : NULL; in __clk_hw_register_fixed_rate()
75 if (parent_name || parent_hw || parent_data) in __clk_hw_register_fixed_rate()
A Dclk-gate.c128 const char *parent_name, const struct clk_hw *parent_hw, in __clk_hw_register_gate() argument
155 init.parent_hws = parent_hw ? &parent_hw : NULL; in __clk_hw_register_gate()
157 if (parent_name || parent_hw || parent_data) in __clk_hw_register_gate()
A 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()
A 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/include/linux/
A Dclk-provider.h350 const char *parent_name, const struct clk_hw *parent_hw,
378 #define clk_hw_register_fixed_rate_parent_hw(dev, name, parent_hw, flags, \ argument
380 __clk_hw_register_fixed_rate((dev), NULL, (name), NULL, (parent_hw), \
423 parent_hw, flags, fixed_rate, fixed_accuracy) \
424 __clk_hw_register_fixed_rate((dev), NULL, (name), NULL, (parent_hw) \
488 const char *parent_name, const struct clk_hw *parent_hw,
527 __clk_hw_register_gate((dev), NULL, (name), NULL, (parent_hw), \
644 const char *parent_name, const struct clk_hw *parent_hw,
650 const char *parent_name, const struct clk_hw *parent_hw,
709 __clk_hw_register_divider((dev), NULL, (name), NULL, (parent_hw), \
[all …]
/linux/drivers/clk/ti/
A Dgate.c69 struct clk_hw *parent_hw; in omap36xx_gate_clk_enable_with_hsdiv_restore() local
77 parent_hw = clk_hw_get_parent(clk_hw_get_parent(hw)); in omap36xx_gate_clk_enable_with_hsdiv_restore()
78 parent = to_clk_omap_divider(parent_hw); in omap36xx_gate_clk_enable_with_hsdiv_restore()
/linux/drivers/clk/imx/
A 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/drivers/clk/at91/
A 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()
A 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()
A Dsama7g5.c951 struct clk_hw *parent_hw; in sama7g5_pmc_setup() local
959 parent_hw = sama7g5_pmc->chws[PMC_MAIN]; in sama7g5_pmc_setup()
961 parent_hw = __clk_get_hw(of_clk_get_by_name(np, in sama7g5_pmc_setup()
966 sama7g5_plls[i][j].p, parent_hw, i, in sama7g5_pmc_setup()
A 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()
A 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()
497 struct clk_hw *parent_hw = clk_hw_get_parent(hw); in clk_master_pres_save_context() local
513 master->pms.parent_rate = clk_hw_get_rate(parent_hw); in clk_master_pres_save_context()
A 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()
A Dpmc.h223 struct clk_hw *parent_hw, u8 id,
/linux/drivers/clk/baikal-t1/
A 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()
A 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/drivers/clk/xilinx/
A 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/drivers/clk/qcom/
A Dclk-alpha-pll.c1221 struct clk_hw *parent_hw; in alpha_pll_fabia_prepare() local
1246 parent_hw = clk_hw_get_parent(hw); in alpha_pll_fabia_prepare()
1247 if (!parent_hw) in alpha_pll_fabia_prepare()
1250 rrate = alpha_pll_round_rate(cal_freq, clk_hw_get_rate(parent_hw), in alpha_pll_fabia_prepare()
/linux/sound/soc/codecs/
A Drt5682.c2699 struct clk_hw *parent_hw; in rt5682_wclk_set_rate() local
2716 parent_hw = clk_hw_get_parent(hw); in rt5682_wclk_set_rate()
2717 if (!parent_hw) in rt5682_wclk_set_rate()

Completed in 54 milliseconds