Home
last modified time | relevance | path

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

12

/linux-5.19.10/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.h27 struct ccu_common { struct
38 static inline struct ccu_common *hw_to_ccu_common(struct clk_hw *hw) in hw_to_ccu_common() argument
40 return container_of(hw, struct ccu_common, hw); in hw_to_ccu_common()
44 struct ccu_common **ccu_clks;
53 void ccu_helper_wait_for_lock(struct ccu_common *common, u32 lock);
57 struct ccu_common *common;
Dccu-sun6i-rtc.c57 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_enable()
64 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_disable()
71 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_is_enabled()
79 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_recalc_rate()
109 static struct ccu_common iosc_clk = {
117 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_32k_prepare()
132 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_32k_unprepare()
146 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_32k_recalc_rate()
165 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_32k_recalc_accuracy()
186 static struct ccu_common iosc_32k_clk = {
[all …]
Dccu_mux.h46 struct ccu_common common;
110 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_mux()
117 unsigned long ccu_mux_helper_apply_prediv(struct ccu_common *common,
121 int ccu_mux_helper_determine_rate(struct ccu_common *common,
130 u8 ccu_mux_helper_get_parent(struct ccu_common *common,
132 int ccu_mux_helper_set_parent(struct ccu_common *common,
138 struct ccu_common *common;
Dccu_frac.c13 bool ccu_frac_helper_is_enabled(struct ccu_common *common, in ccu_frac_helper_is_enabled()
23 void ccu_frac_helper_enable(struct ccu_common *common, in ccu_frac_helper_enable()
39 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()
66 unsigned long ccu_frac_helper_read_rate(struct ccu_common *common, in ccu_frac_helper_read_rate()
88 int ccu_frac_helper_set_rate(struct ccu_common *common, in ccu_frac_helper_set_rate()
Dccu_gate.h16 struct ccu_common common;
116 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_gate()
121 void ccu_gate_helper_disable(struct ccu_common *common, u32 gate);
122 int ccu_gate_helper_enable(struct ccu_common *common, u32 gate);
123 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()
25 void ccu_sdm_helper_enable(struct ccu_common *common, in ccu_sdm_helper_enable()
55 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()
110 unsigned long ccu_sdm_helper_read_rate(struct ccu_common *common, in ccu_sdm_helper_read_rate()
141 int ccu_sdm_helper_get_factors(struct ccu_common *common, in ccu_sdm_helper_get_factors()
Dccu_mux.c17 static u16 ccu_mux_get_prediv(struct ccu_common *common, in ccu_mux_get_prediv()
62 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()
160 u8 ccu_mux_helper_get_parent(struct ccu_common *common, in ccu_mux_helper_get_parent()
183 int ccu_mux_helper_set_parent(struct ccu_common *common, in ccu_mux_helper_set_parent()
Dccu_phase.h17 struct ccu_common common;
35 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_phase()
Dccu_gate.c12 void ccu_gate_helper_disable(struct ccu_common *common, u32 gate) in ccu_gate_helper_disable()
36 int ccu_gate_helper_enable(struct ccu_common *common, u32 gate) in ccu_gate_helper_enable()
62 int ccu_gate_helper_is_enabled(struct ccu_common *common, u32 gate) in ccu_gate_helper_is_enabled()
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-sun8i-r.c117 static struct ccu_common *sun8i_a83t_r_ccu_clks[] = {
130 static struct ccu_common *sun8i_h3_r_ccu_clks[] = {
142 static struct ccu_common *sun50i_a64_r_ccu_clks[] = {
Dccu_mp.h31 struct ccu_common common;
136 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_mp()
Dccu_nm.h35 struct ccu_common common;
160 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_nm()
Dccu_mp.c271 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_recalc_rate()
282 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_determine_rate()
308 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_set_rate()
Dccu_common.c25 void ccu_helper_wait_for_lock(struct ccu_common *common, u32 lock) in ccu_helper_wait_for_lock()
102 struct ccu_common *cclk = desc->ccu_clks[i]; in sunxi_ccu_probe()
Dccu-sun50i-h6-r.c129 static struct ccu_common *sun50i_h6_r_ccu_clks[] = {
146 static struct ccu_common *sun50i_h616_r_ccu_clks[] = {
Dccu_div.h83 struct ccu_common common;
249 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_div()
Dccu-sun20i-d1-r.c67 static struct ccu_common *sun20i_d1_r_ccu_clks[] = {

12