Home
last modified time | relevance | path

Searched refs:clk_hw (Results 1 – 25 of 695) sorted by relevance

12345678910>>...28

/linux-6.3-rc2/include/linux/
A Dclk-provider.h37 struct clk_hw;
326 struct clk_hw { struct
353 struct clk_hw hw;
513 struct clk_hw hw;
661 struct clk_hw hw;
949 struct clk_hw hw;
1075 struct clk_hw hw;
1134 struct clk_hw hw;
1190 struct clk_hw hw;
1218 struct clk_hw hw;
[all …]
/linux-6.3-rc2/drivers/clk/at91/
A Dpmc.h22 struct clk_hw **chws;
24 struct clk_hw **shws;
26 struct clk_hw **phws;
28 struct clk_hw **ghws;
30 struct clk_hw **pchws;
32 struct clk_hw *hwtable[];
131 struct clk_hw * __init
135 struct clk_hw * __init
139 struct clk_hw * __init
143 struct clk_hw * __init
[all …]
A Dclk-utmi.c23 struct clk_hw hw;
40 static int clk_utmi_prepare(struct clk_hw *hw) in clk_utmi_prepare()
42 struct clk_hw *hw_parent; in clk_utmi_prepare()
95 static int clk_utmi_is_prepared(struct clk_hw *hw) in clk_utmi_is_prepared()
102 static void clk_utmi_unprepare(struct clk_hw *hw) in clk_utmi_unprepare()
143 static struct clk_hw * __init
150 struct clk_hw *hw; in at91_clk_register_utmi_internal()
178 struct clk_hw * __init
189 struct clk_hw *hw_parent; in clk_utmi_sama7g5_prepare()
223 struct clk_hw *hw_parent; in clk_utmi_sama7g5_is_prepared()
[all …]
A Dclk-main.c29 struct clk_hw hw;
37 struct clk_hw hw;
47 struct clk_hw hw;
54 struct clk_hw hw;
151 struct clk_hw * __init
159 struct clk_hw *hw; in at91_clk_register_main_osc()
292 struct clk_hw * __init
299 struct clk_hw *hw; in at91_clk_register_main_rc_osc()
397 struct clk_hw * __init
404 struct clk_hw *hw; in at91_clk_register_rm9200_main()
[all …]
A Dclk-usb.c25 struct clk_hw hw;
36 struct clk_hw hw;
60 struct clk_hw *parent; in at91sam9x5_clk_usb_determine_rate()
222 static struct clk_hw * __init
228 struct clk_hw *hw; in _at91sam9x5_clk_register_usb()
258 struct clk_hw * __init
266 struct clk_hw * __init
274 struct clk_hw * __init
279 struct clk_hw *hw; in at91sam9n12_clk_register_usb()
391 struct clk_hw * __init
[all …]
/linux-6.3-rc2/drivers/clk/
A Dclk-composite.c15 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_get_parent()
26 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_parent()
38 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_recalc_rate()
47 struct clk_hw *parent_hw, in clk_composite_determine_rate_for_parent()
75 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_determine_rate()
76 struct clk_hw *parent; in clk_composite_determine_rate()
242 struct clk_hw *hw; in __clk_hw_register_composite()
387 struct clk_hw *hw; in clk_register_composite()
406 struct clk_hw *hw; in clk_register_composite_pdata()
419 struct clk_hw *hw; in clk_unregister_composite()
[all …]
A Dclk-gate_test.c13 struct clk_hw *ret; in clk_gate_register_test_dev()
31 struct clk_hw *parent; in clk_gate_register_test_parent_names()
32 struct clk_hw *ret; in clk_gate_register_test_parent_names()
50 struct clk_hw *ret; in clk_gate_register_test_parent_data()
70 struct clk_hw *ret; in clk_gate_register_test_parent_data_legacy()
90 struct clk_hw *ret; in clk_gate_register_test_parent_hw()
107 struct clk_hw *ret; in clk_gate_register_test_hiword_invalid()
132 struct clk_hw *hw;
206 struct clk_hw *hw; in clk_gate_test_init()
285 struct clk_hw *hw; in clk_gate_test_invert_init()
[all …]
A Dclk-hi655x.c22 struct clk_hw clk_hw; member
25 static unsigned long hi655x_clk_recalc_rate(struct clk_hw *hw, in hi655x_clk_recalc_rate()
31 static int hi655x_clk_enable(struct clk_hw *hw, bool enable) in hi655x_clk_enable()
34 container_of(hw, struct hi655x_clk, clk_hw); in hi655x_clk_enable()
42 static int hi655x_clk_prepare(struct clk_hw *hw) in hi655x_clk_prepare()
47 static void hi655x_clk_unprepare(struct clk_hw *hw) in hi655x_clk_unprepare()
52 static int hi655x_clk_is_prepared(struct clk_hw *hw) in hi655x_clk_is_prepared()
55 container_of(hw, struct hi655x_clk, clk_hw); in hi655x_clk_is_prepared()
93 hi655x_clk->clk_hw.init = &init; in hi655x_clk_probe()
98 ret = devm_clk_hw_register(&pdev->dev, &hi655x_clk->clk_hw); in hi655x_clk_probe()
[all …]
A Dclk-fixed-factor.c79 static struct clk_hw *
82 const struct clk_hw *parent_hw, int index, in __clk_hw_register_fixed_factor()
89 struct clk_hw *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()
182 const char *name, const struct clk_hw *parent_hw, in clk_hw_register_fixed_factor_parent_hw()
204 struct clk_hw *hw; in clk_register_fixed_factor()
216 struct clk_hw *hw; in clk_unregister_fixed_factor()
227 void clk_hw_unregister_fixed_factor(struct clk_hw *hw) in clk_hw_unregister_fixed_factor()
250 struct clk_hw *hw; in _of_fixed_factor_clk_setup()
302 struct clk_hw *clk = platform_get_drvdata(pdev); in of_fixed_factor_clk_remove()
[all …]
A Dclk-gpio.c45 struct clk_hw hw;
51 static int clk_gpio_gate_enable(struct clk_hw *hw) in clk_gpio_gate_enable()
60 static void clk_gpio_gate_disable(struct clk_hw *hw) in clk_gpio_gate_disable()
67 static int clk_gpio_gate_is_enabled(struct clk_hw *hw) in clk_gpio_gate_is_enabled()
80 static int clk_sleeping_gpio_gate_prepare(struct clk_hw *hw) in clk_sleeping_gpio_gate_prepare()
89 static void clk_sleeping_gpio_gate_unprepare(struct clk_hw *hw) in clk_sleeping_gpio_gate_unprepare()
96 static int clk_sleeping_gpio_gate_is_prepared(struct clk_hw *hw) in clk_sleeping_gpio_gate_is_prepared()
117 static u8 clk_gpio_mux_get_parent(struct clk_hw *hw) in clk_gpio_mux_get_parent()
124 static int clk_gpio_mux_set_parent(struct clk_hw *hw, u8 index) in clk_gpio_mux_set_parent()
144 struct clk_hw *hw; in clk_register_gpio()
[all …]
A Dclk-axi-clkgen.c58 struct clk_hw clk_hw; member
315 static struct axi_clkgen *clk_hw_to_axi_clkgen(struct clk_hw *clk_hw) in clk_hw_to_axi_clkgen() argument
317 return container_of(clk_hw, struct axi_clkgen, clk_hw); in clk_hw_to_axi_clkgen()
336 static int axi_clkgen_set_rate(struct clk_hw *clk_hw, in axi_clkgen_set_rate() argument
433 static unsigned long axi_clkgen_recalc_rate(struct clk_hw *clk_hw, in axi_clkgen_recalc_rate() argument
461 static int axi_clkgen_enable(struct clk_hw *clk_hw) in axi_clkgen_enable() argument
470 static void axi_clkgen_disable(struct clk_hw *clk_hw) in axi_clkgen_disable() argument
477 static int axi_clkgen_set_parent(struct clk_hw *clk_hw, u8 index) in axi_clkgen_set_parent() argument
486 static u8 axi_clkgen_get_parent(struct clk_hw *clk_hw) in axi_clkgen_get_parent() argument
551 axi_clkgen->clk_hw.init = &init; in axi_clkgen_probe()
[all …]
A Dclk-max9485.c71 struct clk_hw hw;
110 static int max9485_clk_prepare(struct clk_hw *hw) in max9485_clk_prepare()
112 struct max9485_clk_hw *clk_hw = to_max9485_clk(hw); in max9485_clk_prepare() local
114 return max9485_update_bits(clk_hw->drvdata, in max9485_clk_prepare()
115 clk_hw->enable_bit, in max9485_clk_prepare()
116 clk_hw->enable_bit); in max9485_clk_prepare()
119 static void max9485_clk_unprepare(struct clk_hw *hw) in max9485_clk_unprepare()
121 struct max9485_clk_hw *clk_hw = to_max9485_clk(hw); in max9485_clk_unprepare() local
123 max9485_update_bits(clk_hw->drvdata, clk_hw->enable_bit, 0); in max9485_clk_unprepare()
142 return max9485_update_bits(clk_hw->drvdata, in max9485_clkout_set_rate()
[all …]
/linux-6.3-rc2/drivers/clk/samsung/
A Dclk.c89 struct clk_hw *clk_hw, unsigned int id) in samsung_clk_add_lookup() argument
100 struct clk_hw *clk_hw; in samsung_clk_register_alias() local
111 if (!clk_hw) { in samsung_clk_register_alias()
130 struct clk_hw *clk_hw; in samsung_clk_register_fixed_rate() local
136 if (IS_ERR(clk_hw)) { in samsung_clk_register_fixed_rate()
159 struct clk_hw *clk_hw; in samsung_clk_register_fixed_factor() local
165 if (IS_ERR(clk_hw)) { in samsung_clk_register_fixed_factor()
180 struct clk_hw *clk_hw; in samsung_clk_register_mux() local
188 if (IS_ERR(clk_hw)) { in samsung_clk_register_mux()
203 struct clk_hw *clk_hw; in samsung_clk_register_div() local
[all …]
/linux-6.3-rc2/drivers/clk/ti/
A Dclock.h12 struct clk_hw hw;
27 struct clk_hw hw;
205 struct clk_hw *hw, const char *con);
246 int omap2_init_clk_clkdm(struct clk_hw *hw);
247 int omap2_clkops_enable_clkdm(struct clk_hw *hw);
248 void omap2_clkops_disable_clkdm(struct clk_hw *hw);
250 int omap2_dflt_clk_enable(struct clk_hw *hw);
251 void omap2_dflt_clk_disable(struct clk_hw *hw);
252 int omap2_dflt_clk_is_enabled(struct clk_hw *hw);
263 u8 omap2_init_dpll_parent(struct clk_hw *hw);
[all …]
A Dapll.c131 struct clk_hw *hw = user; in omap_clk_register_apll()
172 kfree(clk_hw->dpll_data); in omap_clk_register_apll()
175 kfree(clk_hw); in omap_clk_register_apll()
187 clk_hw = kzalloc(sizeof(*clk_hw), GFP_KERNEL); in of_dra7_apll_setup()
192 clk_hw->dpll_data = ad; in of_dra7_apll_setup()
193 clk_hw->hw.init = init; in of_dra7_apll_setup()
227 kfree(clk_hw); in of_dra7_apll_setup()
351 clk_hw = kzalloc(sizeof(*clk_hw), GFP_KERNEL); in of_omap2_apll_setup()
357 clk_hw->dpll_data = ad; in of_omap2_apll_setup()
358 clk_hw->hw.init = init; in of_omap2_apll_setup()
[all …]
/linux-6.3-rc2/drivers/clk/mediatek/
A Dclk-pll.h61 struct clk_hw hw;
81 static inline struct mtk_clk_pll *to_mtk_clk_pll(struct clk_hw *hw) in to_mtk_clk_pll()
86 int mtk_pll_is_prepared(struct clk_hw *hw);
88 int mtk_pll_prepare(struct clk_hw *hw);
90 void mtk_pll_unprepare(struct clk_hw *hw);
96 int mtk_pll_set_rate(struct clk_hw *hw, unsigned long rate,
98 long mtk_pll_round_rate(struct clk_hw *hw, unsigned long rate,
101 struct clk_hw *mtk_clk_register_pll_ops(struct mtk_clk_pll *pll,
105 struct clk_hw *mtk_clk_register_pll(const struct mtk_pll_data *data,
107 void mtk_clk_unregister_pll(struct clk_hw *hw);
[all …]
A Dclk-gate.c18 struct clk_hw hw;
31 static u32 mtk_get_clockgating(struct clk_hw *hw) in mtk_get_clockgating()
41 static int mtk_cg_bit_is_cleared(struct clk_hw *hw) in mtk_cg_bit_is_cleared()
46 static int mtk_cg_bit_is_set(struct clk_hw *hw) in mtk_cg_bit_is_set()
51 static void mtk_cg_set_bit(struct clk_hw *hw) in mtk_cg_set_bit()
58 static void mtk_cg_clr_bit(struct clk_hw *hw) in mtk_cg_clr_bit()
79 static int mtk_cg_enable(struct clk_hw *hw) in mtk_cg_enable()
86 static void mtk_cg_disable(struct clk_hw *hw) in mtk_cg_disable()
91 static int mtk_cg_enable_inv(struct clk_hw *hw) in mtk_cg_enable_inv()
98 static void mtk_cg_disable_inv(struct clk_hw *hw) in mtk_cg_disable_inv()
[all …]
/linux-6.3-rc2/drivers/clk/imx/
A Dclk-scu.h30 struct clk_hw *imx_scu_of_clk_src_get(struct of_phandle_args *clkspec,
32 struct clk_hw *imx_clk_scu_alloc_dev(const char *name,
36 struct clk_hw *__imx_clk_scu(struct device *dev, const char *name,
42 struct clk_hw *__imx_clk_lpcg_scu(struct device *dev, const char *name,
45 void imx_clk_lpcg_scu_unregister(struct clk_hw *hw);
47 struct clk_hw *__imx_clk_gpr_scu(const char *name, const char * const *parent_name,
51 static inline struct clk_hw *imx_clk_scu(const char *name, u32 rsrc_id, in imx_clk_scu()
57 static inline struct clk_hw *imx_clk_scu2(const char *name, const char * const *parents, in imx_clk_scu2()
63 static inline struct clk_hw *imx_clk_lpcg_scu_dev(struct device *dev, const char *name, in imx_clk_lpcg_scu_dev()
71 static inline struct clk_hw *imx_clk_lpcg_scu(const char *name, const char *parent_name, in imx_clk_lpcg_scu()
[all …]
A Dclk.h13 void imx_check_clk_hws(struct clk_hw *clks[], unsigned int count);
23 void imx_unregister_hw_clocks(struct clk_hw *hws[], unsigned int count);
236 struct clk_hw *imx_clk_hw_sscg_pll(const char *name,
288 struct clk_hw *imx_obtain_fixed_clock_hw(
291 struct clk_hw *imx_obtain_fixed_of_clock(struct device_node *np,
313 struct clk_hw *imx7ulp_clk_hw_composite(const char *name,
319 struct clk_hw *imx8ulp_clk_hw_composite(const char *name,
333 static inline struct clk *to_clk(struct clk_hw *hw) in to_clk()
352 static inline struct clk_hw *__imx_clk_hw_divider(const char *name, in __imx_clk_hw_divider()
405 struct clk_hw *__imx8m_clk_hw_composite(const char *name,
[all …]
/linux-6.3-rc2/drivers/clk/ux500/
A Dclk-prcmu.c20 struct clk_hw hw;
26 struct clk_hw hw;
34 static int clk_prcmu_prepare(struct clk_hw *hw) in clk_prcmu_prepare()
41 static void clk_prcmu_unprepare(struct clk_hw *hw) in clk_prcmu_unprepare()
70 static int clk_prcmu_opp_prepare(struct clk_hw *hw) in clk_prcmu_opp_prepare()
98 static void clk_prcmu_opp_unprepare(struct clk_hw *hw) in clk_prcmu_opp_unprepare()
115 static int clk_prcmu_opp_volt_prepare(struct clk_hw *hw) in clk_prcmu_opp_volt_prepare()
194 static struct clk_hw *clk_reg_prcmu(const char *name, in clk_reg_prcmu()
249 struct clk_hw *clk_reg_prcmu_gate(const char *name, in clk_reg_prcmu_gate()
268 struct clk_hw *clk_reg_prcmu_rate(const char *name, in clk_reg_prcmu_rate()
[all …]
/linux-6.3-rc2/drivers/clk/tegra/
A Dclk-periph.c14 static u8 clk_periph_get_parent(struct clk_hw *hw) in clk_periph_get_parent()
18 struct clk_hw *mux_hw = &periph->mux.hw; in clk_periph_get_parent()
29 struct clk_hw *mux_hw = &periph->mux.hw; in clk_periph_set_parent()
41 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_recalc_rate()
53 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_round_rate()
65 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_set_rate()
76 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_is_enabled()
87 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_enable()
98 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_disable()
107 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_disable_unused()
[all …]
/linux-6.3-rc2/drivers/clk/actions/
A Dowl-composite.c16 static u8 owl_comp_get_parent(struct clk_hw *hw) in owl_comp_get_parent()
23 static int owl_comp_set_parent(struct clk_hw *hw, u8 index) in owl_comp_set_parent()
30 static void owl_comp_disable(struct clk_hw *hw) in owl_comp_disable()
38 static int owl_comp_enable(struct clk_hw *hw) in owl_comp_enable()
48 static int owl_comp_is_enabled(struct clk_hw *hw) in owl_comp_is_enabled()
56 static long owl_comp_div_round_rate(struct clk_hw *hw, unsigned long rate, in owl_comp_div_round_rate()
65 static unsigned long owl_comp_div_recalc_rate(struct clk_hw *hw, in owl_comp_div_recalc_rate()
74 static int owl_comp_div_set_rate(struct clk_hw *hw, unsigned long rate, in owl_comp_div_set_rate()
93 static unsigned long owl_comp_fact_recalc_rate(struct clk_hw *hw, in owl_comp_fact_recalc_rate()
103 static int owl_comp_fact_set_rate(struct clk_hw *hw, unsigned long rate, in owl_comp_fact_set_rate()
[all …]
/linux-6.3-rc2/drivers/clk/stm32/
A Dclk-stm32-core.c29 struct clk_hw **hws; in stm32_rcc_clock_init()
47 struct clk_hw *hw = ERR_PTR(-ENOENT); in stm32_rcc_clock_init()
256 static u8 clk_stm32_mux_get_parent(struct clk_hw *hw) in clk_stm32_mux_get_parent()
294 static int clk_stm32_gate_enable(struct clk_hw *hw) in clk_stm32_gate_enable()
301 static void clk_stm32_gate_disable(struct clk_hw *hw) in clk_stm32_gate_disable()
500 static int clk_stm32_has_safe_mux(struct clk_hw *hw) in clk_stm32_has_safe_mux()
516 struct clk_hw *other_mux_hw = NULL; in clk_stm32_set_safe_position_mux()
620 struct clk_hw *hw = &mux->hw; in clk_stm32_mux_register()
641 struct clk_hw *hw = &gate->hw; in clk_stm32_gate_register()
662 struct clk_hw *hw = &div->hw; in clk_stm32_div_register()
[all …]
/linux-6.3-rc2/drivers/clk/meson/
A Daxg.c79 .parent_hws = (const struct clk_hw *[]) {
138 .parent_hws = (const struct clk_hw *[]) {
243 .parent_hws = (const struct clk_hw *[]) {
316 .parent_hws = (const struct clk_hw *[]) {
343 .parent_hws = (const struct clk_hw *[]) {
370 .parent_hws = (const struct clk_hw *[]) {
408 .parent_hws = (const struct clk_hw *[]) {
434 .parent_hws = (const struct clk_hw *[]) {
447 .parent_hws = (const struct clk_hw *[]) {
462 .parent_hws = (const struct clk_hw *[]) {
[all …]
/linux-6.3-rc2/drivers/clk/renesas/
A Drzg2l-cpg.c63 struct clk_hw hw;
134 struct clk_hw *clk_hw; in rzg2l_cpg_div_clk_register() local
159 if (IS_ERR(clk_hw)) in rzg2l_cpg_div_clk_register()
170 const struct clk_hw *clk_hw; in rzg2l_cpg_mux_clk_register() local
265 struct clk_hw *clk_hw; in rzg2l_cpg_sd_mux_clk_register() local
313 struct clk_hw hw;
402 struct clk_hw *clk_hw; in rzg2l_cpg_dsi_div_clk_register() local
433 struct clk_hw hw;
496 struct clk_hw *clk_hw; in rzg2l_cpg_pll5_4_mux_clk_register() local
523 struct clk_hw hw;
[all …]

Completed in 57 milliseconds

12345678910>>...28