Home
last modified time | relevance | path

Searched refs:hw_clk (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/drivers/clk/socfpga/
Dclk-agilex.c341 struct clk_hw *hw_clk; in n5x_clk_register_c_perip() local
346 hw_clk = n5x_register_periph(&clks[i], base); in n5x_clk_register_c_perip()
347 if (IS_ERR(hw_clk)) { in n5x_clk_register_c_perip()
352 data->clk_data.hws[clks[i].id] = hw_clk; in n5x_clk_register_c_perip()
360 struct clk_hw *hw_clk; in agilex_clk_register_c_perip() local
365 hw_clk = s10_register_periph(&clks[i], base); in agilex_clk_register_c_perip()
366 if (IS_ERR(hw_clk)) { in agilex_clk_register_c_perip()
371 data->clk_data.hws[clks[i].id] = hw_clk; in agilex_clk_register_c_perip()
379 struct clk_hw *hw_clk; in agilex_clk_register_cnt_perip() local
384 hw_clk = s10_register_cnt_periph(&clks[i], base); in agilex_clk_register_cnt_perip()
[all …]
Dclk-periph-s10.c104 struct clk_hw *hw_clk; in s10_register_periph() local
127 hw_clk = &periph_clk->hw.hw; in s10_register_periph()
129 ret = clk_hw_register(NULL, hw_clk); in s10_register_periph()
134 return hw_clk; in s10_register_periph()
140 struct clk_hw *hw_clk; in n5x_register_periph() local
162 hw_clk = &periph_clk->hw.hw; in n5x_register_periph()
164 ret = clk_hw_register(NULL, hw_clk); in n5x_register_periph()
169 return hw_clk; in n5x_register_periph()
175 struct clk_hw *hw_clk; in s10_register_cnt_periph() local
208 hw_clk = &periph_clk->hw.hw; in s10_register_cnt_periph()
[all …]
Dclk-s10.c310 struct clk_hw *hw_clk; in s10_clk_register_c_perip() local
315 hw_clk = s10_register_periph(&clks[i], base); in s10_clk_register_c_perip()
316 if (IS_ERR(hw_clk)) { in s10_clk_register_c_perip()
321 data->clk_data.hws[clks[i].id] = hw_clk; in s10_clk_register_c_perip()
329 struct clk_hw *hw_clk; in s10_clk_register_cnt_perip() local
334 hw_clk = s10_register_cnt_periph(&clks[i], base); in s10_clk_register_cnt_perip()
335 if (IS_ERR(hw_clk)) { in s10_clk_register_cnt_perip()
340 data->clk_data.hws[clks[i].id] = hw_clk; in s10_clk_register_cnt_perip()
349 struct clk_hw *hw_clk; in s10_clk_register_gate() local
354 hw_clk = s10_register_gate(&clks[i], base); in s10_clk_register_gate()
[all …]
Dclk-pll-s10.c193 struct clk_hw *hw_clk; in s10_register_pll() local
220 hw_clk = &pll_clk->hw.hw; in s10_register_pll()
222 ret = clk_hw_register(NULL, hw_clk); in s10_register_pll()
227 return hw_clk; in s10_register_pll()
233 struct clk_hw *hw_clk; in agilex_register_pll() local
259 hw_clk = &pll_clk->hw.hw; in agilex_register_pll()
261 ret = clk_hw_register(NULL, hw_clk); in agilex_register_pll()
266 return hw_clk; in agilex_register_pll()
272 struct clk_hw *hw_clk; in n5x_register_pll() local
298 hw_clk = &pll_clk->hw.hw; in n5x_register_pll()
[all …]
Dclk-pll-a10.c70 struct clk_hw *hw_clk; in __socfpga_pll_init() local
104 hw_clk = &pll_clk->hw.hw; in __socfpga_pll_init()
106 if (clk_hw_register(NULL, hw_clk)) { in __socfpga_pll_init()
110 of_clk_add_provider(node, of_clk_src_simple_get, hw_clk); in __socfpga_pll_init()
111 return hw_clk; in __socfpga_pll_init()
Dclk-pll.c77 struct clk_hw *hw_clk; in __socfpga_pll_init() local
109 hw_clk = &pll_clk->hw.hw; in __socfpga_pll_init()
111 err = clk_hw_register(NULL, hw_clk); in __socfpga_pll_init()
116 of_clk_add_provider(node, of_clk_src_simple_get, hw_clk); in __socfpga_pll_init()
117 return hw_clk; in __socfpga_pll_init()
Dclk-periph-a10.c64 struct clk_hw *hw_clk; in __socfpga_periph_init() local
107 hw_clk = &periph_clk->hw.hw; in __socfpga_periph_init()
109 if (clk_hw_register(NULL, hw_clk)) { in __socfpga_periph_init()
113 rc = of_clk_add_provider(node, of_clk_src_simple_get, hw_clk); in __socfpga_periph_init()
123 clk_hw_unregister(hw_clk); in __socfpga_periph_init()
Dclk-periph.c54 struct clk_hw *hw_clk; in __socfpga_periph_init() local
97 hw_clk = &periph_clk->hw.hw; in __socfpga_periph_init()
99 if (clk_hw_register(NULL, hw_clk)) { in __socfpga_periph_init()
103 rc = of_clk_add_provider(node, of_clk_src_simple_get, hw_clk); in __socfpga_periph_init()
Dclk-gate-s10.c129 struct clk_hw *hw_clk; in s10_register_gate() local
175 hw_clk = &socfpga_clk->hw.hw; in s10_register_gate()
182 return hw_clk; in s10_register_gate()
187 struct clk_hw *hw_clk; in agilex_register_gate() local
233 hw_clk = &socfpga_clk->hw.hw; in agilex_register_gate()
240 return hw_clk; in agilex_register_gate()
Dclk-gate-a10.c101 struct clk_hw *hw_clk; in __socfpga_gate_init() local
163 hw_clk = &socfpga_clk->hw.hw; in __socfpga_gate_init()
165 if (clk_hw_register(NULL, hw_clk)) { in __socfpga_gate_init()
169 rc = of_clk_add_provider(node, of_clk_src_simple_get, hw_clk); in __socfpga_gate_init()
Dclk-gate.c177 struct clk_hw *hw_clk; in socfpga_gate_init() local
244 hw_clk = &socfpga_clk->hw.hw; in socfpga_gate_init()
246 err = clk_hw_register(NULL, hw_clk); in socfpga_gate_init()
252 rc = of_clk_add_provider(node, of_clk_src_simple_get, hw_clk); in socfpga_gate_init()
/linux-6.1.9/drivers/net/wireless/ath/ath10k/
Dhw.c746 const struct ath10k_hw_clk_params *hw_clk; in ath10k_hw_qca6174_enable_pll_clock() local
769 hw_clk = &hw->hw_clk[MS(reg_val, EFUSE_XTAL_SEL)]; in ath10k_hw_qca6174_enable_pll_clock()
778 reg_val |= (SM(hw_clk->rnfrac, BB_PLL_CONFIG_FRAC) | in ath10k_hw_qca6174_enable_pll_clock()
779 SM(hw_clk->outdiv, BB_PLL_CONFIG_OUTDIV)); in ath10k_hw_qca6174_enable_pll_clock()
791 reg_val |= SM(hw_clk->settle_time, WLAN_PLL_SETTLE_TIME); in ath10k_hw_qca6174_enable_pll_clock()
821 reg_val |= (SM(hw_clk->refdiv, WLAN_PLL_CONTROL_REFDIV) | in ath10k_hw_qca6174_enable_pll_clock()
822 SM(hw_clk->div, WLAN_PLL_CONTROL_DIV) | in ath10k_hw_qca6174_enable_pll_clock()
Dcore.c204 .hw_clk = qca6174_clk,
361 .hw_clk = qca6174_clk,
593 .hw_clk = qca6174_clk,
635 .hw_clk = qca6174_clk,
Dhw.h576 const struct ath10k_hw_clk_params *hw_clk; member
/linux-6.1.9/drivers/clk/visconti/
Dpll.c289 struct clk_hw *hw_clk, in visconti_pll_add_lookup() argument
293 ctx->clk_data.hws[id] = hw_clk; in visconti_pll_add_lookup()