Home
last modified time | relevance | path

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

123456789

/arch/avr32/mach-at32ap/
Dclock.h20 struct clk { struct
24 struct clk *parent; /* Parent clock, if any */ argument
25 void (*mode)(struct clk *clk, int enabled); argument
26 unsigned long (*get_rate)(struct clk *clk); argument
27 long (*set_rate)(struct clk *clk, unsigned long rate, argument
29 int (*set_parent)(struct clk *clk, struct clk *parent); argument
34 unsigned long pba_clk_get_rate(struct clk *clk); argument
Dclock.c31 void at32_clk_register(struct clk *clk) in at32_clk_register()
41 struct clk *clk; in __clk_get() local
54 struct clk *clk; in clk_get() local
65 void clk_put(struct clk *clk) in clk_put()
71 static void __clk_enable(struct clk *clk) in __clk_enable()
79 int clk_enable(struct clk *clk) in clk_enable()
94 static void __clk_disable(struct clk *clk) in __clk_disable()
108 void clk_disable(struct clk *clk) in clk_disable()
121 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
137 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
[all …]
/arch/arm/mach-lpc32xx/
Dclock.h22 struct clk { struct
24 struct clk *parent; argument
28 int (*set_rate) (struct clk *, unsigned long); argument
29 unsigned long (*round_rate) (struct clk *, unsigned long); argument
30 unsigned long (*get_rate) (struct clk *clk); argument
31 int (*enable) (struct clk *, int); argument
34 void __iomem *enable_reg;
35 u32 enable_mask;
/arch/mips/bcm63xx/
Dclk.c19 struct clk { struct
20 void (*set)(struct clk *, int); argument
29 static void clk_enable_unlocked(struct clk *clk) in clk_enable_unlocked()
35 static void clk_disable_unlocked(struct clk *clk) in clk_disable_unlocked()
56 static void enet_misc_set(struct clk *clk, int enable) in enet_misc_set()
80 static void enetx_set(struct clk *clk, int enable) in enetx_set()
111 static void ephy_set(struct clk *clk, int enable) in ephy_set()
125 static void enetsw_set(struct clk *clk, int enable) in enetsw_set()
155 static void pcm_set(struct clk *clk, int enable) in pcm_set()
170 static void usbh_set(struct clk *clk, int enable) in usbh_set()
[all …]
/arch/arm/mach-at91/
Dclock.h18 struct clk { struct
21 struct clk_lookup cl; argument
24 struct clk *parent; argument
27 void (*mode)(struct clk *, int); argument
34 extern int __init clk_register(struct clk *clk); argument
/arch/m68k/coldfire/
Dclk.c30 void __clk_init_enabled(struct clk *clk) in __clk_init_enabled()
36 void __clk_init_disabled(struct clk *clk) in __clk_init_disabled()
42 static void __clk_enable0(struct clk *clk) in __clk_enable0()
47 static void __clk_disable0(struct clk *clk) in __clk_disable0()
58 static void __clk_enable1(struct clk *clk) in __clk_enable1()
63 static void __clk_disable1(struct clk *clk) in __clk_disable1()
78 struct clk *clk; in clk_get() local
89 int clk_enable(struct clk *clk) in clk_enable()
101 void clk_disable(struct clk *clk) in clk_disable()
111 void clk_put(struct clk *clk) in clk_put()
[all …]
/arch/mips/ralink/
Dclk.c19 struct clk { struct
20 struct clk_lookup cl; argument
26 struct clk *clk = kzalloc(sizeof(struct clk), GFP_KERNEL); in ralink_clk_add() argument
42 int clk_enable(struct clk *clk) in clk_enable()
48 void clk_disable(struct clk *clk) in clk_disable()
53 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
61 struct clk *clk; in plat_time_init() local
/arch/arm/mach-versatile/include/mach/
Dclkdev.h6 struct clk { struct
8 const struct clk_ops *ops; argument
13 #define __clk_get(clk) ({ 1; }) argument
14 #define __clk_put(clk) do { } while (0) argument
/arch/blackfin/mach-common/
Dclock.h14 struct clk { struct
19 const struct clk_ops *ops; argument
20 const struct params *params;
21 void __iomem *reg;
22 u32 mask;
23 u32 shift;
/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 …]
/arch/mips/include/asm/
Dclock.h20 struct clk { struct
26 struct clk *parent; argument
27 struct clk_ops *ops; argument
40 int __clk_enable(struct clk *); argument
/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 …]
/arch/arm/mach-davinci/
Dclock.h87 struct clk { struct
98 struct clk *parent; argument
103 unsigned long (*recalc) (struct clk *); argument
104 int (*set_rate) (struct clk *clk, unsigned long rate); argument
105 int (*round_rate) (struct clk *clk, unsigned long rate); argument
106 int (*reset) (struct clk *clk, bool reset); argument
107 void (*clk_enable) (struct clk *clk); argument
108 void (*clk_disable) (struct clk *clk); argument
Dclock.c34 static void __clk_enable(struct clk *clk) in __clk_enable()
47 static void __clk_disable(struct clk *clk) in __clk_disable()
62 int davinci_clk_reset(struct clk *clk, bool reset) in davinci_clk_reset()
78 int davinci_clk_reset_assert(struct clk *clk) in davinci_clk_reset_assert()
87 int davinci_clk_reset_deassert(struct clk *clk) in davinci_clk_reset_deassert()
96 int clk_enable(struct clk *clk) in clk_enable()
111 void clk_disable(struct clk *clk) in clk_disable()
124 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
133 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
148 struct clk *clk; in propagate_rate() local
[all …]
/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()
79 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
92 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
/arch/arm/plat-versatile/
Dclock.c21 int clk_enable(struct clk *clk) in clk_enable()
27 void clk_disable(struct clk *clk) in clk_disable()
32 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
38 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
47 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
56 long icst_clk_round(struct clk *clk, unsigned long rate) in icst_clk_round()
64 int icst_clk_set(struct clk *clk, unsigned long rate) in icst_clk_set()
/arch/arm/mach-sa1100/
Dclock.c24 struct clk { struct
25 const struct clkops *ops; argument
30 struct clk clk_##_name = { \ argument
37 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
43 static void clk_gpio27_enable(struct clk *clk) in clk_gpio27_enable()
54 static void clk_gpio27_disable(struct clk *clk) in clk_gpio27_disable()
61 int clk_enable(struct clk *clk) in clk_enable()
76 void clk_disable(struct clk *clk) in clk_disable()
/arch/mips/jz4740/
Dclock.h45 struct clk { struct
47 struct clk *parent; argument
51 const struct clk_ops *ops; argument
64 int clk_is_enabled(struct clk *clk); argument
72 static inline void jz4740_clock_debugfs_add_clk(struct clk *clk) {}; in jz4740_clock_debugfs_add_clk()
73 static inline void jz4740_clock_debugfs_update_parent(struct clk *clk) {}; in jz4740_clock_debugfs_update_parent()
Dclock.c105 struct clk clk; member
110 struct clk clk; member
116 struct clk clk; member
159 static int jz_clk_enable_gating(struct clk *clk) in jz_clk_enable_gating()
168 static int jz_clk_disable_gating(struct clk *clk) in jz_clk_disable_gating()
177 static int jz_clk_is_enabled_gating(struct clk *clk) in jz_clk_is_enabled_gating()
185 static unsigned long jz_clk_static_get_rate(struct clk *clk) in jz_clk_static_get_rate()
190 static int jz_clk_ko_enable(struct clk *clk) in jz_clk_ko_enable()
196 static int jz_clk_ko_disable(struct clk *clk) in jz_clk_ko_disable()
202 static int jz_clk_ko_is_enabled(struct clk *clk) in jz_clk_ko_is_enabled()
[all …]
/arch/blackfin/include/asm/
Dclocks.h61 struct clk { struct
62 struct clk *parent; argument
67 const struct clk_ops *ops; argument
73 int clk_init(void); argument
/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
239 static void __clk_enable(struct clk *clk) in __clk_enable()
258 int clk_enable(struct clk *clk) in clk_enable()
273 static void __clk_disable(struct clk *clk) in __clk_disable()
292 void clk_disable(struct clk *clk) in clk_disable()
305 static unsigned long get_uart_rate(struct clk *clk) in get_uart_rate()
317 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
[all …]
/arch/mips/lantiq/
Dclk.h55 struct clk { struct
56 struct clk_lookup cl; argument
62 int (*enable) (struct clk *clk); argument
63 void (*disable) (struct clk *clk); argument
64 int (*activate) (struct clk *clk); argument
65 void (*deactivate) (struct clk *clk); argument
66 void (*reboot) (struct clk *clk); argument
Dclk.c62 static inline int clk_good(struct clk *clk) in clk_good()
67 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
82 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
102 int clk_enable(struct clk *clk) in clk_enable()
114 void clk_disable(struct clk *clk) in clk_disable()
124 int clk_activate(struct clk *clk) in clk_activate()
136 void clk_deactivate(struct clk *clk) in clk_deactivate()
169 struct clk *clk; in plat_time_init() local
/arch/arm/mach-pxa/
Dclock.c15 int clk_enable(struct clk *clk) in clk_enable()
31 void clk_disable(struct clk *clk) in clk_disable()
44 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
56 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
71 void clk_dummy_enable(struct clk *clk) in clk_dummy_enable()
75 void clk_dummy_disable(struct clk *clk) in clk_dummy_disable()

123456789