Home
last modified time | relevance | path

Searched refs:rate_hw (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-6.6/drivers/clk/
H A Dclk-composite.c38 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_recalc_rate() local
40 __clk_hw_set_clk(rate_hw, hw); in clk_composite_recalc_rate()
42 return rate_ops->recalc_rate(rate_hw, parent_rate); in clk_composite_recalc_rate()
45 static int clk_composite_determine_rate_for_parent(struct clk_hw *rate_hw, in clk_composite_determine_rate_for_parent() argument
56 return rate_ops->determine_rate(rate_hw, req); in clk_composite_determine_rate_for_parent()
58 rate = rate_ops->round_rate(rate_hw, req->rate, in clk_composite_determine_rate_for_parent()
74 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_determine_rate() local
82 if (rate_hw in clk_composite_determine_rate()
158 struct clk_hw *rate_hw = composite->rate_hw; clk_composite_round_rate() local
170 struct clk_hw *rate_hw = composite->rate_hw; clk_composite_set_rate() local
185 struct clk_hw *rate_hw = composite->rate_hw; clk_composite_set_rate_and_parent() local
237 __clk_hw_register_composite(struct device *dev, const char *name, const char * const *parent_names, const struct clk_parent_data *pdata, int num_parents, struct clk_hw *mux_hw, const struct clk_ops *mux_ops, struct clk_hw *rate_hw, const struct clk_ops *rate_ops, struct clk_hw *gate_hw, const struct clk_ops *gate_ops, unsigned long flags) __clk_hw_register_composite() argument
354 clk_hw_register_composite(struct device *dev, const char *name, const char * const *parent_names, int num_parents, struct clk_hw *mux_hw, const struct clk_ops *mux_ops, struct clk_hw *rate_hw, const struct clk_ops *rate_ops, struct clk_hw *gate_hw, const struct clk_ops *gate_ops, unsigned long flags) clk_hw_register_composite() argument
368 clk_hw_register_composite_pdata(struct device *dev, const char *name, const struct clk_parent_data *parent_data, int num_parents, struct clk_hw *mux_hw, const struct clk_ops *mux_ops, struct clk_hw *rate_hw, const struct clk_ops *rate_ops, struct clk_hw *gate_hw, const struct clk_ops *gate_ops, unsigned long flags) clk_hw_register_composite_pdata() argument
383 clk_register_composite(struct device *dev, const char *name, const char * const *parent_names, int num_parents, struct clk_hw *mux_hw, const struct clk_ops *mux_ops, struct clk_hw *rate_hw, const struct clk_ops *rate_ops, struct clk_hw *gate_hw, const struct clk_ops *gate_ops, unsigned long flags) clk_register_composite() argument
401 clk_register_composite_pdata(struct device *dev, const char *name, const struct clk_parent_data *parent_data, int num_parents, struct clk_hw *mux_hw, const struct clk_ops *mux_ops, struct clk_hw *rate_hw, const struct clk_ops *rate_ops, struct clk_hw *gate_hw, const struct clk_ops *gate_ops, unsigned long flags) clk_register_composite_pdata() argument
450 __devm_clk_hw_register_composite(struct device *dev, const char *name, const char * const *parent_names, const struct clk_parent_data *pdata, int num_parents, struct clk_hw *mux_hw, const struct clk_ops *mux_ops, struct clk_hw *rate_hw, const struct clk_ops *rate_ops, struct clk_hw *gate_hw, const struct clk_ops *gate_ops, unsigned long flags) __devm_clk_hw_register_composite() argument
479 devm_clk_hw_register_composite_pdata(struct device *dev, const char *name, const struct clk_parent_data *parent_data, int num_parents, struct clk_hw *mux_hw, const struct clk_ops *mux_ops, struct clk_hw *rate_hw, const struct clk_ops *rate_ops, struct clk_hw *gate_hw, const struct clk_ops *gate_ops, unsigned long flags) devm_clk_hw_register_composite_pdata() argument
[all...]
/kernel/linux/linux-5.10/drivers/clk/
H A Dclk-composite.c37 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_recalc_rate() local
39 __clk_hw_set_clk(rate_hw, hw); in clk_composite_recalc_rate()
41 return rate_ops->recalc_rate(rate_hw, parent_rate); in clk_composite_recalc_rate()
50 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_determine_rate() local
60 if (rate_hw && rate_ops && rate_ops->determine_rate) { in clk_composite_determine_rate()
61 __clk_hw_set_clk(rate_hw, hw); in clk_composite_determine_rate()
62 return rate_ops->determine_rate(rate_hw, req); in clk_composite_determine_rate()
63 } else if (rate_hw in clk_composite_determine_rate()
123 struct clk_hw *rate_hw = composite->rate_hw; clk_composite_round_rate() local
135 struct clk_hw *rate_hw = composite->rate_hw; clk_composite_set_rate() local
150 struct clk_hw *rate_hw = composite->rate_hw; clk_composite_set_rate_and_parent() local
202 __clk_hw_register_composite(struct device *dev, const char *name, const char * const *parent_names, const struct clk_parent_data *pdata, int num_parents, struct clk_hw *mux_hw, const struct clk_ops *mux_ops, struct clk_hw *rate_hw, const struct clk_ops *rate_ops, struct clk_hw *gate_hw, const struct clk_ops *gate_ops, unsigned long flags) __clk_hw_register_composite() argument
319 clk_hw_register_composite(struct device *dev, const char *name, const char * const *parent_names, int num_parents, struct clk_hw *mux_hw, const struct clk_ops *mux_ops, struct clk_hw *rate_hw, const struct clk_ops *rate_ops, struct clk_hw *gate_hw, const struct clk_ops *gate_ops, unsigned long flags) clk_hw_register_composite() argument
333 clk_hw_register_composite_pdata(struct device *dev, const char *name, const struct clk_parent_data *parent_data, int num_parents, struct clk_hw *mux_hw, const struct clk_ops *mux_ops, struct clk_hw *rate_hw, const struct clk_ops *rate_ops, struct clk_hw *gate_hw, const struct clk_ops *gate_ops, unsigned long flags) clk_hw_register_composite_pdata() argument
348 clk_register_composite(struct device *dev, const char *name, const char * const *parent_names, int num_parents, struct clk_hw *mux_hw, const struct clk_ops *mux_ops, struct clk_hw *rate_hw, const struct clk_ops *rate_ops, struct clk_hw *gate_hw, const struct clk_ops *gate_ops, unsigned long flags) clk_register_composite() argument
365 clk_register_composite_pdata(struct device *dev, const char *name, const struct clk_parent_data *parent_data, int num_parents, struct clk_hw *mux_hw, const struct clk_ops *mux_ops, struct clk_hw *rate_hw, const struct clk_ops *rate_ops, struct clk_hw *gate_hw, const struct clk_ops *gate_ops, unsigned long flags) clk_register_composite_pdata() argument
[all...]
/kernel/linux/linux-5.10/drivers/clk/mvebu/
H A Darmada-37xx-periph.c98 struct clk_hw *rate_hw; member
206 .rate_hw = &rate_##_name.hw, \
216 .rate_hw = &rate_##_name.hw, \
232 .rate_hw = &rate_##_name.hw, \
249 .rate_hw = &rate_##_name.hw, \
622 struct clk_hw *mux_hw = NULL, *gate_hw = NULL, *rate_hw = NULL; in armada_3700_add_composite_clk() local
645 if (data->rate_hw) { in armada_3700_add_composite_clk()
646 rate_hw = data->rate_hw; in armada_3700_add_composite_clk()
647 rate_ops = rate_hw in armada_3700_add_composite_clk()
[all...]
/kernel/linux/linux-6.6/drivers/clk/mvebu/
H A Darmada-37xx-periph.c98 struct clk_hw *rate_hw; member
206 .rate_hw = &rate_##_name.hw, \
216 .rate_hw = &rate_##_name.hw, \
232 .rate_hw = &rate_##_name.hw, \
249 .rate_hw = &rate_##_name.hw, \
622 struct clk_hw *mux_hw = NULL, *gate_hw = NULL, *rate_hw = NULL; in armada_3700_add_composite_clk() local
645 if (data->rate_hw) { in armada_3700_add_composite_clk()
646 rate_hw = data->rate_hw; in armada_3700_add_composite_clk()
647 rate_ops = rate_hw in armada_3700_add_composite_clk()
[all...]
/kernel/linux/linux-5.10/drivers/clk/sunxi/
H A Dclk-sunxi.c950 struct clk_hw *gate_hw, *rate_hw; in sunxi_divs_clk_setup() local
1031 rate_hw = NULL; in sunxi_divs_clk_setup()
1056 rate_hw = &fix_factor->hw; in sunxi_divs_clk_setup()
1072 rate_hw = &divider->hw; in sunxi_divs_clk_setup()
1080 rate_hw, rate_ops, in sunxi_divs_clk_setup()
/kernel/linux/linux-6.6/drivers/clk/sunxi/
H A Dclk-sunxi.c950 struct clk_hw *gate_hw, *rate_hw; in sunxi_divs_clk_setup() local
1031 rate_hw = NULL; in sunxi_divs_clk_setup()
1056 rate_hw = &fix_factor->hw; in sunxi_divs_clk_setup()
1072 rate_hw = &divider->hw; in sunxi_divs_clk_setup()
1080 rate_hw, rate_ops, in sunxi_divs_clk_setup()
/kernel/linux/linux-6.6/include/linux/
H A Dclk-provider.h1229 * @rate_hw: handle between composite and hardware-specific rate clock
1240 struct clk_hw *rate_hw; member
1253 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
1259 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
1266 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
1273 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
1280 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
/kernel/linux/linux-5.10/include/linux/
H A Dclk-provider.h1053 * @rate_hw: handle between composite and hardware-specific rate clock
1064 struct clk_hw *rate_hw; member
1077 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
1083 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
1090 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
1097 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
/kernel/linux/linux-6.6/drivers/clk/mediatek/
H A Dclk-mtk.c319 if (composite->rate_hw) in mtk_clk_unregister_composite()
320 div = to_clk_divider(composite->rate_hw); in mtk_clk_unregister_composite()

Completed in 12 milliseconds