Home
last modified time | relevance | path

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

12

/drivers/clk/sunxi-ng/
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,
Dccu_sdm.h51 bool ccu_sdm_helper_is_enabled(struct ccu_common *common,
53 void ccu_sdm_helper_enable(struct ccu_common *common,
56 void ccu_sdm_helper_disable(struct ccu_common *common,
59 bool ccu_sdm_helper_has_rate(struct ccu_common *common,
63 unsigned long ccu_sdm_helper_read_rate(struct ccu_common *common,
67 int ccu_sdm_helper_get_factors(struct ccu_common *common,
Dccu_common.h26 struct ccu_common { struct
37 static inline struct ccu_common *hw_to_ccu_common(struct clk_hw *hw) in hw_to_ccu_common() argument
39 return container_of(hw, struct ccu_common, hw); in hw_to_ccu_common()
43 struct ccu_common **ccu_clks;
52 void ccu_helper_wait_for_lock(struct ccu_common *common, u32 lock);
56 struct ccu_common *common;
Dccu_mux.h47 struct ccu_common common;
78 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_mux()
85 unsigned long ccu_mux_helper_apply_prediv(struct ccu_common *common,
89 int ccu_mux_helper_determine_rate(struct ccu_common *common,
98 u8 ccu_mux_helper_get_parent(struct ccu_common *common,
100 int ccu_mux_helper_set_parent(struct ccu_common *common,
106 struct ccu_common *common;
Dccu_frac.c13 bool ccu_frac_helper_is_enabled(struct ccu_common *common, in ccu_frac_helper_is_enabled()
22 void ccu_frac_helper_enable(struct ccu_common *common, in ccu_frac_helper_enable()
37 void ccu_frac_helper_disable(struct ccu_common *common, in ccu_frac_helper_disable()
52 bool ccu_frac_helper_has_rate(struct ccu_common *common, in ccu_frac_helper_has_rate()
62 unsigned long ccu_frac_helper_read_rate(struct ccu_common *common, in ccu_frac_helper_read_rate()
83 int ccu_frac_helper_set_rate(struct ccu_common *common, in ccu_frac_helper_set_rate()
Dccu_gate.h16 struct ccu_common common;
86 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_gate()
91 void ccu_gate_helper_disable(struct ccu_common *common, u32 gate);
92 int ccu_gate_helper_enable(struct ccu_common *common, u32 gate);
93 int ccu_gate_helper_is_enabled(struct ccu_common *common, u32 gate);
Dccu_sdm.c12 bool ccu_sdm_helper_is_enabled(struct ccu_common *common, in ccu_sdm_helper_is_enabled()
24 void ccu_sdm_helper_enable(struct ccu_common *common, in ccu_sdm_helper_enable()
53 void ccu_sdm_helper_disable(struct ccu_common *common, in ccu_sdm_helper_disable()
90 bool ccu_sdm_helper_has_rate(struct ccu_common *common, in ccu_sdm_helper_has_rate()
106 unsigned long ccu_sdm_helper_read_rate(struct ccu_common *common, in ccu_sdm_helper_read_rate()
136 int ccu_sdm_helper_get_factors(struct ccu_common *common, in ccu_sdm_helper_get_factors()
Dccu_mux.c15 static u16 ccu_mux_get_prediv(struct ccu_common *common, in ccu_mux_get_prediv()
60 unsigned long ccu_mux_helper_apply_prediv(struct ccu_common *common, in ccu_mux_helper_apply_prediv()
68 static unsigned long ccu_mux_helper_unapply_prediv(struct ccu_common *common, in ccu_mux_helper_unapply_prediv()
76 int ccu_mux_helper_determine_rate(struct ccu_common *common, in ccu_mux_helper_determine_rate()
156 u8 ccu_mux_helper_get_parent(struct ccu_common *common, in ccu_mux_helper_get_parent()
178 int ccu_mux_helper_set_parent(struct ccu_common *common, in ccu_mux_helper_set_parent()
Dccu_gate.c12 void ccu_gate_helper_disable(struct ccu_common *common, u32 gate) in ccu_gate_helper_disable()
35 int ccu_gate_helper_enable(struct ccu_common *common, u32 gate) in ccu_gate_helper_enable()
60 int ccu_gate_helper_is_enabled(struct ccu_common *common, u32 gate) in ccu_gate_helper_is_enabled()
Dccu_phase.h17 struct ccu_common common;
35 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_phase()
Dccu_mmc_timing.c23 struct ccu_common *cm = hw_to_ccu_common(hw); in sunxi_ccu_set_mmc_timing_mode()
56 struct ccu_common *cm = hw_to_ccu_common(hw); in sunxi_ccu_get_mmc_timing_mode()
Dccu_nk.h30 struct ccu_common common;
56 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_nk()
Dccu_nkmp.h32 struct ccu_common common;
59 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_nkmp()
Dccu_mult.h42 struct ccu_common common;
63 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_mult()
Dccu_nkm.h31 struct ccu_common common;
78 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_nkm()
Dccu-sun8i-de2.c56 static struct ccu_common *sun8i_a83t_de2_clks[] = {
74 static struct ccu_common *sun8i_h3_de2_clks[] = {
88 static struct ccu_common *sun8i_v3s_de2_clks[] = {
99 static struct ccu_common *sun50i_a64_de2_clks[] = {
Dccu_mp.h31 struct ccu_common common;
87 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_mp()
Dccu-sun8i-r.c116 static struct ccu_common *sun8i_a83t_r_ccu_clks[] = {
129 static struct ccu_common *sun8i_h3_r_ccu_clks[] = {
141 static struct ccu_common *sun50i_a64_r_ccu_clks[] = {
Dccu_common.c19 void ccu_helper_wait_for_lock(struct ccu_common *common, u32 lock) in ccu_helper_wait_for_lock()
89 struct ccu_common *cclk = desc->ccu_clks[i]; in sunxi_ccu_probe()
Dccu_mp.c270 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_recalc_rate()
281 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_determine_rate()
307 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_set_rate()
Dccu_nm.h35 struct ccu_common common;
160 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_nm()
Dccu_div.h83 struct ccu_common common;
171 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_div()
DMakefile3 obj-y += ccu_common.o
Dccu-sun50i-h6-r.c124 static struct ccu_common *sun50i_h6_r_ccu_clks[] = {
Dccu-sun9i-a80-usb.c38 static struct ccu_common *sun9i_a80_usb_clks[] = {

12