Home
last modified time | relevance | path

Searched defs:clk (Results 1 – 25 of 1409) sorted by relevance

12345678910>>...57

/linux-6.3-rc2/arch/mips/bcm63xx/
A Dclk.c21 struct clk { struct
22 void (*set)(struct clk *, int); argument
31 static void clk_enable_unlocked(struct clk *clk) in clk_enable_unlocked()
37 static void clk_disable_unlocked(struct clk *clk) in clk_disable_unlocked()
82 static void enetx_set(struct clk *clk, int enable) in enetx_set()
113 static void ephy_set(struct clk *clk, int enable) in ephy_set()
192 static void pcm_set(struct clk *clk, int enable) in pcm_set()
362 int clk_enable(struct clk *clk) in clk_enable()
374 void clk_disable(struct clk *clk) in clk_disable()
386 struct clk *clk_get_parent(struct clk *clk) in clk_get_parent()
[all …]
/linux-6.3-rc2/arch/m68k/coldfire/
A Dclk.c31 void __clk_init_enabled(struct clk *clk) in __clk_init_enabled()
37 void __clk_init_disabled(struct clk *clk) in __clk_init_disabled()
43 static void __clk_enable0(struct clk *clk) in __clk_enable0()
48 static void __clk_disable0(struct clk *clk) in __clk_disable0()
59 static void __clk_enable1(struct clk *clk) in __clk_enable1()
64 static void __clk_disable1(struct clk *clk) in __clk_disable1()
76 int clk_enable(struct clk *clk) in clk_enable()
92 void clk_disable(struct clk *clk) in clk_disable()
106 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
123 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
[all …]
/linux-6.3-rc2/arch/arm/mach-omap1/
A Dclock.c63 static void omap1_clk_allow_idle(struct omap1_clk *clk) in omap1_clk_allow_idle()
74 static void omap1_clk_deny_idle(struct omap1_clk *clk) in omap1_clk_deny_idle()
178 struct omap1_clk *clk = to_omap1_clk(hw); in omap1_clk_is_enabled() local
483 int omap1_init_ext_clk(struct omap1_clk *clk) in omap1_init_ext_clk()
528 static int omap1_clk_enable_generic(struct omap1_clk *clk) in omap1_clk_enable_generic()
576 static void omap1_clk_disable_generic(struct omap1_clk *clk) in omap1_clk_disable_generic()
700 struct omap1_clk *clk = to_omap1_clk(hw); in omap1_clk_recalc_rate() local
710 struct omap1_clk *clk = to_omap1_clk(hw); in omap1_clk_round_rate() local
720 struct omap1_clk *clk = to_omap1_clk(hw); in omap1_clk_set_rate() local
734 struct omap1_clk *clk = to_omap1_clk(hw); in omap1_clk_init_op() local
[all …]
/linux-6.3-rc2/include/linux/
A Dclk.h55 struct clk *clk; member
72 struct clk *clk; member
89 struct clk *clk; member
201 struct clk *clk, in devm_clk_notifier_register()
217 static inline long clk_get_phase(struct clk *clk) in clk_get_phase()
271 static inline int clk_prepare(struct clk *clk) in clk_prepare()
303 static inline void clk_unprepare(struct clk *clk) in clk_unprepare()
969 static inline void clk_put(struct clk *clk) {} in clk_put()
985 static inline int clk_enable(struct clk *clk) in clk_enable()
1117 static inline int clk_drop_range(struct clk *clk) in clk_drop_range()
[all …]
A Dsh_clk.h38 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-6.3-rc2/drivers/sh/clk/
A Dcpg.c19 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()
39 static int sh_clk_mstp_enable(struct clk *clk) in sh_clk_mstp_enable()
68 static void sh_clk_mstp_disable(struct clk *clk) in sh_clk_mstp_disable()
115 static unsigned long sh_clk_div_recalc(struct clk *clk) in sh_clk_div_recalc()
150 static int sh_clk_div_enable(struct clk *clk) in sh_clk_div_enable()
162 static void sh_clk_div_disable(struct clk *clk) in sh_clk_div_disable()
194 static int __init sh_clk_init_parent(struct clk *clk) in sh_clk_init_parent()
395 static unsigned long fsidiv_recalc(struct clk *clk) in fsidiv_recalc()
413 static void fsidiv_disable(struct clk *clk) in fsidiv_disable()
[all …]
A Dcore.c39 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()
195 int clk_rate_table_find(struct clk *clk, in clk_rate_table_find()
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()
411 int clk_register(struct clk *clk) in clk_register()
452 void clk_unregister(struct clk *clk) in clk_unregister()
471 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
[all …]
/linux-6.3-rc2/arch/mips/lantiq/
A Dclk.c61 static inline int clk_good(struct clk *clk) in clk_good()
66 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
81 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
101 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
118 int clk_enable(struct clk *clk) in clk_enable()
130 void clk_disable(struct clk *clk) in clk_disable()
140 int clk_activate(struct clk *clk) in clk_activate()
152 void clk_deactivate(struct clk *clk) in clk_deactivate()
162 struct clk *clk_get_parent(struct clk *clk) in clk_get_parent()
168 int clk_set_parent(struct clk *clk, struct clk *parent) in clk_set_parent()
[all …]
A Dclk.h58 struct clk { struct
59 struct clk_lookup cl; argument
65 int (*enable) (struct clk *clk); argument
66 void (*disable) (struct clk *clk); argument
67 int (*activate) (struct clk *clk); argument
68 void (*deactivate) (struct clk *clk); argument
69 void (*reboot) (struct clk *clk); argument
/linux-6.3-rc2/drivers/clk/ti/
A Ddpll3xxx.c501 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap3_dpll_recalc() local
524 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap3_noncore_dpll_enable() local
566 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap3_noncore_dpll_disable() local
588 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap3_noncore_dpll_determine_rate() local
622 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap3_noncore_dpll_set_parent() local
650 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap3_noncore_dpll_set_rate() local
878 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap3_core_dpll_save_context() local
907 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap3_core_dpll_restore_context() local
939 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap3_noncore_dpll_save_context() local
968 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap3_noncore_dpll_restore_context() local
[all …]
A Dapll.c34 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in dra7_apll_enable() local
85 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in dra7_apll_disable() local
102 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in dra7_apll_is_enabled() local
135 struct clk *clk; in omap_clk_register_apll() local
237 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_is_enabled() local
252 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_recalc() local
262 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_enable() local
293 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_disable() local
324 static void omap2_apll_allow_idle(struct clk_hw_omap *clk) in omap2_apll_allow_idle()
329 static void omap2_apll_deny_idle(struct clk_hw_omap *clk) in omap2_apll_deny_idle()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
A Dgk104.c50 read_vco(struct gk104_clk *clk, u32 dsrc) in read_vco()
60 read_pll(struct gk104_clk *clk, u32 pll) in read_pll()
133 read_mem(struct gk104_clk *clk) in read_mem()
145 read_clk(struct gk104_clk *clk, int idx) in read_clk()
191 struct gk104_clk *clk = gk104_clk(base); in gk104_clk_read() local
287 calc_clk(struct gk104_clk *clk, in calc_clk()
341 struct gk104_clk *clk = gk104_clk(base); in gk104_clk_calc() local
357 gk104_clk_prog_0(struct gk104_clk *clk, int idx) in gk104_clk_prog_0()
450 struct gk104_clk *clk = gk104_clk(base); in gk104_clk_prog() local
481 struct gk104_clk *clk = gk104_clk(base); in gk104_clk_tidy() local
[all …]
A Dgk20a.c211 gk20a_pllg_slide(struct gk20a_clk *clk, u32 n) in gk20a_pllg_slide()
256 gk20a_pllg_enable(struct gk20a_clk *clk) in gk20a_pllg_enable()
284 gk20a_pllg_disable(struct gk20a_clk *clk) in gk20a_pllg_disable()
462 struct gk20a_clk *clk = gk20a_clk(base); in gk20a_clk_read() local
482 struct gk20a_clk *clk = gk20a_clk(base); in gk20a_clk_calc() local
491 struct gk20a_clk *clk = gk20a_clk(base); in gk20a_clk_prog() local
507 gk20a_clk_setup_slide(struct gk20a_clk *clk) in gk20a_clk_setup_slide()
546 struct gk20a_clk *clk = gk20a_clk(base); in gk20a_clk_fini() local
567 struct gk20a_clk *clk = gk20a_clk(base); in gk20a_clk_init() local
615 struct gk20a_clk *clk) in gk20a_clk_ctor()
[all …]
A Dgt215.c43 read_vco(struct gt215_clk *clk, int idx) in read_vco()
108 read_pll(struct gt215_clk *clk, int idx, u32 pll) in read_pll()
145 struct gt215_clk *clk = gt215_clk(base); in gt215_clk_read() local
190 struct gt215_clk *clk = gt215_clk(base); in gt215_clk_info() local
238 struct gt215_clk *clk = gt215_clk(base); in gt215_pll_info() local
355 disable_clk_src(struct gt215_clk *clk, u32 src) in disable_clk_src()
415 prog_host(struct gt215_clk *clk) in prog_host()
443 prog_core(struct gt215_clk *clk, int dom) in prog_core()
461 struct gt215_clk *clk = gt215_clk(base); in gt215_clk_calc() local
488 struct gt215_clk *clk = gt215_clk(base); in gt215_clk_prog() local
[all …]
A Dbase.c41 nvkm_clk_adjust(struct nvkm_clk *clk, bool adjust, in nvkm_clk_adjust()
267 nvkm_pstate_prog(struct nvkm_clk *clk, int pstatei) in nvkm_pstate_prog()
336 nvkm_pstate_calc(struct nvkm_clk *clk, bool wait) in nvkm_pstate_calc()
402 nvkm_pstate_new(struct nvkm_clk *clk, int idx) in nvkm_pstate_new()
473 nvkm_clk_ustate_update(struct nvkm_clk *clk, int req) in nvkm_clk_ustate_update()
521 nvkm_clk_ustate(struct nvkm_clk *clk, int req, int pwr) in nvkm_clk_ustate()
543 nvkm_clk_tstate(struct nvkm_clk *clk, u8 temp) in nvkm_clk_tstate()
552 nvkm_clk_dstate(struct nvkm_clk *clk, int req, int rel) in nvkm_clk_dstate()
582 struct nvkm_clk *clk = nvkm_clk(subdev); in nvkm_clk_fini() local
592 struct nvkm_clk *clk = nvkm_clk(subdev); in nvkm_clk_init() local
[all …]
A Dgf100.c49 read_vco(struct gf100_clk *clk, u32 dsrc) in read_vco()
59 read_pll(struct gf100_clk *clk, u32 pll) in read_pll()
133 read_clk(struct gf100_clk *clk, int idx) in read_clk()
160 struct gf100_clk *clk = gf100_clk(base); in gf100_clk_read() local
327 struct gf100_clk *clk = gf100_clk(base); in gf100_clk_calc() local
344 gf100_clk_prog_0(struct gf100_clk *clk, int idx) in gf100_clk_prog_0()
355 gf100_clk_prog_1(struct gf100_clk *clk, int idx) in gf100_clk_prog_1()
366 gf100_clk_prog_2(struct gf100_clk *clk, int idx) in gf100_clk_prog_2()
418 struct gf100_clk *clk = gf100_clk(base); in gf100_clk_prog() local
444 struct gf100_clk *clk = gf100_clk(base); in gf100_clk_tidy() local
[all …]
A Dgm20b.c266 gm20b_pllg_slide(struct gm20b_clk *clk, u32 n) in gm20b_pllg_slide()
322 gm20b_pllg_enable(struct gm20b_clk *clk) in gm20b_pllg_enable()
345 gm20b_pllg_disable(struct gm20b_clk *clk) in gm20b_pllg_disable()
466 struct gm20b_clk *clk = gm20b_clk(base); in gm20b_clk_calc() local
574 struct gm20b_clk *clk = gm20b_clk(base); in gm20b_clk_prog() local
723 struct gm20b_clk *clk = gm20b_clk(base); in gm20b_clk_fini() local
742 gm20b_clk_init_dvfs(struct gm20b_clk *clk) in gm20b_clk_init_dvfs()
813 struct gk20a_clk *clk = gk20a_clk(base); in gm20b_clk_init() local
914 struct gk20a_clk *clk; in gm20b_clk_new_speedo0() local
976 gm20b_clk_init_safe_fmax(struct gm20b_clk *clk) in gm20b_clk_init_safe_fmax()
[all …]
/linux-6.3-rc2/drivers/clk/starfive/
A Dclk-starfive-jh7100.c304 struct jh7100_clk *clk = jh7100_clk_from(hw); in jh7100_clk_enable() local
312 struct jh7100_clk *clk = jh7100_clk_from(hw); in jh7100_clk_disable() local
319 struct jh7100_clk *clk = jh7100_clk_from(hw); in jh7100_clk_is_enabled() local
327 struct jh7100_clk *clk = jh7100_clk_from(hw); in jh7100_clk_recalc_rate() local
336 struct jh7100_clk *clk = jh7100_clk_from(hw); in jh7100_clk_determine_rate() local
366 struct jh7100_clk *clk = jh7100_clk_from(hw); in jh7100_clk_set_rate() local
377 struct jh7100_clk *clk = jh7100_clk_from(hw); in jh7100_clk_frac_recalc_rate() local
408 struct jh7100_clk *clk = jh7100_clk_from(hw); in jh7100_clk_frac_set_rate() local
419 struct jh7100_clk *clk = jh7100_clk_from(hw); in jh7100_clk_get_parent() local
427 struct jh7100_clk *clk = jh7100_clk_from(hw); in jh7100_clk_set_parent() local
[all …]
/linux-6.3-rc2/drivers/clk/meson/
A Dclk-phase.c16 meson_clk_phase_data(struct clk_regmap *clk) in meson_clk_phase_data()
39 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_phase_get_phase() local
50 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_phase_set_phase() local
76 meson_clk_triphase_data(struct clk_regmap *clk) in meson_clk_triphase_data()
83 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_triphase_sync() local
97 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_triphase_get_phase() local
109 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_triphase_set_phase() local
135 meson_sclk_ws_inv_data(struct clk_regmap *clk) in meson_sclk_ws_inv_data()
142 struct clk_regmap *clk = to_clk_regmap(hw); in meson_sclk_ws_inv_sync() local
155 struct clk_regmap *clk = to_clk_regmap(hw); in meson_sclk_ws_inv_get_phase() local
[all …]
A Dsclk-div.c26 meson_sclk_div_data(struct clk_regmap *clk) in meson_sclk_div_data()
102 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_determine_rate() local
112 static void sclk_apply_ratio(struct clk_regmap *clk, in sclk_apply_ratio()
128 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_set_duty_cycle() local
142 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_get_duty_cycle() local
170 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_set_rate() local
185 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_recalc_rate() local
193 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_enable() local
203 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_disable() local
211 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_is_enabled() local
[all …]
/linux-6.3-rc2/drivers/clk/
A Dclk_test.c196 struct clk *clk = clk_hw_get_clk(hw, NULL); in clk_test_get_rate() local
217 struct clk *clk = clk_hw_get_clk(hw, NULL); in clk_test_set_get_rate() local
242 struct clk *clk = clk_hw_get_clk(hw, NULL); in clk_test_set_set_get_rate() local
268 struct clk *clk = clk_hw_get_clk(hw, NULL); in clk_test_round_set_get_rate() local
337 struct clk *clk = clk_hw_get_clk(hw, NULL); in clk_test_uncached_get_rate() local
361 struct clk *clk = clk_hw_get_clk(hw, NULL); in clk_test_uncached_set_range() local
390 struct clk *clk = clk_hw_get_clk(hw, NULL); in clk_test_uncached_updated_rate_set_range() local
485 struct clk *clk = clk_hw_get_clk(hw, NULL); in clk_test_multiple_parents_mux_get_parent() local
748 struct clk *clk, *parent; in clk_test_orphan_transparent_multiple_parent_mux_set_parent_put() local
2251 struct clk *clk; member
[all …]
/linux-6.3-rc2/drivers/clk/ux500/
A Dclk-prcmu.c36 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
52 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_recalc_rate() local
59 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_round_rate() local
66 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_set_rate() local
73 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_opp_prepare() local
100 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_opp_unprepare() local
118 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_opp_volt_prepare() local
142 struct clk_prcmu *clk = to_clk_prcmu(hw); in clk_prcmu_opp_volt_unprepare() local
201 struct clk_prcmu *clk; in clk_reg_prcmu() local
[all …]
/linux-6.3-rc2/kernel/time/
A Dposix-clock.c22 struct posix_clock *clk = fp->private_data; in get_posix_clock() local
34 static void put_posix_clock(struct posix_clock *clk) in put_posix_clock()
42 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_read() local
58 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_poll() local
75 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_ioctl() local
93 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_compat_ioctl() local
111 struct posix_clock *clk = in posix_clock_open() local
136 struct posix_clock *clk = fp->private_data; in posix_clock_release() local
162 int posix_clock_register(struct posix_clock *clk, struct device *dev) in posix_clock_register()
182 void posix_clock_unregister(struct posix_clock *clk) in posix_clock_unregister()
[all …]
/linux-6.3-rc2/drivers/clk/imx/
A Dclk-scu.c88 u8 clk; member
93 u8 clk; member
129 u8 clk; member
147 u8 clk; member
164 u8 clk; member
230 struct clk_scu *clk = to_clk_scu(hw); in clk_scu_recalc_rate() local
455 struct clk_scu *clk; in __imx_clk_scu() local
507 struct imx_scu_clk_node *clk; in imx_scu_of_clk_src_get() local
660 struct imx_scu_clk_node clk = { in imx_clk_scu_alloc_dev() local
710 struct imx_scu_clk_node *clk; in imx_clk_scu_unregister() local
[all …]
/linux-6.3-rc2/arch/sh/kernel/cpu/sh4/
A Dclock-sh4-202.c22 static unsigned long emi_clk_recalc(struct clk *clk) in emi_clk_recalc()
28 static inline int frqcr3_lookup(struct clk *clk, unsigned long rate) in frqcr3_lookup()
50 static unsigned long femi_clk_recalc(struct clk *clk) in femi_clk_recalc()
65 static void shoc_clk_init(struct clk *clk) in shoc_clk_init()
88 static unsigned long shoc_clk_recalc(struct clk *clk) in shoc_clk_recalc()
94 static int shoc_clk_verify_rate(struct clk *clk, unsigned long rate) in shoc_clk_verify_rate()
109 static int shoc_clk_set_rate(struct clk *clk, unsigned long rate) in shoc_clk_set_rate()
156 struct clk *clk; in arch_clk_init() local

Completed in 55 milliseconds

12345678910>>...57