| /drivers/clk/sunxi-ng/ |
| A D | ccu_common.h | 33 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;
|
| A D | ccu_frac.h | 27 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 D | ccu_sdm.h | 51 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,
|
| A D | ccu-sun6i-rtc.c | 59 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 …]
|
| A D | ccu_mux.h | 46 struct ccu_common common; 126 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_mux() 133 unsigned long ccu_mux_helper_apply_prediv(struct ccu_common *common, 137 int ccu_mux_helper_determine_rate(struct ccu_common *common, 146 u8 ccu_mux_helper_get_parent(struct ccu_common *common, 148 int ccu_mux_helper_set_parent(struct ccu_common *common, 154 struct ccu_common *common;
|
| A D | ccu_frac.c | 13 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()
|
| A D | ccu_sdm.c | 12 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()
|
| A D | ccu_gate.h | 16 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);
|
| A D | ccu_mux.c | 17 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()
|
| A D | ccu_gate.c | 12 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()
|
| A D | ccu_common.c | 25 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()
|
| A D | ccu_phase.h | 17 struct ccu_common common; 35 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_phase()
|
| A D | ccu_mmc_timing.c | 23 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()
|
| A D | ccu_nk.h | 30 struct ccu_common common; 56 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_nk()
|
| A D | ccu_nkmp.h | 32 struct ccu_common common; 59 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_nkmp()
|
| A D | ccu_mult.h | 42 struct ccu_common common; 63 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_mult()
|
| A D | ccu_nkm.h | 33 struct ccu_common common; 80 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_nkm()
|
| A D | ccu_mp.c | 303 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_recalc_rate() 314 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_determine_rate() 340 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_set_rate()
|
| A D | ccu_nkm.c | 19 static bool ccu_nkm_is_valid_rate(struct ccu_common *common, unsigned long parent, in ccu_nkm_is_valid_rate() 33 static unsigned long ccu_nkm_find_best_with_parent_adj(struct ccu_common *common, in ccu_nkm_find_best_with_parent_adj() 76 struct _ccu_nkm *nkm, struct ccu_common *common) in ccu_nkm_find_best()
|
| A D | ccu_nm.h | 35 struct ccu_common common; 202 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_nm()
|
| /drivers/clk/thead/ |
| A D | clk-th1520-ap.c | 36 struct ccu_common { struct 52 struct ccu_common common; argument 59 struct ccu_common common; 63 struct ccu_common common; 106 return container_of(hw, struct ccu_common, hw); in hw_to_ccu_common() 111 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_pll() 118 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_div() 125 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_gate() 1063 struct ccu_common **th1520_pll_clks; 1064 struct ccu_common **th1520_div_clks; [all …]
|
| /drivers/clk/spacemit/ |
| A D | ccu_common.h | 12 struct ccu_common { struct 34 static inline struct ccu_common *hw_to_ccu_common(struct clk_hw *hw) in hw_to_ccu_common() argument 36 return container_of(hw, struct ccu_common, hw); in hw_to_ccu_common()
|
| A D | ccu_pll.c | 63 struct ccu_common *common = &pll->common; in ccu_pll_update_param() 71 struct ccu_common *common = hw_to_ccu_common(hw); in ccu_pll_is_enabled() 79 struct ccu_common *common = &pll->common; in ccu_pll_enable() 94 struct ccu_common *common = hw_to_ccu_common(hw); in ccu_pll_disable()
|
| A D | ccu_ddn.h | 16 struct ccu_common common; 41 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_ddn()
|
| A D | ccu_pll.h | 45 struct ccu_common common; 79 struct ccu_common *common = hw_to_ccu_common(hw); in hw_to_ccu_pll()
|