Home
last modified time | relevance | path

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

12345678910>>...103

/kernel/linux/linux-4.19/arch/m68k/coldfire/
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()
79 struct clk *clk; in clk_get() local
90 int clk_enable(struct clk *clk) in clk_enable()
102 void clk_disable(struct clk *clk) in clk_disable()
116 void clk_put(struct clk *clk) in clk_put()
[all …]
/kernel/linux/linux-5.10/arch/m68k/coldfire/
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()
79 struct clk *clk; in clk_get() local
90 int clk_enable(struct clk *clk) in clk_enable()
102 void clk_disable(struct clk *clk) in clk_disable()
116 void clk_put(struct clk *clk) in clk_put()
[all …]
/kernel/linux/linux-4.19/arch/mips/bcm63xx/
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()
58 static void enet_misc_set(struct clk *clk, int enable) in enet_misc_set()
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()
127 static void swpkt_sar_set(struct clk *clk, int enable) in swpkt_sar_set()
142 static void swpkt_usb_set(struct clk *clk, int enable) in swpkt_usb_set()
157 static void enetsw_set(struct clk *clk, int enable) in enetsw_set()
[all …]
/kernel/linux/linux-5.10/arch/mips/bcm63xx/
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()
58 static void enet_misc_set(struct clk *clk, int enable) in enet_misc_set()
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()
127 static void swpkt_sar_set(struct clk *clk, int enable) in swpkt_sar_set()
142 static void swpkt_usb_set(struct clk *clk, int enable) in swpkt_usb_set()
157 static void enetsw_set(struct clk *clk, int enable) in enetsw_set()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-omap1/
Dclock.c41 unsigned long omap1_uart_recalc(struct clk *clk) in omap1_uart_recalc()
47 unsigned long omap1_sossi_recalc(struct clk *clk) in omap1_sossi_recalc()
57 static void omap1_clk_allow_idle(struct clk *clk) in omap1_clk_allow_idle()
68 static void omap1_clk_deny_idle(struct clk *clk) in omap1_clk_deny_idle()
132 static int calc_dsor_exp(struct clk *clk, unsigned long rate) in calc_dsor_exp()
164 unsigned long omap1_ckctl_recalc(struct clk *clk) in omap1_ckctl_recalc()
172 unsigned long omap1_ckctl_recalc_dsp_domain(struct clk *clk) in omap1_ckctl_recalc_dsp_domain()
191 int omap1_select_table_rate(struct clk *clk, unsigned long rate) in omap1_select_table_rate()
226 int omap1_clk_set_rate_dsp_domain(struct clk *clk, unsigned long rate) in omap1_clk_set_rate_dsp_domain()
246 long omap1_clk_round_rate_ckctl_arm(struct clk *clk, unsigned long rate) in omap1_clk_round_rate_ckctl_arm()
[all …]
Dclock.h45 #define __clk_get_name(clk) (clk->name) argument
46 #define __clk_get_parent(clk) (clk->parent) argument
47 #define __clk_get_rate(clk) (clk->rate) argument
138 struct clk { struct
140 const struct clkops *ops; argument
142 struct clk *parent; argument
147 unsigned long (*recalc)(struct clk *); argument
148 int (*set_rate)(struct clk *, unsigned long); argument
149 long (*round_rate)(struct clk *, unsigned long); argument
150 void (*init)(struct clk *); argument
[all …]
/kernel/linux/linux-4.19/arch/arm/mach-sa1100/
Dclock.c27 struct clk { struct
28 const struct clkops *ops; argument
33 struct clk clk_##_name = { \ argument
40 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
46 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
52 int clk_set_parent(struct clk *clk, struct clk *parent) in clk_set_parent()
58 struct clk *clk_get_parent(struct clk *clk) in clk_get_parent()
64 static void clk_gpio27_enable(struct clk *clk) in clk_gpio27_enable()
75 static void clk_gpio27_disable(struct clk *clk) in clk_gpio27_disable()
82 static void clk_cpu_enable(struct clk *clk) in clk_cpu_enable()
[all …]
/kernel/linux/linux-4.19/arch/arm/mach-omap1/
Dclock.c44 unsigned long omap1_uart_recalc(struct clk *clk) in omap1_uart_recalc()
50 unsigned long omap1_sossi_recalc(struct clk *clk) in omap1_sossi_recalc()
60 static void omap1_clk_allow_idle(struct clk *clk) in omap1_clk_allow_idle()
71 static void omap1_clk_deny_idle(struct clk *clk) in omap1_clk_deny_idle()
135 static int calc_dsor_exp(struct clk *clk, unsigned long rate) in calc_dsor_exp()
167 unsigned long omap1_ckctl_recalc(struct clk *clk) in omap1_ckctl_recalc()
175 unsigned long omap1_ckctl_recalc_dsp_domain(struct clk *clk) in omap1_ckctl_recalc_dsp_domain()
194 int omap1_select_table_rate(struct clk *clk, unsigned long rate) in omap1_select_table_rate()
229 int omap1_clk_set_rate_dsp_domain(struct clk *clk, unsigned long rate) in omap1_clk_set_rate_dsp_domain()
249 long omap1_clk_round_rate_ckctl_arm(struct clk *clk, unsigned long rate) in omap1_clk_round_rate_ckctl_arm()
[all …]
Dclock.h48 #define __clk_get_name(clk) (clk->name) argument
49 #define __clk_get_parent(clk) (clk->parent) argument
50 #define __clk_get_rate(clk) (clk->rate) argument
141 struct clk { struct
143 const struct clkops *ops; argument
145 struct clk *parent; argument
150 unsigned long (*recalc)(struct clk *); argument
151 int (*set_rate)(struct clk *, unsigned long); argument
152 long (*round_rate)(struct clk *, unsigned long); argument
153 void (*init)(struct clk *); argument
[all …]
/kernel/linux/linux-5.10/arch/c6x/platforms/
Dpll.c27 static void __clk_enable(struct clk *clk) in __clk_enable()
34 static void __clk_disable(struct clk *clk) in __clk_disable()
44 int clk_enable(struct clk *clk) in clk_enable()
59 void clk_disable(struct clk *clk) in clk_disable()
72 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
81 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
96 struct clk *clk; in propagate_rate() local
105 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
128 int clk_set_parent(struct clk *clk, struct clk *parent) in clk_set_parent()
155 int clk_register(struct clk *clk) in clk_register()
[all …]
/kernel/linux/linux-4.19/arch/c6x/platforms/
Dpll.c31 static void __clk_enable(struct clk *clk) in __clk_enable()
38 static void __clk_disable(struct clk *clk) in __clk_disable()
48 int clk_enable(struct clk *clk) in clk_enable()
63 void clk_disable(struct clk *clk) in clk_disable()
76 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
85 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
100 struct clk *clk; in propagate_rate() local
109 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
132 int clk_set_parent(struct clk *clk, struct clk *parent) in clk_set_parent()
159 int clk_register(struct clk *clk) in clk_register()
[all …]
/kernel/linux/linux-4.19/include/linux/
Dclk.h58 struct clk *clk; member
75 struct clk *clk; member
92 struct clk *clk; member
180 static inline int clk_notifier_register(struct clk *clk, in clk_notifier_register()
186 static inline int clk_notifier_unregister(struct clk *clk, in clk_notifier_unregister()
192 static inline long clk_get_accuracy(struct clk *clk) in clk_get_accuracy()
197 static inline long clk_set_phase(struct clk *clk, int phase) in clk_set_phase()
202 static inline long clk_get_phase(struct clk *clk) in clk_get_phase()
207 static inline int clk_set_duty_cycle(struct clk *clk, unsigned int num, in clk_set_duty_cycle()
213 static inline unsigned int clk_get_scaled_duty_cycle(struct clk *clk, in clk_get_scaled_duty_cycle()
[all …]
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
/kernel/linux/linux-4.19/arch/mips/ralink/
Dclk.c20 struct clk { struct
21 struct clk_lookup cl; argument
27 struct clk *clk = kzalloc(sizeof(struct clk), GFP_KERNEL); in ralink_clk_add() local
43 int clk_enable(struct clk *clk) in clk_enable()
49 void clk_disable(struct clk *clk) in clk_disable()
54 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
63 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
69 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
77 struct clk *clk; in plat_time_init() local
/kernel/linux/linux-5.10/arch/mips/ralink/
Dclk.c18 struct clk { struct
19 struct clk_lookup cl; argument
25 struct clk *clk = kzalloc(sizeof(struct clk), GFP_KERNEL); in ralink_clk_add() local
41 int clk_enable(struct clk *clk) in clk_enable()
47 void clk_disable(struct clk *clk) in clk_disable()
52 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
61 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
67 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
75 struct clk *clk; in plat_time_init() local
/kernel/linux/linux-5.10/include/linux/
Dclk.h55 struct clk *clk; member
72 struct clk *clk; member
89 struct clk *clk; member
177 static inline int clk_notifier_register(struct clk *clk, in clk_notifier_register()
183 static inline int clk_notifier_unregister(struct clk *clk, in clk_notifier_unregister()
189 static inline long clk_get_accuracy(struct clk *clk) in clk_get_accuracy()
194 static inline long clk_set_phase(struct clk *clk, int phase) in clk_set_phase()
199 static inline long clk_get_phase(struct clk *clk) in clk_get_phase()
204 static inline int clk_set_duty_cycle(struct clk *clk, unsigned int num, in clk_set_duty_cycle()
210 static inline unsigned int clk_get_scaled_duty_cycle(struct clk *clk, in clk_get_scaled_duty_cycle()
[all …]
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
/kernel/linux/linux-4.19/drivers/media/v4l2-core/
Dv4l2-clk.c30 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 …]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-clk.c27 struct v4l2_clk *clk; in v4l2_clk_find() local
38 struct v4l2_clk *clk; in v4l2_clk_get() local
73 void v4l2_clk_put(struct v4l2_clk *clk) in v4l2_clk_put()
96 static int v4l2_clk_lock_driver(struct v4l2_clk *clk) in v4l2_clk_lock_driver()
116 static void v4l2_clk_unlock_driver(struct v4l2_clk *clk) in v4l2_clk_unlock_driver()
121 int v4l2_clk_enable(struct v4l2_clk *clk) in v4l2_clk_enable()
150 void v4l2_clk_disable(struct v4l2_clk *clk) in v4l2_clk_disable()
172 unsigned long v4l2_clk_get_rate(struct v4l2_clk *clk) in v4l2_clk_get_rate()
196 int v4l2_clk_set_rate(struct v4l2_clk *clk, unsigned long rate) in v4l2_clk_set_rate()
229 struct v4l2_clk *clk; in v4l2_clk_register() local
[all …]
/kernel/linux/linux-4.19/arch/arm/mach-ep93xx/
Dclock.c30 struct clk { struct
31 struct clk *parent; argument
38 unsigned long (*get_rate)(struct clk *clk); argument
39 int (*set_rate)(struct clk *clk, unsigned long rate); argument
247 static void __clk_enable(struct clk *clk) in __clk_enable()
266 int clk_enable(struct clk *clk) in clk_enable()
281 static void __clk_disable(struct clk *clk) in __clk_disable()
300 void clk_disable(struct clk *clk) in clk_disable()
313 static unsigned long get_uart_rate(struct clk *clk) in get_uart_rate()
325 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-ep93xx/
Dclock.c27 struct clk { struct
28 struct clk *parent; argument
35 unsigned long (*get_rate)(struct clk *clk); argument
36 int (*set_rate)(struct clk *clk, unsigned long rate); argument
244 static void __clk_enable(struct clk *clk) in __clk_enable()
263 int clk_enable(struct clk *clk) in clk_enable()
278 static void __clk_disable(struct clk *clk) in __clk_disable()
297 void clk_disable(struct clk *clk) in clk_disable()
310 static unsigned long get_uart_rate(struct clk *clk) in get_uart_rate()
322 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
[all …]
/kernel/linux/linux-4.19/arch/mips/include/asm/
Dclock.h21 struct clk { struct
27 struct clk *parent; argument
28 struct clk_ops *ops; argument
41 int __clk_enable(struct clk *); argument
/kernel/linux/linux-4.19/arch/arm/mach-w90x900/
Dclock.c32 int clk_enable(struct clk *clk) in clk_enable()
45 void clk_disable(struct clk *clk) in clk_disable()
61 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
67 void nuc900_clk_enable(struct clk *clk, int enable) in nuc900_clk_enable()
82 void nuc900_subclk_enable(struct clk *clk, int enable) in nuc900_subclk_enable()
98 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
105 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
112 int clk_set_parent(struct clk *clk, struct clk *parent) in clk_set_parent()
119 struct clk *clk_get_parent(struct clk *clk) in clk_get_parent()
/kernel/linux/linux-5.10/drivers/sh/clk/
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()
97 static inline struct clk_div_table *clk_to_div_table(struct clk *clk) in clk_to_div_table()
102 static inline struct clk_div_mult_table *clk_to_div_mult_table(struct clk *clk) in clk_to_div_mult_table()
110 static long sh_clk_div_round_rate(struct clk *clk, unsigned long rate) in sh_clk_div_round_rate()
115 static unsigned long sh_clk_div_recalc(struct clk *clk) in sh_clk_div_recalc()
128 static int sh_clk_div_set_rate(struct clk *clk, unsigned long rate) in sh_clk_div_set_rate()
150 static int sh_clk_div_enable(struct clk *clk) in sh_clk_div_enable()
[all …]
/kernel/linux/linux-4.19/arch/arm/mach-mmp/
Dclock.c19 static void apbc_clk_enable(struct clk *clk) in apbc_clk_enable()
27 static void apbc_clk_disable(struct clk *clk) in apbc_clk_disable()
37 static void apmu_clk_enable(struct clk *clk) in apmu_clk_enable()
42 static void apmu_clk_disable(struct clk *clk) in apmu_clk_disable()
54 int clk_enable(struct clk *clk) in clk_enable()
66 void clk_disable(struct clk *clk) in clk_disable()
82 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
95 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()

12345678910>>...103