Home
last modified time | relevance | path

Searched refs:ccu_common (Results 1 – 24 of 24) sorted by relevance

/bsp/allwinner/libraries/sunxi-hal/hal/source/ccmu/sunxi-ng/
A Dccu_frac.h27 bool ccu_frac_helper_is_enabled(struct ccu_common *common,
29 void ccu_frac_helper_enable(struct ccu_common *common,
31 void ccu_frac_helper_disable(struct ccu_common *common,
34 bool ccu_frac_helper_has_rate(struct ccu_common *common,
38 unsigned long ccu_frac_helper_read_rate(struct ccu_common *common,
41 int ccu_frac_helper_set_rate(struct ccu_common *common,
A Dccu_sdm.h52 bool ccu_sdm_helper_is_enabled(struct ccu_common *common,
54 void ccu_sdm_helper_enable(struct ccu_common *common,
57 void ccu_sdm_helper_disable(struct ccu_common *common,
60 bool ccu_sdm_helper_has_rate(struct ccu_common *common,
64 unsigned long ccu_sdm_helper_read_rate(struct ccu_common *common,
68 int ccu_sdm_helper_get_factors(struct ccu_common *common,
A Dccu_common.h44 struct ccu_common struct
57 static inline struct ccu_common *hw_to_ccu_common(struct clk_hw *hw) in hw_to_ccu_common() argument
59 return container_of(hw, struct ccu_common, hw); in hw_to_ccu_common()
64 struct ccu_common **ccu_clks;
75 void ccu_helper_wait_for_lock(struct ccu_common *common, u32 lock);
A Dccu_frac.c10 bool ccu_frac_helper_is_enabled(struct ccu_common *common, in ccu_frac_helper_is_enabled()
21 void ccu_frac_helper_enable(struct ccu_common *common, in ccu_frac_helper_enable()
38 void ccu_frac_helper_disable(struct ccu_common *common, in ccu_frac_helper_disable()
55 bool ccu_frac_helper_has_rate(struct ccu_common *common, in ccu_frac_helper_has_rate()
67 unsigned long ccu_frac_helper_read_rate(struct ccu_common *common, in ccu_frac_helper_read_rate()
90 int ccu_frac_helper_set_rate(struct ccu_common *common, in ccu_frac_helper_set_rate()
A Dccu_mux.h56 struct ccu_common common;
104 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_mux()
111 unsigned long ccu_mux_helper_apply_prediv(struct ccu_common *common,
115 int ccu_mux_helper_determine_rate(struct ccu_common *common,
124 u8 ccu_mux_helper_get_parent(struct ccu_common *common,
126 int ccu_mux_helper_set_parent(struct ccu_common *common,
A Dccu_sdm.c10 bool ccu_sdm_helper_is_enabled(struct ccu_common *common, in ccu_sdm_helper_is_enabled()
26 void ccu_sdm_helper_enable(struct ccu_common *common, in ccu_sdm_helper_enable()
57 void ccu_sdm_helper_disable(struct ccu_common *common, in ccu_sdm_helper_disable()
96 bool ccu_sdm_helper_has_rate(struct ccu_common *common, in ccu_sdm_helper_has_rate()
116 unsigned long ccu_sdm_helper_read_rate(struct ccu_common *common, in ccu_sdm_helper_read_rate()
150 int ccu_sdm_helper_get_factors(struct ccu_common *common, in ccu_sdm_helper_get_factors()
A Dccu_gate.h17 struct ccu_common common;
132 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_gate()
137 void ccu_gate_helper_disable(struct ccu_common *common, u32 gate);
138 int ccu_gate_helper_enable(struct ccu_common *common, u32 gate);
139 int ccu_gate_helper_is_enabled(struct ccu_common *common, u32 gate);
A Dccu_mux.c10 static u16 ccu_mux_get_prediv(struct ccu_common *common, in ccu_mux_get_prediv()
65 unsigned long ccu_mux_helper_apply_prediv(struct ccu_common *common, in ccu_mux_helper_apply_prediv()
73 static unsigned long ccu_mux_helper_unapply_prediv(struct ccu_common *common, in ccu_mux_helper_unapply_prediv()
81 int ccu_mux_helper_determine_rate(struct ccu_common *common, in ccu_mux_helper_determine_rate()
169 u8 ccu_mux_helper_get_parent(struct ccu_common *common, in ccu_mux_helper_get_parent()
194 int ccu_mux_helper_set_parent(struct ccu_common *common, in ccu_mux_helper_set_parent()
A Dccu_phase.h17 struct ccu_common common;
35 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_phase()
A Dccu_gate.c9 void ccu_gate_helper_disable(struct ccu_common *common, u32 gate) in ccu_gate_helper_disable()
34 int ccu_gate_helper_enable(struct ccu_common *common, u32 gate) in ccu_gate_helper_enable()
61 int ccu_gate_helper_is_enabled(struct ccu_common *common, u32 gate) in ccu_gate_helper_is_enabled()
A Dccu_nk.h30 struct ccu_common common;
56 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_nk()
A Dccu_nkmp.h32 struct ccu_common common;
59 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_nkmp()
A Dccu_mult.h44 struct ccu_common common;
65 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_mult()
A Dccu_nkm.h31 struct ccu_common common;
78 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_nkm()
A Dccu_common.c26 void ccu_helper_wait_for_lock(struct ccu_common *common, u32 lock) in ccu_helper_wait_for_lock()
74 struct ccu_common *cclk = desc->ccu_clks[i]; in ccu_common_init()
A Dccu_mp.h30 struct ccu_common common;
106 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_mp()
A Dccu_nm.h35 struct ccu_common common;
160 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_nm()
A Dccu_div.h84 struct ccu_common common;
172 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_div()
A Dccu_mp.c314 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_recalc_rate()
327 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_determine_rate()
355 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_set_rate()
A DMakefile8 obj-y += ccu_common.o
A Dccu-sun8iw20-rtc.c66 static struct ccu_common *sun8iw20_rtc_ccu_clks[] =
A Dccu-sun8iw20-r.c61 static struct ccu_common *sun8iw20_r_ccu_clks[] =
A Dccu-sun8iw20.c821 static struct ccu_common *sun8iw20_ccu_clks[] =
/bsp/allwinner/libraries/sunxi-hal/hal/
A DSConscript7 source/ccmu/sunxi-ng/ccu_common.c

Completed in 27 milliseconds