Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/clk/sunxi-ng/
Dccu_frac.h35 bool ccu_frac_helper_is_enabled(struct ccu_common *common,
37 void ccu_frac_helper_enable(struct ccu_common *common,
39 void ccu_frac_helper_disable(struct ccu_common *common,
42 bool ccu_frac_helper_has_rate(struct ccu_common *common,
46 unsigned long ccu_frac_helper_read_rate(struct ccu_common *common,
49 int ccu_frac_helper_set_rate(struct ccu_common *common,
Dccu_sdm.h59 bool ccu_sdm_helper_is_enabled(struct ccu_common *common,
61 void ccu_sdm_helper_enable(struct ccu_common *common,
64 void ccu_sdm_helper_disable(struct ccu_common *common,
67 bool ccu_sdm_helper_has_rate(struct ccu_common *common,
71 unsigned long ccu_sdm_helper_read_rate(struct ccu_common *common,
75 int ccu_sdm_helper_get_factors(struct ccu_common *common,
Dccu_common.h34 struct ccu_common { struct
45 static inline struct ccu_common *hw_to_ccu_common(struct clk_hw *hw) in hw_to_ccu_common() argument
47 return container_of(hw, struct ccu_common, hw); in hw_to_ccu_common()
51 struct ccu_common **ccu_clks;
60 void ccu_helper_wait_for_lock(struct ccu_common *common, u32 lock);
64 struct ccu_common *common;
Dccu_gate.h24 struct ccu_common common;
41 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_gate()
46 void ccu_gate_helper_disable(struct ccu_common *common, u32 gate);
47 int ccu_gate_helper_enable(struct ccu_common *common, u32 gate);
48 int ccu_gate_helper_is_enabled(struct ccu_common *common, u32 gate);
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.c16 bool ccu_frac_helper_is_enabled(struct ccu_common *common, in ccu_frac_helper_is_enabled()
25 void ccu_frac_helper_enable(struct ccu_common *common, in ccu_frac_helper_enable()
40 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()
65 unsigned long ccu_frac_helper_read_rate(struct ccu_common *common, in ccu_frac_helper_read_rate()
86 int ccu_frac_helper_set_rate(struct ccu_common *common, in ccu_frac_helper_set_rate()
Dccu_sdm.c15 bool ccu_sdm_helper_is_enabled(struct ccu_common *common, in ccu_sdm_helper_is_enabled()
27 void ccu_sdm_helper_enable(struct ccu_common *common, in ccu_sdm_helper_enable()
56 void ccu_sdm_helper_disable(struct ccu_common *common, in ccu_sdm_helper_disable()
93 bool ccu_sdm_helper_has_rate(struct ccu_common *common, in ccu_sdm_helper_has_rate()
109 unsigned long ccu_sdm_helper_read_rate(struct ccu_common *common, in ccu_sdm_helper_read_rate()
139 int ccu_sdm_helper_get_factors(struct ccu_common *common, in ccu_sdm_helper_get_factors()
Dccu_mux.c18 static u16 ccu_mux_get_prediv(struct ccu_common *common, in ccu_mux_get_prediv()
63 unsigned long ccu_mux_helper_apply_prediv(struct ccu_common *common, in ccu_mux_helper_apply_prediv()
71 static unsigned long ccu_mux_helper_unapply_prediv(struct ccu_common *common, in ccu_mux_helper_unapply_prediv()
79 int ccu_mux_helper_determine_rate(struct ccu_common *common, in ccu_mux_helper_determine_rate()
159 u8 ccu_mux_helper_get_parent(struct ccu_common *common, in ccu_mux_helper_get_parent()
181 int ccu_mux_helper_set_parent(struct ccu_common *common, in ccu_mux_helper_set_parent()
Dccu_gate.c15 void ccu_gate_helper_disable(struct ccu_common *common, u32 gate) in ccu_gate_helper_disable()
38 int ccu_gate_helper_enable(struct ccu_common *common, u32 gate) in ccu_gate_helper_enable()
63 int ccu_gate_helper_is_enabled(struct ccu_common *common, u32 gate) in ccu_gate_helper_is_enabled()
Dccu_phase.h25 struct ccu_common common;
43 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_phase()
Dccu_mmc_timing.c30 struct ccu_common *cm = hw_to_ccu_common(hw); in sunxi_ccu_set_mmc_timing_mode()
63 struct ccu_common *cm = hw_to_ccu_common(hw); in sunxi_ccu_get_mmc_timing_mode()
Dccu_nk.h38 struct ccu_common common;
64 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_nk()
Dccu_nkmp.h39 struct ccu_common common;
66 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.h39 struct ccu_common common;
86 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_nkm()
Dccu_mp.h39 struct ccu_common common;
95 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_mp()
Dccu_common.c28 void ccu_helper_wait_for_lock(struct ccu_common *common, u32 lock) in ccu_helper_wait_for_lock()
98 struct ccu_common *cclk = desc->ccu_clks[i]; in sunxi_ccu_probe()
Dccu-sun8i-de2.c56 static struct ccu_common *sun8i_a83t_de2_clks[] = {
70 static struct ccu_common *sun8i_h3_de2_clks[] = {
84 static struct ccu_common *sun8i_v3s_de2_clks[] = {
Dccu_nm.h42 struct ccu_common common;
138 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_nm()
Dccu-sun8i-r.c145 static struct ccu_common *sun8i_a83t_r_ccu_clks[] = {
158 static struct ccu_common *sun8i_h3_r_ccu_clks[] = {
170 static struct ccu_common *sun50i_a64_r_ccu_clks[] = {
Dccu_mp.c213 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_recalc_rate()
224 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_determine_rate()
250 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_set_rate()
Dccu_div.h91 struct ccu_common common;
179 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_div()
DMakefile3 obj-y += ccu_common.o
Dccu-sun9i-a80-usb.c38 static struct ccu_common *sun9i_a80_usb_clks[] = {
Dccu-sun50i-h6-r.c134 static struct ccu_common *sun50i_h6_r_ccu_clks[] = {

12