Home
last modified time | relevance | path

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

/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.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()
/drivers/clk/
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-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()
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()
/drivers/clk/ti/
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()
/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()
/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.c113 struct clk_hw *parent_hw = clk_hw_get_parent(hw); in ccu_div_var_enable() local
119 if (!parent_hw) { in ccu_div_var_enable()
129 ret = ccu_div_var_update_clkdiv(div, clk_hw_get_rate(parent_hw), in ccu_div_var_enable()
/drivers/clk/at91/
Dsama7g5.c942 struct clk_hw *parent_hw; in sama7g5_pmc_setup() local
950 parent_hw = sama7g5_pmc->chws[PMC_MAIN]; in sama7g5_pmc_setup()
952 parent_hw = __clk_get_hw(of_clk_get_by_name(np, in sama7g5_pmc_setup()
957 sama7g5_plls[i][j].p, parent_hw, i, in sama7g5_pmc_setup()
Dclk-sam9x60-pll.c506 struct clk_hw *parent_hw, u8 id, in sam9x60_clk_register_frac_pll() argument
517 if (id > PLL_MAX_ID || !lock || !parent_hw) in sam9x60_clk_register_frac_pll()
556 parent_rate = clk_hw_get_rate(parent_hw); in sam9x60_clk_register_frac_pll()
Dpmc.h206 struct clk_hw *parent_hw, u8 id,
/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()
/drivers/clk/qcom/
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()