Home
last modified time | relevance | path

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

12

/linux/drivers/clk/sunxi-ng/
H A Dccu_common.h33 struct ccu_common { struct
47 static inline struct ccu_common *hw_to_ccu_common(struct clk_hw *hw) in hw_to_ccu_common() argument
49 return container_of(hw, struct ccu_common, hw); in hw_to_ccu_common()
53 struct ccu_common **ccu_clks;
62 void ccu_helper_wait_for_lock(struct ccu_common *common, u32 lock);
64 bool ccu_is_better_rate(struct ccu_common *common,
71 struct ccu_common *common;
H 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,
H A 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,
H A Dccu-sun6i-rtc.c59 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_enable()
66 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_disable()
73 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_is_enabled()
81 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_recalc_rate()
111 static struct ccu_common iosc_clk = {
119 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_32k_prepare()
134 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_32k_unprepare()
148 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_32k_recalc_rate()
167 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_32k_recalc_accuracy()
188 static struct ccu_common iosc_32k_clk = {
[all …]
H A 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()
H A 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()
H A 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);
H A Dccu_gate.c12 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()
66 int ccu_gate_helper_is_enabled(struct ccu_common *common, u32 gate) in ccu_gate_helper_is_enabled()
H A Dccu_common.c25 void ccu_helper_wait_for_lock(struct ccu_common *common, u32 lock) in ccu_helper_wait_for_lock()
42 bool ccu_is_better_rate(struct ccu_common *common, in ccu_is_better_rate()
124 struct ccu_common *cclk = desc->ccu_clks[i]; in sunxi_ccu_probe()
152 struct ccu_common *cclk = desc->ccu_clks[i]; in sunxi_ccu_probe()
H A Dccu_phase.h17 struct ccu_common common;
35 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_phase()
H A Dccu_nk.h30 struct ccu_common common;
56 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_nk()
H A 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()
H A Dccu_nkmp.h32 struct ccu_common common;
59 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_nkmp()
H A Dccu_mult.h42 struct ccu_common common;
63 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_mult()
H A Dccu_nkm.h33 struct ccu_common common;
80 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_nkm()
H A Dccu_nm.h35 struct ccu_common common;
202 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_nm()
H A Dccu_mp.h31 struct ccu_common common;
205 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_mp()
H A Dccu_div.h83 struct ccu_common common;
297 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_div()
H A Dccu-sun20i-d1-r.c67 static struct ccu_common *sun20i_d1_r_ccu_clks[] = {
H A Dccu-sun9i-a80-usb.c38 static struct ccu_common *sun9i_a80_usb_clks[] = {
H A Dccu-sun50i-a100-r.c131 static struct ccu_common *sun50i_a100_r_ccu_clks[] = {
H A Dccu-sun50i-h6-r.c129 static struct ccu_common *sun50i_h6_r_ccu_clks[] = {
H A Dccu-sun8i-r.c117 static struct ccu_common *sun8i_r_ccu_clks[] = {
/linux/drivers/clk/spacemit/
H A Dccu_ddn.h16 struct ccu_common common;
43 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_ddn()
H A Dccu_common.c35 struct ccu_common *common; in spacemit_ccu_register()

12