/linux-4.19.296/include/linux/ |
D | clk.h | 58 struct clk *clk; member 75 struct clk *clk; member 92 struct clk *clk; member 213 static inline int clk_notifier_register(struct clk *clk, in clk_notifier_register() 219 static inline int clk_notifier_unregister(struct clk *clk, in clk_notifier_unregister() 225 static inline long clk_get_accuracy(struct clk *clk) in clk_get_accuracy() 230 static inline long clk_set_phase(struct clk *clk, int phase) in clk_set_phase() 235 static inline long clk_get_phase(struct clk *clk) in clk_get_phase() 240 static inline int clk_set_duty_cycle(struct clk *clk, unsigned int num, in clk_set_duty_cycle() 246 static inline unsigned int clk_get_scaled_duty_cycle(struct clk *clk, in clk_get_scaled_duty_cycle() [all …]
|
D | sh_clk.h | 38 struct clk { struct 40 struct clk *parent; argument 41 struct clk **parent_table; /* list of parents to */ argument 45 struct sh_clk_ops *ops; argument 63 struct clk_mapping *mapping; argument 80 /* drivers/sh/clk.c */ argument
|
/linux-4.19.296/drivers/media/v4l2-core/ |
D | v4l2-clk.c | 30 struct v4l2_clk *clk; in v4l2_clk_find() local 41 struct v4l2_clk *clk; in v4l2_clk_get() local 76 void v4l2_clk_put(struct v4l2_clk *clk) in v4l2_clk_put() 99 static int v4l2_clk_lock_driver(struct v4l2_clk *clk) in v4l2_clk_lock_driver() 119 static void v4l2_clk_unlock_driver(struct v4l2_clk *clk) in v4l2_clk_unlock_driver() 124 int v4l2_clk_enable(struct v4l2_clk *clk) in v4l2_clk_enable() 153 void v4l2_clk_disable(struct v4l2_clk *clk) in v4l2_clk_disable() 175 unsigned long v4l2_clk_get_rate(struct v4l2_clk *clk) in v4l2_clk_get_rate() 199 int v4l2_clk_set_rate(struct v4l2_clk *clk, unsigned long rate) in v4l2_clk_set_rate() 232 struct v4l2_clk *clk; in v4l2_clk_register() local [all …]
|
/linux-4.19.296/drivers/sh/clk/ |
D | cpg.c | 19 static unsigned int sh_clk_read(struct clk *clk) in sh_clk_read() 29 static void sh_clk_write(int value, struct clk *clk) in sh_clk_write() 54 static int sh_clk_mstp_enable(struct clk *clk) in sh_clk_mstp_enable() 83 static void sh_clk_mstp_disable(struct clk *clk) in sh_clk_mstp_disable() 112 static inline struct clk_div_table *clk_to_div_table(struct clk *clk) in clk_to_div_table() 117 static inline struct clk_div_mult_table *clk_to_div_mult_table(struct clk *clk) in clk_to_div_mult_table() 125 static long sh_clk_div_round_rate(struct clk *clk, unsigned long rate) in sh_clk_div_round_rate() 130 static unsigned long sh_clk_div_recalc(struct clk *clk) in sh_clk_div_recalc() 143 static int sh_clk_div_set_rate(struct clk *clk, unsigned long rate) in sh_clk_div_set_rate() 165 static int sh_clk_div_enable(struct clk *clk) in sh_clk_div_enable() [all …]
|
D | core.c | 39 void clk_rate_table_build(struct clk *clk, in clk_rate_table_build() 137 long clk_rate_table_round(struct clk *clk, in clk_rate_table_round() 161 long clk_rate_div_range_round(struct clk *clk, unsigned int div_min, in clk_rate_div_range_round() 181 long clk_rate_mult_range_round(struct clk *clk, unsigned int mult_min, in clk_rate_mult_range_round() 195 int clk_rate_table_find(struct clk *clk, in clk_rate_table_find() 210 unsigned long followparent_recalc(struct clk *clk) in followparent_recalc() 238 static void __clk_disable(struct clk *clk) in __clk_disable() 252 void clk_disable(struct clk *clk) in clk_disable() 265 static int __clk_enable(struct clk *clk) in __clk_enable() 292 int clk_enable(struct clk *clk) in clk_enable() [all …]
|
/linux-4.19.296/drivers/clk/ti/ |
D | dpll3xxx.c | 50 static void _omap3_dpll_write_clken(struct clk_hw_omap *clk, u8 clken_bits) in _omap3_dpll_write_clken() 64 static int _omap3_wait_dpll_status(struct clk_hw_omap *clk, u8 state) in _omap3_wait_dpll_status() 96 static u16 _omap3_dpll_compute_freqsel(struct clk_hw_omap *clk, u8 n) in _omap3_dpll_compute_freqsel() 141 static int _omap3_noncore_dpll_lock(struct clk_hw_omap *clk) in _omap3_noncore_dpll_lock() 187 static int _omap3_noncore_dpll_bypass(struct clk_hw_omap *clk) in _omap3_noncore_dpll_bypass() 219 static int _omap3_noncore_dpll_stop(struct clk_hw_omap *clk) in _omap3_noncore_dpll_stop() 250 static void _lookup_dco(struct clk_hw_omap *clk, u8 *dco, u16 m, u8 n) in _lookup_dco() 275 static void _lookup_sddiv(struct clk_hw_omap *clk, u8 *sd_div, u16 m, u8 n) in _lookup_sddiv() 305 static int omap3_noncore_dpll_program(struct clk_hw_omap *clk, u16 freqsel) in omap3_noncore_dpll_program() 418 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap3_dpll_recalc() local [all …]
|
D | apll.c | 42 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in dra7_apll_enable() local 93 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in dra7_apll_disable() local 110 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in dra7_apll_is_enabled() local 142 struct clk *clk; in omap_clk_register_apll() local 242 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_is_enabled() local 257 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_recalc() local 267 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_enable() local 298 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_disable() local 315 static void omap2_apll_set_autoidle(struct clk_hw_omap *clk, u32 val) in omap2_apll_set_autoidle() 329 static void omap2_apll_allow_idle(struct clk_hw_omap *clk) in omap2_apll_allow_idle() [all …]
|
D | clkt_dflt.c | 58 static int _wait_idlest_generic(struct clk_hw_omap *clk, in _wait_idlest_generic() 93 static void _omap2_module_wait_ready(struct clk_hw_omap *clk) in _omap2_module_wait_ready() 142 void omap2_clk_dflt_find_companion(struct clk_hw_omap *clk, in omap2_clk_dflt_find_companion() 171 void omap2_clk_dflt_find_idlest(struct clk_hw_omap *clk, in omap2_clk_dflt_find_idlest() 204 struct clk_hw_omap *clk; in omap2_dflt_clk_enable() local 253 struct clk_hw_omap *clk; in omap2_dflt_clk_disable() local 281 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_dflt_clk_is_enabled() local
|
D | dpll44xx.c | 40 static void omap4_dpllmx_allow_gatectrl(struct clk_hw_omap *clk) in omap4_dpllmx_allow_gatectrl() 58 static void omap4_dpllmx_deny_gatectrl(struct clk_hw_omap *clk) in omap4_dpllmx_deny_gatectrl() 118 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap4_dpll_regm4xen_recalc() local 154 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap4_dpll_regm4xen_round_rate() local 205 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap4_dpll_regm4xen_determine_rate() local
|
D | clockdomain.c | 44 struct clk_hw_omap *clk; in omap2_clkops_enable_clkdm() local 79 struct clk_hw_omap *clk; in omap2_clkops_disable_clkdm() local 108 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_init_clk_clkdm() local 130 struct clk *clk; in of_ti_clockdomain_setup() local
|
D | autoidle.c | 46 int omap2_clk_deny_idle(struct clk *clk) in omap2_clk_deny_idle() 62 int omap2_clk_allow_idle(struct clk *clk) in omap2_clk_allow_idle() 72 static void _allow_autoidle(struct clk_ti_autoidle *clk) in _allow_autoidle() 86 static void _deny_autoidle(struct clk_ti_autoidle *clk) in _deny_autoidle() 142 struct clk_ti_autoidle *clk; in of_ti_clk_autoidle_setup() local
|
/linux-4.19.296/drivers/clk/meson/ |
D | sclk-div.c | 22 meson_sclk_div_data(struct clk_regmap *clk) in meson_sclk_div_data() 98 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_round_rate() local 107 static void sclk_apply_ratio(struct clk_regmap *clk, in sclk_apply_ratio() 123 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_set_duty_cycle() local 137 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_get_duty_cycle() local 153 static void sclk_apply_divider(struct clk_regmap *clk, in sclk_apply_divider() 165 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_set_rate() local 180 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_recalc_rate() local 188 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_enable() local 198 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_disable() local [all …]
|
D | clk-regmap.c | 11 struct clk_regmap *clk = to_clk_regmap(hw); in clk_regmap_gate_endisable() local 33 struct clk_regmap *clk = to_clk_regmap(hw); in clk_regmap_gate_is_enabled() local 56 struct clk_regmap *clk = to_clk_regmap(hw); in clk_regmap_div_recalc_rate() local 75 struct clk_regmap *clk = to_clk_regmap(hw); in clk_regmap_div_round_rate() local 101 struct clk_regmap *clk = to_clk_regmap(hw); in clk_regmap_div_set_rate() local 133 struct clk_regmap *clk = to_clk_regmap(hw); in clk_regmap_mux_get_parent() local 149 struct clk_regmap *clk = to_clk_regmap(hw); in clk_regmap_mux_set_parent() local 161 struct clk_regmap *clk = to_clk_regmap(hw); in clk_regmap_mux_determine_rate() local
|
D | clk-triphase.c | 20 meson_clk_triphase_data(struct clk_regmap *clk) in meson_clk_triphase_data() 27 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_triphase_sync() local 39 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_triphase_get_phase() local 51 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_triphase_set_phase() local
|
D | clk-pll.c | 38 meson_clk_pll_data(struct clk_regmap *clk) in meson_clk_pll_data() 64 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_pll_recalc_rate() local 136 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_pll_round_rate() local 160 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_pll_wait_lock() local 177 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_pll_init() local 191 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_pll_set_rate() local
|
/linux-4.19.296/drivers/clk/ux500/ |
D | clk-prcmu.c | 32 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_prepare() local 43 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_unprepare() local 53 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_is_prepared() local 59 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_enable() local 66 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_disable() local 72 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_is_enabled() local 79 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_recalc_rate() local 86 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_round_rate() local 93 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_set_rate() local 100 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_opp_prepare() local [all …]
|
D | clk-prcc.c | 38 struct clk_prcc *clk = to_clk_prcc(hw); in clk_prcc_pclk_enable() local 50 struct clk_prcc *clk = to_clk_prcc(hw); in clk_prcc_pclk_disable() local 58 struct clk_prcc *clk = to_clk_prcc(hw); in clk_prcc_kclk_enable() local 70 struct clk_prcc *clk = to_clk_prcc(hw); in clk_prcc_kclk_disable() local 78 struct clk_prcc *clk = to_clk_prcc(hw); in clk_prcc_is_enabled() local 101 struct clk_prcc *clk; in clk_reg_prcc() local
|
/linux-4.19.296/drivers/clk/mmp/ |
D | clk.c | 31 struct clk *clk; in mmp_register_fixed_rate_clks() local 52 struct clk *clk; in mmp_register_fixed_factor_clks() local 74 struct clk *clk; in mmp_register_general_gate_clks() local 100 struct clk *clk; in mmp_register_gate_clks() local 128 struct clk *clk; in mmp_register_mux_clks() local 156 struct clk *clk; in mmp_register_div_clks() local 180 struct clk *clk) in mmp_clk_add()
|
/linux-4.19.296/drivers/clk/ |
D | clk.h | 32 static inline void __clk_free_clk(struct clk *clk) { } in __clk_free_clk() 33 static struct clk_hw *__clk_get_hw(struct clk *clk) in __clk_get_hw() 37 static inline int __clk_get(struct clk *clk) { return 1; } in __clk_get() 38 static inline void __clk_put(struct clk *clk) { } in __clk_put()
|
D | clk-scmi.c | 23 #define to_scmi_clk(clk) container_of(clk, struct scmi_clk, hw) argument 30 struct scmi_clk *clk = to_scmi_clk(hw); in scmi_clk_recalc_rate() local 42 struct scmi_clk *clk = to_scmi_clk(hw); in scmi_clk_round_rate() local 70 struct scmi_clk *clk = to_scmi_clk(hw); in scmi_clk_set_rate() local 77 struct scmi_clk *clk = to_scmi_clk(hw); in scmi_clk_enable() local 84 struct scmi_clk *clk = to_scmi_clk(hw); in scmi_clk_disable() local
|
D | clk-scpi.c | 35 #define to_scpi_clk(clk) container_of(clk, struct scpi_clk, hw) argument 42 struct scpi_clk *clk = to_scpi_clk(hw); in scpi_clk_recalc_rate() local 62 struct scpi_clk *clk = to_scpi_clk(hw); in scpi_clk_set_rate() local 74 static long __scpi_dvfs_round_rate(struct scpi_clk *clk, unsigned long rate) in __scpi_dvfs_round_rate() 96 struct scpi_clk *clk = to_scpi_clk(hw); in scpi_dvfs_recalc_rate() local 110 struct scpi_clk *clk = to_scpi_clk(hw); in scpi_dvfs_round_rate() local 115 static int __scpi_find_dvfs_index(struct scpi_clk *clk, unsigned long rate) in __scpi_find_dvfs_index() 129 struct scpi_clk *clk = to_scpi_clk(hw); in scpi_dvfs_set_rate() local 182 struct scpi_clk **clk; member
|
D | clk-hsdk-pll.c | 121 static inline void hsdk_pll_write(struct hsdk_pll_clk *clk, u32 reg, u32 val) in hsdk_pll_write() 126 static inline u32 hsdk_pll_read(struct hsdk_pll_clk *clk, u32 reg) in hsdk_pll_read() 131 static inline void hsdk_pll_set_cfg(struct hsdk_pll_clk *clk, in hsdk_pll_set_cfg() 147 static inline bool hsdk_pll_is_locked(struct hsdk_pll_clk *clk) in hsdk_pll_is_locked() 152 static inline bool hsdk_pll_is_err(struct hsdk_pll_clk *clk) in hsdk_pll_is_err() 168 struct hsdk_pll_clk *clk = to_hsdk_pll_clk(hw); in hsdk_pll_recalc_rate() local 200 struct hsdk_pll_clk *clk = to_hsdk_pll_clk(hw); in hsdk_pll_round_rate() local 218 static int hsdk_pll_comm_update_rate(struct hsdk_pll_clk *clk, in hsdk_pll_comm_update_rate() 238 static int hsdk_pll_core_update_rate(struct hsdk_pll_clk *clk, in hsdk_pll_core_update_rate() 276 struct hsdk_pll_clk *clk = to_hsdk_pll_clk(hw); in hsdk_pll_set_rate() local
|
/linux-4.19.296/drivers/clk/hisilicon/ |
D | clk.c | 108 struct clk *clk; in hisi_clk_register_fixed_rate() local 138 struct clk *clk; in hisi_clk_register_fixed_factor() local 167 struct clk *clk; in hisi_clk_register_mux() local 207 struct clk *clk; in hisi_clk_register_phase() local 229 struct clk *clk; in hisi_clk_register_divider() local 267 struct clk *clk; in hisi_clk_register_gate() local 304 struct clk *clk; in hisi_clk_register_gate_sep() local 333 struct clk *clk; in hi6220_clk_register_divider() local
|
/linux-4.19.296/drivers/clk/pistachio/ |
D | clk.c | 64 struct clk *clk; in pistachio_clk_register_gate() local 80 struct clk *clk; in pistachio_clk_register_mux() local 98 struct clk *clk; in pistachio_clk_register_div() local 114 struct clk *clk; in pistachio_clk_register_fixed_factor() local 131 struct clk *clk = p->clk_data.clks[clk_ids[i]]; in pistachio_clk_force_enable() local
|
/linux-4.19.296/drivers/clk/mediatek/ |
D | clk-mtk.c | 56 struct clk *clk; in mtk_clk_register_fixed_clks() local 82 struct clk *clk; in mtk_clk_register_factors() local 109 struct clk *clk; in mtk_clk_register_gates() local 150 struct clk *clk; in mtk_clk_register_composite() local 238 struct clk *clk; in mtk_clk_register_composites() local 264 struct clk *clk; in mtk_clk_register_dividers() local
|