Home
last modified time | relevance | path

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

12

/bsp/allwinner/libraries/sunxi-hal/hal/source/ccmu/sunxi-ng/
A Dccu.h43 struct clk_hw;
95 const struct clk_hw *hw;
368 struct clk_hw struct
429 struct clk_hw hw;
485 struct clk_hw hw;
509 long divider_ro_round_rate_parent(struct clk_hw *hw, struct clk_hw *parent,
513 long divider_round_rate_parent(struct clk_hw *hw, struct clk_hw *parent,
568 struct clk_hw hw;
602 struct clk_hw hw;
773 struct clk_hw *clk_hw_get_parent(const struct clk_hw *hw);
[all …]
A Dccu_div.c11 struct clk_hw *parent, in ccu_div_round_rate()
36 static void ccu_div_disable(struct clk_hw *hw) in ccu_div_disable()
43 static int ccu_div_enable(struct clk_hw *hw) in ccu_div_enable()
50 static int ccu_div_is_enabled(struct clk_hw *hw) in ccu_div_is_enabled()
57 static unsigned long ccu_div_recalc_rate(struct clk_hw *hw, in ccu_div_recalc_rate()
82 static int ccu_div_determine_rate(struct clk_hw *hw, in ccu_div_determine_rate()
91 static int ccu_div_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_div_set_rate()
123 static u8 ccu_div_get_parent(struct clk_hw *hw) in ccu_div_get_parent()
130 static int ccu_div_set_parent(struct clk_hw *hw, u8 index) in ccu_div_set_parent()
A Dccu_mult.c35 struct clk_hw *parent, in ccu_mult_round_rate()
59 static void ccu_mult_disable(struct clk_hw *hw) in ccu_mult_disable()
66 static int ccu_mult_enable(struct clk_hw *hw) in ccu_mult_enable()
73 static int ccu_mult_is_enabled(struct clk_hw *hw) in ccu_mult_is_enabled()
80 static unsigned long ccu_mult_recalc_rate(struct clk_hw *hw, in ccu_mult_recalc_rate()
102 static int ccu_mult_determine_rate(struct clk_hw *hw, in ccu_mult_determine_rate()
111 static int ccu_mult_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_mult_set_rate()
162 static u8 ccu_mult_get_parent(struct clk_hw *hw) in ccu_mult_get_parent()
169 static int ccu_mult_set_parent(struct clk_hw *hw, u8 index) in ccu_mult_set_parent()
A Dccu_mp.c126 struct clk_hw *hw, in ccu_mp_round_rate()
162 static void ccu_mp_disable(struct clk_hw *hw) in ccu_mp_disable()
169 static int ccu_mp_enable(struct clk_hw *hw) in ccu_mp_enable()
176 static int ccu_mp_is_enabled(struct clk_hw *hw) in ccu_mp_is_enabled()
183 static unsigned long ccu_mp_recalc_rate(struct clk_hw *hw, in ccu_mp_recalc_rate()
217 static int ccu_mp_determine_rate(struct clk_hw *hw, in ccu_mp_determine_rate()
226 static int ccu_mp_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_mp_set_rate()
265 static u8 ccu_mp_get_parent(struct clk_hw *hw) in ccu_mp_get_parent()
272 static int ccu_mp_set_parent(struct clk_hw *hw, u8 index) in ccu_mp_set_parent()
310 static unsigned long ccu_mp_mmc_recalc_rate(struct clk_hw *hw, in ccu_mp_mmc_recalc_rate()
[all …]
A Dccu_gate.c27 static void ccu_gate_disable(struct clk_hw *hw) in ccu_gate_disable()
54 static int ccu_gate_enable(struct clk_hw *hw) in ccu_gate_enable()
74 static int ccu_gate_is_enabled(struct clk_hw *hw) in ccu_gate_is_enabled()
81 static unsigned long ccu_gate_recalc_rate(struct clk_hw *hw, in ccu_gate_recalc_rate()
95 static long ccu_gate_round_rate(struct clk_hw *hw, unsigned long rate, in ccu_gate_round_rate()
120 static int ccu_gate_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_gate_set_rate()
A Dccu_mux.c85 struct clk_hw *, in ccu_mux_helper_determine_rate() argument
92 struct clk_hw *best_parent, *hw = &common->hw; in ccu_mux_helper_determine_rate()
121 struct clk_hw *parent; in ccu_mux_helper_determine_rate()
217 static void ccu_mux_disable(struct clk_hw *hw) in ccu_mux_disable()
224 static int ccu_mux_enable(struct clk_hw *hw) in ccu_mux_enable()
231 static int ccu_mux_is_enabled(struct clk_hw *hw) in ccu_mux_is_enabled()
238 static u8 ccu_mux_get_parent(struct clk_hw *hw) in ccu_mux_get_parent()
245 static int ccu_mux_set_parent(struct clk_hw *hw, u8 index) in ccu_mux_set_parent()
252 static unsigned long ccu_mux_recalc_rate(struct clk_hw *hw, in ccu_mux_recalc_rate()
A Dccu.c38 const char *clk_hw_get_name(const struct clk_hw *hw) in clk_hw_get_name()
46 unsigned long clk_hw_get_flags(const struct clk_hw *hw) in clk_hw_get_flags()
54 struct clk_core *clk_hw_get_core(const struct clk_hw *hw) in clk_hw_get_core()
129 struct clk_hw *
144 struct clk_hw *clk_hw_get_parent(const struct clk_hw *hw) in clk_hw_get_parent()
298 int clk_mux_determine_rate_flags(struct clk_hw *hw, in clk_mux_determine_rate_flags()
393 int __clk_mux_determine_rate(struct clk_hw *hw, in __clk_mux_determine_rate()
518 const struct clk_hw **parent_hws = init->parent_hws; in clk_core_populate_parent_map()
605 int clk_hw_register(struct clk_hw *hw) in clk_hw_register()
674 int clk_hw_unregister(struct clk_hw *hw) in clk_hw_unregister()
[all …]
A Dccu_nkm.c54 static void ccu_nkm_disable(struct clk_hw *hw) in ccu_nkm_disable()
61 static int ccu_nkm_enable(struct clk_hw *hw) in ccu_nkm_enable()
68 static int ccu_nkm_is_enabled(struct clk_hw *hw) in ccu_nkm_is_enabled()
75 static unsigned long ccu_nkm_recalc_rate(struct clk_hw *hw, in ccu_nkm_recalc_rate()
119 struct clk_hw *hw, in ccu_nkm_round_rate()
151 static int ccu_nkm_determine_rate(struct clk_hw *hw, in ccu_nkm_determine_rate()
160 static int ccu_nkm_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_nkm_set_rate()
201 static u8 ccu_nkm_get_parent(struct clk_hw *hw) in ccu_nkm_get_parent()
208 static int ccu_nkm_set_parent(struct clk_hw *hw, u8 index) in ccu_nkm_set_parent()
A Dclk-divider.c176 static unsigned long clk_divider_recalc_rate(struct clk_hw *hw, in clk_divider_recalc_rate()
400 static int clk_divider_bestdiv(struct clk_hw *hw, struct clk_hw *parent, in clk_divider_bestdiv()
464 long divider_round_rate_parent(struct clk_hw *hw, struct clk_hw *parent, in divider_round_rate_parent()
476 long divider_ro_round_rate_parent(struct clk_hw *hw, struct clk_hw *parent, in divider_ro_round_rate_parent()
499 static long clk_divider_round_rate(struct clk_hw *hw, unsigned long rate, in clk_divider_round_rate()
539 static int clk_divider_set_rate(struct clk_hw *hw, unsigned long rate, in clk_divider_set_rate()
586 static struct clk_hw *_register_divider(const char *name, in _register_divider()
593 struct clk_hw *hw; in _register_divider()
656 struct clk_hw *clk_hw_register_divider(const char *name, in clk_hw_register_divider()
678 struct clk_hw *clk_hw_register_divider_table(const char *name, in clk_hw_register_divider_table()
[all …]
A Dccu_phase.c10 static int ccu_phase_get_phase(struct clk_hw *hw) in ccu_phase_get_phase()
13 struct clk_hw *parent, *grandparent; in ccu_phase_get_phase()
63 static int ccu_phase_set_phase(struct clk_hw *hw, int degrees) in ccu_phase_set_phase()
66 struct clk_hw *parent, *grandparent; in ccu_phase_set_phase()
A Dclk-fixed-factor.c17 static unsigned long clk_factor_recalc_rate(struct clk_hw *hw, in clk_factor_recalc_rate()
28 static long clk_factor_round_rate(struct clk_hw *hw, unsigned long rate, in clk_factor_round_rate()
44 static int clk_factor_set_rate(struct clk_hw *hw, unsigned long rate, in clk_factor_set_rate()
A Dccu_nk.c48 static void ccu_nk_disable(struct clk_hw *hw) in ccu_nk_disable()
55 static int ccu_nk_enable(struct clk_hw *hw) in ccu_nk_enable()
62 static int ccu_nk_is_enabled(struct clk_hw *hw) in ccu_nk_is_enabled()
69 static unsigned long ccu_nk_recalc_rate(struct clk_hw *hw, in ccu_nk_recalc_rate()
103 static long ccu_nk_round_rate(struct clk_hw *hw, unsigned long rate, in ccu_nk_round_rate()
130 static int ccu_nk_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_nk_set_rate()
A Dclk-fixed-rate.c21 static unsigned long clk_fixed_rate_recalc_rate(struct clk_hw *hw, in clk_fixed_rate_recalc_rate()
27 static unsigned long clk_fixed_rate_recalc_accuracy(struct clk_hw *hw, in clk_fixed_rate_recalc_accuracy()
54 struct clk_hw *hw; in clk_hw_register_fixed_rate_with_accuracy()
A Dccu_nkmp.c94 static void ccu_nkmp_disable(struct clk_hw *hw) in ccu_nkmp_disable()
101 static int ccu_nkmp_enable(struct clk_hw *hw) in ccu_nkmp_enable()
108 static int ccu_nkmp_is_enabled(struct clk_hw *hw) in ccu_nkmp_is_enabled()
115 static unsigned long ccu_nkmp_recalc_rate(struct clk_hw *hw, in ccu_nkmp_recalc_rate()
160 static long ccu_nkmp_round_rate(struct clk_hw *hw, unsigned long rate, in ccu_nkmp_round_rate()
202 static int ccu_nkmp_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_nkmp_set_rate()
A Dccu_nm.c60 static void ccu_nm_disable(struct clk_hw *hw) in ccu_nm_disable()
67 static int ccu_nm_enable(struct clk_hw *hw) in ccu_nm_enable()
74 static int ccu_nm_is_enabled(struct clk_hw *hw) in ccu_nm_is_enabled()
81 static unsigned long ccu_nm_recalc_rate(struct clk_hw *hw, in ccu_nm_recalc_rate()
136 static long ccu_nm_round_rate(struct clk_hw *hw, unsigned long rate, in ccu_nm_round_rate()
201 static int ccu_nm_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_nm_set_rate()
A Dccu_common.h54 struct clk_hw hw;
57 static inline struct ccu_common *hw_to_ccu_common(struct clk_hw *hw) in hw_to_ccu_common()
A Dccu_mux.h102 static inline struct ccu_mux *hw_to_ccu_mux(struct clk_hw *hw) in hw_to_ccu_mux()
119 struct clk_hw *,
A Dccu_common.c86 struct clk_hw *hw = desc->hw_clks->hws[i]; in ccu_common_init()
134 struct clk_hw *hw = desc->hw_clks->hws[i]; in ccu_common_init()
A Dccu_phase.h33 static inline struct ccu_phase *hw_to_ccu_phase(struct clk_hw *hw) in hw_to_ccu_phase()
A Dccu_nk.h54 static inline struct ccu_nk *hw_to_ccu_nk(struct clk_hw *hw) in hw_to_ccu_nk()
A Dccu_nkmp.h57 static inline struct ccu_nkmp *hw_to_ccu_nkmp(struct clk_hw *hw) in hw_to_ccu_nkmp()
A Dccu_mult.h63 static inline struct ccu_mult *hw_to_ccu_mult(struct clk_hw *hw) in hw_to_ccu_mult()
A Dccu_nkm.h76 static inline struct ccu_nkm *hw_to_ccu_nkm(struct clk_hw *hw) in hw_to_ccu_nkm()
A Dccu_mp.h104 static inline struct ccu_mp *hw_to_ccu_mp(struct clk_hw *hw) in hw_to_ccu_mp()
A Dccu_gate.h130 static inline struct ccu_gate *hw_to_ccu_gate(struct clk_hw *hw) in hw_to_ccu_gate()

Completed in 53 milliseconds

12