Home
last modified time | relevance | path

Searched defs:clk (Results 1 – 200 of 1142) sorted by relevance

123456

/linux-4.4.14/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 …]
/linux-4.4.14/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 …]
Dat32ap700x.c110 static unsigned long osc_get_rate(struct clk *clk) in osc_get_rate()
115 static unsigned long pll_get_rate(struct clk *clk, unsigned long control) in pll_get_rate()
129 static long pll_set_rate(struct clk *clk, unsigned long rate, in pll_set_rate()
194 static unsigned long pll0_get_rate(struct clk *clk) in pll0_get_rate()
203 static void pll1_mode(struct clk *clk, int enabled) in pll1_mode()
238 static unsigned long pll1_get_rate(struct clk *clk) in pll1_get_rate()
247 static long pll1_set_rate(struct clk *clk, unsigned long rate, int apply) in pll1_set_rate()
267 static int pll1_set_parent(struct clk *clk, struct clk *parent) in pll1_set_parent()
338 static unsigned long bus_clk_get_rate(struct clk *clk, unsigned int shift) in bus_clk_get_rate()
343 static void cpu_clk_mode(struct clk *clk, int enabled) in cpu_clk_mode()
[all …]
/linux-4.4.14/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;
Dclock.c114 static unsigned long local_return_parent_rate(struct clk *clk) in local_return_parent_rate()
132 static int local_pll397_enable(struct clk *clk, int enable) in local_pll397_enable()
161 static int local_oscmain_enable(struct clk *clk, int enable) in local_oscmain_enable()
387 static int local_usbpll_enable(struct clk *clk, int enable) in local_usbpll_enable()
451 static unsigned long local_usbpll_round_rate(struct clk *clk, in local_usbpll_round_rate()
475 static int local_usbpll_set_rate(struct clk *clk, unsigned long rate) in local_usbpll_set_rate()
543 static int local_onoff_enable(struct clk *clk, int enable) in local_onoff_enable()
762 static int local_usb_enable(struct clk *clk, int enable) in local_usb_enable()
787 static int local_usb_otg_enable(struct clk *clk, int enable) in local_usb_otg_enable()
833 static int tsc_onoff_enable(struct clk *clk, int enable) in tsc_onoff_enable()
[all …]
/linux-4.4.14/include/linux/
Dclk.h59 struct clk *clk; member
76 struct clk *clk; member
143 static inline long clk_get_accuracy(struct clk *clk) in clk_get_accuracy()
148 static inline long clk_set_phase(struct clk *clk, int phase) in clk_set_phase()
153 static inline long clk_get_phase(struct clk *clk) in clk_get_phase()
176 static inline int clk_prepare(struct clk *clk) in clk_prepare()
195 static inline void clk_unprepare(struct clk *clk) in clk_unprepare()
423 static inline void clk_put(struct clk *clk) {} in clk_put()
425 static inline void devm_clk_put(struct device *dev, struct clk *clk) {} in devm_clk_put()
427 static inline int clk_enable(struct clk *clk) in clk_enable()
[all …]
Dsh_clk.h37 struct clk { struct
39 struct clk *parent; argument
40 struct clk **parent_table; /* list of parents to */ argument
44 struct sh_clk_ops *ops; argument
62 struct clk_mapping *mapping; argument
79 /* drivers/sh/clk.c */ argument
/linux-4.4.14/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 …]
/linux-4.4.14/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 …]
/linux-4.4.14/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 …]
/linux-4.4.14/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()
113 void clk_disable(struct clk *clk) in clk_disable()
126 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
135 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
150 struct clk *clk; in propagate_rate() local
[all …]
Dda850.c397 static void ehrpwm_tblck_enable(struct clk *clk) in ehrpwm_tblck_enable()
406 static void ehrpwm_tblck_disable(struct clk *clk) in ehrpwm_tblck_disable()
914 struct clk *clk, *newparent = pllnum ? &pll1_sysclk2 : &pll0_sysclk2; in da850_set_async3_src() local
1094 static int da850_round_armrate(struct clk *clk, unsigned long rate) in da850_round_armrate()
1117 static int da850_set_armrate(struct clk *clk, unsigned long index) in da850_set_armrate()
1124 static int da850_set_pll0rate(struct clk *clk, unsigned long index) in da850_set_pll0rate()
1148 static int da850_set_armrate(struct clk *clk, unsigned long rate) in da850_set_armrate()
1153 static int da850_set_pll0rate(struct clk *clk, unsigned long armrate) in da850_set_pll0rate()
1158 static int da850_round_armrate(struct clk *clk, unsigned long rate) in da850_round_armrate()
Daemif.c67 static int aemif_calc_rate(int wanted, unsigned long clk, int max) in aemif_calc_rate()
157 struct clk *clk; in davinci_aemif_setup() local
/linux-4.4.14/arch/arm/mach-sa1100/
Dclock.c26 struct clk { struct
27 const struct clkops *ops; argument
32 struct clk clk_##_name = { \ argument
38 static void clk_gpio27_enable(struct clk *clk) in clk_gpio27_enable()
49 static void clk_gpio27_disable(struct clk *clk) in clk_gpio27_disable()
56 static void clk_cpu_enable(struct clk *clk) in clk_cpu_enable()
60 static void clk_cpu_disable(struct clk *clk) in clk_cpu_disable()
64 static unsigned long clk_cpu_get_rate(struct clk *clk) in clk_cpu_get_rate()
69 int clk_enable(struct clk *clk) in clk_enable()
84 void clk_disable(struct clk *clk) in clk_disable()
[all …]
/linux-4.4.14/drivers/media/v4l2-core/
Dv4l2-clk.c29 struct v4l2_clk *clk; in v4l2_clk_find() local
40 struct v4l2_clk *clk; in v4l2_clk_get() local
68 void v4l2_clk_put(struct v4l2_clk *clk) in v4l2_clk_put()
91 static int v4l2_clk_lock_driver(struct v4l2_clk *clk) in v4l2_clk_lock_driver()
111 static void v4l2_clk_unlock_driver(struct v4l2_clk *clk) in v4l2_clk_unlock_driver()
116 int v4l2_clk_enable(struct v4l2_clk *clk) in v4l2_clk_enable()
145 void v4l2_clk_disable(struct v4l2_clk *clk) in v4l2_clk_disable()
167 unsigned long v4l2_clk_get_rate(struct v4l2_clk *clk) in v4l2_clk_get_rate()
191 int v4l2_clk_set_rate(struct v4l2_clk *clk, unsigned long rate) in v4l2_clk_set_rate()
224 struct v4l2_clk *clk; in v4l2_clk_register() local
[all …]
/linux-4.4.14/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()
59 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
67 struct clk *clk; in plat_time_init() local
/linux-4.4.14/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;
/linux-4.4.14/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
Dclkdev.h18 #define __clk_get(clk) ({ 1; }) argument
19 #define __clk_put(clk) do { } while (0) argument
/linux-4.4.14/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 …]
/linux-4.4.14/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
/linux-4.4.14/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()
Dclock.h18 struct clk { struct
19 const struct clkops *ops; argument
21 void __iomem *clk_rst; /* clock reset control register */ argument
22 int fnclksel; /* functional clock select (APBC) */ argument
32 struct clk clk_##_name = { \ argument
Dclock-mmp2.c47 static void sdhc_clk_enable(struct clk *clk) in sdhc_clk_enable()
56 static void sdhc_clk_disable(struct clk *clk) in sdhc_clk_disable()
/linux-4.4.14/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()
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 …]
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()
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()
209 unsigned long followparent_recalc(struct clk *clk) in followparent_recalc()
237 static void __clk_disable(struct clk *clk) in __clk_disable()
251 void clk_disable(struct clk *clk) in clk_disable()
264 static int __clk_enable(struct clk *clk) in __clk_enable()
291 int clk_enable(struct clk *clk) in clk_enable()
[all …]
/linux-4.4.14/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
Dclkdev.h12 #define __clk_put(clk) argument
13 #define __clk_get(clk) ({ 1; }) argument
/linux-4.4.14/arch/mips/lantiq/
Dclk.h60 struct clk { struct
61 struct clk_lookup cl; argument
67 int (*enable) (struct clk *clk); argument
68 void (*disable) (struct clk *clk); argument
69 int (*activate) (struct clk *clk); argument
70 void (*deactivate) (struct clk *clk); argument
71 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 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
119 int clk_enable(struct clk *clk) in clk_enable()
131 void clk_disable(struct clk *clk) in clk_disable()
141 int clk_activate(struct clk *clk) in clk_activate()
153 void clk_deactivate(struct clk *clk) in clk_deactivate()
186 struct clk *clk; in plat_time_init() local
/linux-4.4.14/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()
/linux-4.4.14/drivers/clk/ti/
Ddpll3xxx.c50 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()
395 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap3_dpll_recalc() local
[all …]
Dapll.c42 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
141 struct clk *clk; in omap_clk_register_apll() local
229 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_is_enabled() local
244 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_recalc() local
254 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_enable() local
285 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_disable() local
302 static void omap2_apll_set_autoidle(struct clk_hw_omap *clk, u32 val) in omap2_apll_set_autoidle()
316 static void omap2_apll_allow_idle(struct clk_hw_omap *clk) in omap2_apll_allow_idle()
[all …]
Dclkt_dflt.c58 static int _wait_idlest_generic(struct clk_hw_omap *clk, void __iomem *reg, in _wait_idlest_generic()
92 static void _omap2_module_wait_ready(struct clk_hw_omap *clk) in _omap2_module_wait_ready()
141 void omap2_clk_dflt_find_companion(struct clk_hw_omap *clk, in omap2_clk_dflt_find_companion()
170 void omap2_clk_dflt_find_idlest(struct clk_hw_omap *clk, in omap2_clk_dflt_find_idlest()
202 struct clk_hw_omap *clk; in omap2_dflt_clk_enable() local
263 struct clk_hw_omap *clk; in omap2_dflt_clk_disable() local
300 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_dflt_clk_is_enabled() local
Ddpll44xx.c40 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
Dautoidle.c46 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
Dclk-3xxx.c61 static void omap3430es2_clk_ssi_find_idlest(struct clk_hw_omap *clk, in omap3430es2_clk_ssi_find_idlest()
95 static void omap3430es2_clk_dss_usbhost_find_idlest(struct clk_hw_omap *clk, in omap3430es2_clk_dss_usbhost_find_idlest()
132 static void omap3430es2_clk_hsotgusb_find_idlest(struct clk_hw_omap *clk, in omap3430es2_clk_hsotgusb_find_idlest()
163 static void am35xx_clk_find_idlest(struct clk_hw_omap *clk, in am35xx_clk_find_idlest()
187 static void am35xx_clk_find_companion(struct clk_hw_omap *clk, in am35xx_clk_find_companion()
214 static void am35xx_clk_ipss_find_idlest(struct clk_hw_omap *clk, in am35xx_clk_ipss_find_idlest()
Dclockdomain.c44 struct clk_hw_omap *clk; in omap2_clkops_enable_clkdm() local
83 struct clk_hw_omap *clk; in omap2_clkops_disable_clkdm() local
108 struct clk *clk; in of_ti_clockdomain_setup() local
Dclkt_iclk.c31 void omap2_clkt_iclk_allow_idle(struct clk_hw_omap *clk) in omap2_clkt_iclk_allow_idle()
45 void omap2_clkt_iclk_deny_idle(struct clk_hw_omap *clk) in omap2_clkt_iclk_deny_idle()
70 static void omap2430_clk_i2chs_find_idlest(struct clk_hw_omap *clk, in omap2430_clk_i2chs_find_idlest()
Dclkt_dpll.c70 static int _dpll_test_fint(struct clk_hw_omap *clk, unsigned int n) in _dpll_test_fint()
208 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_init_dpll_parent() local
241 unsigned long omap2_get_dpll_rate(struct clk_hw_omap *clk) in omap2_get_dpll_rate()
288 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_dpll_round_rate() local
Dcomposite.c108 static inline struct clk_hw *_get_hw(struct clk_hw_omap_comp *clk, int idx) in _get_hw()
130 struct clk *clk; in ti_clk_register_composite() local
162 struct clk *clk; in _register_composite() local
278 struct component_clk *clk; in ti_clk_add_component() local
Dinterface.c42 struct clk *clk; in _register_interface() local
107 struct clk *clk; in _of_ti_interface_clk_setup() local
Dclk.c106 struct clk *clk; in ti_dt_clocks_register() local
296 struct clk *clk; in ti_clk_register_clk() local
359 struct clk *clk; in ti_clk_register_legacy_clks() local
Dclk-dra7-atl.c44 struct clk *clk; member
173 struct clk *clk; in of_dra7_atl_clock_setup() local
243 struct clk *clk; in of_dra7_atl_clk_probe() local
Dmux.c108 struct clk *clk; in _register_mux() local
181 struct clk *clk; in of_mux_clk_setup() local
Ddpll.c148 struct clk *clk; in _register_dpll() local
199 struct clk *clk; in ti_clk_register_dpll() local
293 struct clk *clk; in _register_dpll_x2() local
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
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()
106 read_div(struct gk104_clk *clk, int doff, u32 dsrc, u32 dctl) in read_div()
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
223 calc_div(struct gk104_clk *clk, int idx, u32 ref, u32 freq, u32 *ddiv) in calc_div()
234 calc_src(struct gk104_clk *clk, int idx, u32 freq, u32 *dsrc, u32 *ddiv) in calc_src()
263 calc_pll(struct gk104_clk *clk, int idx, u32 freq, u32 *coef) in calc_pll()
287 calc_clk(struct gk104_clk *clk, in calc_clk()
[all …]
Dbase.c40 nvkm_clk_adjust(struct nvkm_clk *clk, bool adjust, in nvkm_clk_adjust()
78 nvkm_cstate_prog(struct nvkm_clk *clk, struct nvkm_pstate *pstate, int cstatei) in nvkm_cstate_prog()
138 nvkm_cstate_new(struct nvkm_clk *clk, int idx, struct nvkm_pstate *pstate) in nvkm_cstate_new()
175 nvkm_pstate_prog(struct nvkm_clk *clk, int pstatei) in nvkm_pstate_prog()
206 struct nvkm_clk *clk = container_of(work, typeof(*clk), work); in nvkm_pstate_work() local
241 nvkm_pstate_calc(struct nvkm_clk *clk, bool wait) in nvkm_pstate_calc()
251 nvkm_pstate_info(struct nvkm_clk *clk, struct nvkm_pstate *pstate) in nvkm_pstate_info()
307 nvkm_pstate_new(struct nvkm_clk *clk, int idx) in nvkm_pstate_new()
376 nvkm_clk_ustate_update(struct nvkm_clk *clk, int req) in nvkm_clk_ustate_update()
400 nvkm_clk_nstate(struct nvkm_clk *clk, const char *mode, int arglen) in nvkm_clk_nstate()
[all …]
Dgt215.c43 read_vco(struct gt215_clk *clk, int idx) in read_vco()
61 read_clk(struct gt215_clk *clk, int idx, bool ignore_en) in read_clk()
108 read_pll(struct gt215_clk *clk, int idx, u32 pll) in read_pll()
142 struct gt215_clk *clk = gt215_clk(base); in gt215_clk_read() local
187 struct gt215_clk *clk = gt215_clk(base); in gt215_clk_info() local
235 struct gt215_clk *clk = gt215_clk(base); in gt215_pll_info() local
271 calc_clk(struct gt215_clk *clk, struct nvkm_cstate *cstate, in calc_clk()
282 calc_host(struct gt215_clk *clk, struct nvkm_cstate *cstate) in calc_host()
304 gt215_clk_pre(struct nvkm_clk *clk, unsigned long *flags) in gt215_clk_pre()
339 gt215_clk_post(struct nvkm_clk *clk, unsigned long *flags) in gt215_clk_post()
[all …]
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()
98 read_div(struct gf100_clk *clk, int doff, u32 dsrc, u32 dctl) in read_div()
125 read_clk(struct gf100_clk *clk, int idx) in read_clk()
152 struct gf100_clk *clk = gf100_clk(base); in gf100_clk_read() local
202 calc_div(struct gf100_clk *clk, int idx, u32 ref, u32 freq, u32 *ddiv) in calc_div()
213 calc_src(struct gf100_clk *clk, int idx, u32 freq, u32 *dsrc, u32 *ddiv) in calc_src()
242 calc_pll(struct gf100_clk *clk, int idx, u32 freq, u32 *coef) in calc_pll()
266 calc_clk(struct gf100_clk *clk, struct nvkm_cstate *cstate, int idx, int dom) in calc_clk()
319 struct gf100_clk *clk = gf100_clk(base); in gf100_clk_calc() local
[all …]
Dnv50.c32 read_div(struct nv50_clk *clk) in read_div()
52 read_pll_src(struct nv50_clk *clk, u32 base) in read_pll_src()
125 read_pll_ref(struct nv50_clk *clk, u32 base) in read_pll_ref()
158 read_pll(struct nv50_clk *clk, u32 base) in read_pll()
194 struct nv50_clk *clk = nv50_clk(base); in nv50_clk_read() local
325 calc_pll(struct nv50_clk *clk, u32 reg, u32 idx, int *N, int *M, int *P) in calc_pll()
370 struct nv50_clk *clk = nv50_clk(base); in nv50_clk_calc() local
497 struct nv50_clk *clk = nv50_clk(base); in nv50_clk_prog() local
504 struct nv50_clk *clk = nv50_clk(base); in nv50_clk_tidy() local
512 struct nv50_clk *clk; in nv50_clk_new_() local
Dgk20a.c125 gk20a_pllg_read_mnp(struct gk20a_clk *clk) in gk20a_pllg_read_mnp()
137 gk20a_pllg_calc_rate(struct gk20a_clk *clk) in gk20a_pllg_calc_rate()
150 gk20a_pllg_calc_mnp(struct gk20a_clk *clk, unsigned long rate) in gk20a_pllg_calc_mnp()
268 gk20a_pllg_slide(struct gk20a_clk *clk, u32 n) in gk20a_pllg_slide()
327 _gk20a_pllg_enable(struct gk20a_clk *clk) in _gk20a_pllg_enable()
335 _gk20a_pllg_disable(struct gk20a_clk *clk) in _gk20a_pllg_disable()
343 _gk20a_pllg_program_mnp(struct gk20a_clk *clk, bool allow_slide) in _gk20a_pllg_program_mnp()
431 gk20a_pllg_program_mnp(struct gk20a_clk *clk) in gk20a_pllg_program_mnp()
443 gk20a_pllg_disable(struct gk20a_clk *clk) in gk20a_pllg_disable()
565 struct gk20a_clk *clk = gk20a_clk(base); in gk20a_clk_read() local
[all …]
Dnv40.c40 read_pll_1(struct nv40_clk *clk, u32 reg) in read_pll_1()
56 read_pll_2(struct nv40_clk *clk, u32 reg) in read_pll_2()
82 read_clk(struct nv40_clk *clk, u32 src) in read_clk()
99 struct nv40_clk *clk = nv40_clk(base); in nv40_clk_read() local
124 nv40_clk_calc_pll(struct nv40_clk *clk, u32 reg, u32 khz, in nv40_clk_calc_pll()
148 struct nv40_clk *clk = nv40_clk(base); in nv40_clk_calc() local
188 struct nv40_clk *clk = nv40_clk(base); in nv40_clk_prog() local
223 struct nv40_clk *clk; in nv40_clk_new() local
Dmcp77.c42 read_div(struct mcp77_clk *clk) in read_div()
49 read_pll(struct mcp77_clk *clk, u32 base) in read_pll()
83 struct mcp77_clk *clk = mcp77_clk(base); in mcp77_clk_read() local
165 calc_pll(struct mcp77_clk *clk, u32 reg, in calc_pll()
205 struct mcp77_clk *clk = mcp77_clk(base); in mcp77_clk_calc() local
301 struct mcp77_clk *clk = mcp77_clk(base); in mcp77_clk_prog() local
416 struct mcp77_clk *clk; in mcp77_clk_new() local
Dnv04.c33 int clk, struct nvkm_pll_vals *pv) in nv04_clk_pll_calc()
49 nv04_clk_pll_prog(struct nvkm_clk *clk, u32 reg1, struct nvkm_pll_vals *pv) in nv04_clk_pll_prog()
/linux-4.4.14/arch/unicore32/kernel/
Dclock.c30 struct clk { struct
36 static struct clk clk_ost_clk = { argument
62 struct clk *p, *clk = ERR_PTR(-ENOENT); in clk_get() local
77 void clk_put(struct clk *clk) in clk_put()
82 int clk_enable(struct clk *clk) in clk_enable()
88 void clk_disable(struct clk *clk) in clk_disable()
93 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
136 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
217 int clk_register(struct clk *clk) in clk_register()
228 void clk_unregister(struct clk *clk) in clk_unregister()
/linux-4.4.14/arch/c6x/include/asm/
Dclock.h82 struct clk { struct
89 struct clk *parent; argument
94 unsigned long (*recalc) (struct clk *); argument
95 int (*set_rate) (struct clk *clk, unsigned long rate); argument
96 int (*round_rate) (struct clk *clk, unsigned long rate); argument
Dclkdev.h8 static inline int __clk_get(struct clk *clk) in __clk_get()
13 static inline void __clk_put(struct clk *clk) in __clk_put()
/linux-4.4.14/drivers/clk/ux500/
Dclk-prcmu.c32 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 …]
Dclk-prcc.c38 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
Du8500_of_clk.c24 #define PRCC_SHOW(clk, base, bit) \ argument
26 #define PRCC_PCLK_STORE(clk, base, bit) \ argument
28 #define PRCC_KCLK_STORE(clk, base, bit) \ argument
72 struct clk *clk, *rtc_clk, *twd_clk; in u8500_clk_init() local
Dclk-sysctrl.c39 struct clk_sysctrl *clk = to_clk_sysctrl(hw); in clk_sysctrl_prepare() local
52 struct clk_sysctrl *clk = to_clk_sysctrl(hw); in clk_sysctrl_unprepare() local
61 struct clk_sysctrl *clk = to_clk_sysctrl(hw); in clk_sysctrl_recalc_rate() local
67 struct clk_sysctrl *clk = to_clk_sysctrl(hw); in clk_sysctrl_set_parent() local
97 struct clk_sysctrl *clk = to_clk_sysctrl(hw); in clk_sysctrl_get_parent() local
129 struct clk_sysctrl *clk; in clk_reg_sysctrl() local
/linux-4.4.14/arch/sh/kernel/cpu/sh4/
Dclock-sh4-202.c25 static unsigned long emi_clk_recalc(struct clk *clk) in emi_clk_recalc()
31 static inline int frqcr3_lookup(struct clk *clk, unsigned long rate) in frqcr3_lookup()
53 static unsigned long femi_clk_recalc(struct clk *clk) in femi_clk_recalc()
68 static void shoc_clk_init(struct clk *clk) in shoc_clk_init()
91 static unsigned long shoc_clk_recalc(struct clk *clk) in shoc_clk_recalc()
97 static int shoc_clk_verify_rate(struct clk *clk, unsigned long rate) in shoc_clk_verify_rate()
112 static int shoc_clk_set_rate(struct clk *clk, unsigned long rate) in shoc_clk_set_rate()
159 struct clk *clk; in arch_clk_init() local
Dclock-sh4.c29 static void master_clk_init(struct clk *clk) in master_clk_init()
38 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc()
48 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc()
58 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
/linux-4.4.14/kernel/time/
Dposix-clock.c35 struct posix_clock *clk = fp->private_data; in get_posix_clock() local
47 static void put_posix_clock(struct posix_clock *clk) in put_posix_clock()
55 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_read() local
71 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_poll() local
87 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_fasync() local
103 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_mmap() local
120 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_ioctl() local
138 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_compat_ioctl() local
156 struct posix_clock *clk = in posix_clock_open() local
181 struct posix_clock *clk = fp->private_data; in posix_clock_release() local
[all …]
/linux-4.4.14/arch/m68k/include/asm/
Dmcfclk.h16 struct clk { struct
18 struct clk_ops *clk_ops; argument
24 extern struct clk *mcf_clks[]; argument
/linux-4.4.14/arch/mips/loongson64/lemote-2f/
Dclock.c56 static void propagate_rate(struct clk *clk) in propagate_rate()
70 int clk_enable(struct clk *clk) in clk_enable()
76 void clk_disable(struct clk *clk) in clk_disable()
81 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
87 void clk_put(struct clk *clk) in clk_put()
92 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
126 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
/linux-4.4.14/arch/blackfin/mach-bf609/
Dclock.c89 int clk_enable(struct clk *clk) in clk_enable()
98 void clk_disable(struct clk *clk) in clk_disable()
106 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
115 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
124 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
133 unsigned long vco_get_rate(struct clk *clk) in vco_get_rate()
138 unsigned long pll_get_rate(struct clk *clk) in pll_get_rate()
152 unsigned long pll_round_rate(struct clk *clk, unsigned long rate) in pll_round_rate()
159 int pll_set_rate(struct clk *clk, unsigned long rate) in pll_set_rate()
176 unsigned long cclk_get_rate(struct clk *clk) in cclk_get_rate()
[all …]
/linux-4.4.14/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()
58 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
64 void nuc900_clk_enable(struct clk *clk, int enable) in nuc900_clk_enable()
79 void nuc900_subclk_enable(struct clk *clk, int enable) in nuc900_subclk_enable()
Dclock.h18 struct clk { struct
21 void (*enable)(struct clk *, int enable); argument
Dtime.c80 struct clock_event_device *clk) in nuc900_clockevent_setnextevent()
126 struct clk *clk = clk_get(NULL, "timer0"); in nuc900_clockevents_init() local
150 struct clk *clk = clk_get(NULL, "timer1"); in nuc900_clocksource_init() local
/linux-4.4.14/drivers/clk/mmp/
Dclk.c30 struct clk *clk; in mmp_register_fixed_rate_clks() local
51 struct clk *clk; in mmp_register_fixed_factor_clks() local
73 struct clk *clk; in mmp_register_general_gate_clks() local
99 struct clk *clk; in mmp_register_gate_clks() local
127 struct clk *clk; in mmp_register_mux_clks() local
155 struct clk *clk; in mmp_register_div_clks() local
179 struct clk *clk) in mmp_clk_add()
Dclk-apmu.c20 #define to_clk_apmu(clk) (container_of(clk, struct clk_apmu, clk)) argument
72 struct clk *clk; in mmp_clk_register_apmu() local
/linux-4.4.14/arch/sh/kernel/cpu/sh4a/
Dclock-sh7780.c25 static void master_clk_init(struct clk *clk) in master_clk_init()
34 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc()
44 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc()
54 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
77 static unsigned long shyway_clk_recalc(struct clk *clk) in shyway_clk_recalc()
107 struct clk *clk; in arch_clk_init() local
Dclock-sh7763.c25 static void master_clk_init(struct clk *clk) in master_clk_init()
34 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc()
44 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc()
71 static unsigned long shyway_clk_recalc(struct clk *clk) in shyway_clk_recalc()
101 struct clk *clk; in arch_clk_init() local
Dclock-sh7770.c22 static void master_clk_init(struct clk *clk) in master_clk_init()
31 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc()
41 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc()
51 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
Dclock-sh7724.c59 static unsigned long fll_recalc(struct clk *clk) in fll_recalc()
83 static unsigned long pll_recalc(struct clk *clk) in pll_recalc()
103 static unsigned long div3_recalc(struct clk *clk) in div3_recalc()
138 static void div4_kick(struct clk *clk) in div4_kick()
/linux-4.4.14/drivers/clk/hisilicon/
Dclk.c78 struct clk *clk; in hisi_clk_register_fixed_rate() local
99 struct clk *clk; in hisi_clk_register_fixed_factor() local
119 struct clk *clk; in hisi_clk_register_mux() local
148 struct clk *clk; in hisi_clk_register_divider() local
177 struct clk *clk; in hisi_clk_register_gate() local
205 struct clk *clk; in hisi_clk_register_gate_sep() local
233 struct clk *clk; in hi6220_clk_register_divider() local
Dclk-hix5hd2.c174 struct hix5hd2_clk_complex *clk = to_complex_clk(hw); in clk_ether_prepare() local
203 struct hix5hd2_clk_complex *clk = to_complex_clk(hw); in clk_ether_unprepare() local
218 struct hix5hd2_clk_complex *clk = to_complex_clk(hw); in clk_complex_enable() local
236 struct hix5hd2_clk_complex *clk = to_complex_clk(hw); in clk_complex_disable() local
264 struct clk *clk; in hix5hd2_clk_register_complex() local
/linux-4.4.14/drivers/clk/
Dclk-scpi.c35 #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 int __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
154 struct clk *clk; in scpi_clk_ops_init() local
182 struct scpi_clk **clk; member
Dclkdev.c35 struct clk *clk; in __of_clk_get() local
62 struct clk *clk = ERR_PTR(-ENOENT); in __of_clk_get_by_name() local
172 struct clk *clk = NULL; in clk_get_sys() local
200 struct clk *clk; in clk_get() local
212 void clk_put(struct clk *clk) in clk_put()
291 clkdev_alloc(struct clk *clk, const char *con_id, const char *dev_fmt, ...) in clkdev_alloc()
313 struct clk_lookup *clkdev_create(struct clk *clk, const char *con_id, in clkdev_create()
370 int clk_register_clkdev(struct clk *clk, const char *con_id, in clk_register_clkdev()
398 int clk_register_clkdevs(struct clk *clk, struct clk_lookup *cl, size_t num) in clk_register_clkdevs()
Dclk.c81 struct clk { struct
82 struct clk_core *core; argument
87 struct hlist_node clks_node; argument
275 const char *__clk_get_name(const struct clk *clk) in __clk_get_name()
287 struct clk_hw *__clk_get_hw(struct clk *clk) in __clk_get_hw()
373 unsigned int __clk_get_enable_count(struct clk *clk) in __clk_get_enable_count()
413 unsigned long __clk_get_flags(struct clk *clk) in __clk_get_flags()
435 bool __clk_is_enabled(struct clk *clk) in __clk_is_enabled()
603 void clk_unprepare(struct clk *clk) in clk_unprepare()
658 int clk_prepare(struct clk *clk) in clk_prepare()
[all …]
Dclk-gpio.c38 struct clk_gpio *clk = to_clk_gpio(hw); in clk_gpio_gate_enable() local
47 struct clk_gpio *clk = to_clk_gpio(hw); in clk_gpio_gate_disable() local
54 struct clk_gpio *clk = to_clk_gpio(hw); in clk_gpio_gate_is_enabled() local
76 struct clk_gpio *clk = to_clk_gpio(hw); in clk_gpio_mux_get_parent() local
83 struct clk_gpio *clk = to_clk_gpio(hw); in clk_gpio_mux_set_parent() local
103 struct clk *clk; in clk_register_gpio() local
216 struct clk *clk; member
226 struct clk *clk; in of_clk_gpio_delayed_register_get() local
Dclk.h30 static inline void __clk_free_clk(struct clk *clk) { } in __clk_free_clk()
31 static struct clk_hw *__clk_get_hw(struct clk *clk) in __clk_get_hw()
Dclk-nspire.c45 static void nspire_clkinfo_cx(u32 val, struct nspire_clk_info *clk) in nspire_clkinfo_cx()
56 static void nspire_clkinfo_classic(u32 val, struct nspire_clk_info *clk) in nspire_clkinfo_classic()
72 struct clk *clk; in nspire_ahbdiv_setup() local
114 struct clk *clk; in nspire_clk_setup() local
Dclk-devres.c19 struct clk **ptr, *clk; in devm_clk_get() local
47 void devm_clk_put(struct device *dev, struct clk *clk) in devm_clk_put()
Dclk-moxart.c22 struct clk *clk, *ref_clk; in moxart_of_pll_clk_init() local
60 struct clk *clk, *pll_clk; in moxart_of_apb_clk_init() local
Dclk-conf.c21 struct clk *clk, *pclk; in __set_clk_parents() local
83 struct clk *clk; in __set_clk_rates() local
Dclk-ls1x.c57 struct clk *clk; in clk_register_pll() local
89 struct clk *clk; in ls1x_clk_init() local
Dclk-fixed-rate.c64 struct clk *clk; in clk_register_fixed_rate_with_accuracy() local
115 struct clk *clk; in of_fixed_clk_setup() local
Dclk-gate.c131 struct clk *clk; in clk_register_gate() local
168 void clk_unregister_gate(struct clk *clk) in clk_unregister_gate()
Dclk-fixed-factor.c79 struct clk *clk; in clk_register_fixed_factor() local
111 struct clk *clk; in of_fixed_factor_clk_setup() local
Dclk-qoriq.c38 struct clk *clk; member
707 struct clk *clk; in create_mux_common() local
852 struct clk *clk; in core_mux_init() local
884 struct clk *clk; in sysclk_from_parent() local
905 struct clk *clk; in create_sysclk() local
929 struct clk *clk; in sysclk_init() local
994 struct clk *clk; in create_one_pll() local
1098 struct clk *clk; in clockgen_clk_get() local
Dclk-nomadik.c260 struct clk *clk; in pll_clk_register() local
352 struct clk *clk; in src_clk_register() local
511 struct clk *clk = ERR_PTR(-EINVAL); in of_nomadik_pll_setup() local
534 struct clk *clk = ERR_PTR(-EINVAL); in of_nomadik_hclk_setup() local
558 struct clk *clk = ERR_PTR(-EINVAL); in of_nomadik_src_clk_setup() local
Dclk-mux.c126 struct clk *clk; in clk_register_mux_table() local
186 void clk_unregister_mux(struct clk *clk) in clk_unregister_mux()
Dclk-efm32gg.c18 static struct clk *clk[37]; variable
Dclk-xgene.c131 struct clk *clk; in xgene_register_clk_pll() local
166 struct clk *clk; in xgene_pllclk_init() local
403 struct clk *clk; in xgene_register_clk() local
444 struct clk *clk; in xgene_devclk_init() local
/linux-4.4.14/arch/sh/kernel/cpu/sh3/
Dclock-sh7710.c27 static void master_clk_init(struct clk *clk) in master_clk_init()
36 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc()
46 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc()
56 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
Dclock-sh7705.c33 static void master_clk_init(struct clk *clk) in master_clk_init()
42 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc()
52 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc()
62 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
Dclock-sh7706.c25 static void master_clk_init(struct clk *clk) in master_clk_init()
37 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc()
49 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc()
61 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
Dclock-sh7709.c25 static void master_clk_init(struct clk *clk) in master_clk_init()
37 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc()
49 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc()
62 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
Dclock-sh3.c29 static void master_clk_init(struct clk *clk) in master_clk_init()
41 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc()
53 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc()
65 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
Dclock-sh7712.c24 static void master_clk_init(struct clk *clk) in master_clk_init()
36 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc()
48 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
/linux-4.4.14/drivers/clocksource/
Darm_arch_timer.c80 struct clock_event_device *clk) in arch_timer_reg_write()
109 struct clock_event_device *clk) in arch_timer_reg_read()
185 struct clock_event_device *clk) in timer_shutdown()
196 static int arch_timer_shutdown_virt(struct clock_event_device *clk) in arch_timer_shutdown_virt()
201 static int arch_timer_shutdown_phys(struct clock_event_device *clk) in arch_timer_shutdown_phys()
206 static int arch_timer_shutdown_virt_mem(struct clock_event_device *clk) in arch_timer_shutdown_virt_mem()
211 static int arch_timer_shutdown_phys_mem(struct clock_event_device *clk) in arch_timer_shutdown_phys_mem()
217 struct clock_event_device *clk) in set_next_event()
228 struct clock_event_device *clk) in arch_timer_set_next_event_virt()
235 struct clock_event_device *clk) in arch_timer_set_next_event_phys()
[all …]
Dtimer-sp804.c37 static long __init sp804_get_clock_rate(struct clk *clk) in sp804_get_clock_rate()
82 struct clk *clk, in __sp804_clocksource_and_sched_clock_init()
189 void __init __sp804_clockevents_init(void __iomem *base, unsigned int irq, struct clk *clk, const c… in __sp804_clockevents_init()
280 struct clk *clk; in integrator_cp_of_init() local
Dmtk_timer.c113 static int mtk_clkevt_shutdown(struct clock_event_device *clk) in mtk_clkevt_shutdown()
119 static int mtk_clkevt_set_periodic(struct clock_event_device *clk) in mtk_clkevt_set_periodic()
130 struct clock_event_device *clk) in mtk_clkevt_next_event()
187 struct clk *clk; in mtk_timer_init() local
Dclksrc_st_lpc.c30 struct clk *clk; member
71 struct clk *clk; in st_clksrc_setup_clk() local
Dtimer-sun5i.c42 struct clk *clk; member
187 struct clk *clk, int irq) in sun5i_setup_clocksource()
259 struct clk *clk, int irq) in sun5i_setup_clockevent()
330 struct clk *clk; in sun5i_timer_init() local
Dtime-armada-370-xp.c334 struct clk *clk = of_clk_get_by_name(np, "fixed"); in armada_xp_timer_init() local
348 struct clk *clk; in armada_375_timer_init() local
376 struct clk *clk = of_clk_get(np, 0); in armada_370_timer_init() local
Dtime-lpc32xx.c123 struct clk *clk; in lpc32xx_clocksource_init() local
182 struct clk *clk; in lpc32xx_clockevent_init() local
Dpxa_timer.c172 struct clk *clk; in pxa_timer_dt_init() local
204 struct clk *clk; in pxa_timer_nodt_init() local
/linux-4.4.14/arch/sh/kernel/cpu/sh2a/
Dclock-sh7206.c27 static void master_clk_init(struct clk *clk) in master_clk_init()
36 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc()
46 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc()
55 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
Dclock-sh7201.c27 static void master_clk_init(struct clk *clk) in master_clk_init()
37 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc()
47 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc()
57 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
Dclock-sh7203.c30 static void master_clk_init(struct clk *clk) in master_clk_init()
39 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc()
49 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc()
Dclock-sh7269.c41 static unsigned long pll_recalc(struct clk *clk) in pll_recalc()
56 static unsigned long peripheral0_recalc(struct clk *clk) in peripheral0_recalc()
71 static unsigned long peripheral1_recalc(struct clk *clk) in peripheral1_recalc()
/linux-4.4.14/drivers/clk/pistachio/
Dclk.c64 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.4.14/arch/sh/kernel/cpu/sh5/
Dclock-sh5.c25 static void master_clk_init(struct clk *clk) in master_clk_init()
35 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc()
45 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc()
55 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
/linux-4.4.14/drivers/clk/meson/
Dclkc.c43 static void meson_clk_add_lookup(struct clk *clk, unsigned int id) in meson_clk_add_lookup()
53 struct clk *clk; in meson_clk_register_composite() local
132 struct clk *clk; in meson_clk_register_fixed_factor() local
174 struct clk *clk; in meson_clk_register_fixed_rate() local
205 struct clk *clk = NULL; in meson_clk_register_clks() local
/linux-4.4.14/arch/mips/lantiq/xway/
Dclk.c59 unsigned long clk; in ltq_danube_pp32_hz() local
107 unsigned long clk; in ltq_vr9_cpu_hz() local
147 unsigned long clk; in ltq_vr9_fpi_hz() local
180 unsigned long clk; in ltq_vr9_pp32_hz() local
252 unsigned long clk; in ltq_ar10_pp32_hz() local
336 unsigned long clk; in ltq_grx390_pp32_hz() local
Dsysctrl.c196 static int cgu_enable(struct clk *clk) in cgu_enable()
203 static void cgu_disable(struct clk *clk) in cgu_disable()
209 static int pmu_enable(struct clk *clk) in pmu_enable()
235 static void pmu_disable(struct clk *clk) in pmu_disable()
258 static int pci_enable(struct clk *clk) in pci_enable()
282 static int pci_ext_enable(struct clk *clk) in pci_ext_enable()
290 static void pci_ext_disable(struct clk *clk) in pci_ext_disable()
307 static int clkout_enable(struct clk *clk) in clkout_enable()
332 struct clk *clk = kzalloc(sizeof(struct clk), GFP_KERNEL); in clkdev_add_pmu() local
355 struct clk *clk = kzalloc(sizeof(struct clk), GFP_KERNEL); in clkdev_add_cgu() local
[all …]
Dgptu.c96 static int gptu_enable(struct clk *clk) in gptu_enable()
113 static void gptu_disable(struct clk *clk) in gptu_disable()
125 struct clk *clk = kzalloc(sizeof(struct clk), GFP_KERNEL); in clkdev_add_gptu() local
138 struct clk *clk; in gptu_probe() local
/linux-4.4.14/drivers/clk/samsung/
Dclk.c96 void samsung_clk_add_lookup(struct samsung_clk_provider *ctx, struct clk *clk, in samsung_clk_add_lookup()
108 struct clk *clk; in samsung_clk_register_alias() local
142 struct clk *clk; in samsung_clk_register_fixed_rate() local
171 struct clk *clk; in samsung_clk_register_fixed_factor() local
192 struct clk *clk; in samsung_clk_register_mux() local
224 struct clk *clk; in samsung_clk_register_div() local
263 struct clk *clk; in samsung_clk_register_gate() local
313 struct clk *clk; in _get_rate() local
/linux-4.4.14/drivers/clk/rockchip/
Dclk.c49 struct clk *clk; in rockchip_clk_register_branch() local
118 struct clk *clk; in rockchip_clk_register_frac_branch() local
192 void rockchip_clk_add_lookup(struct clk *clk, unsigned int id) in rockchip_clk_add_lookup()
201 struct clk *clk; in rockchip_clk_register_plls() local
225 struct clk *clk = NULL; in rockchip_clk_register_branches() local
322 struct clk *clk; in rockchip_clk_register_armclk() local
343 struct clk *clk = __clk_lookup(clocks[i]); in rockchip_clk_protect_critical() local
/linux-4.4.14/arch/mips/lantiq/falcon/
Dsysctrl.c82 static inline void sysctl_wait(struct clk *clk, in sysctl_wait()
95 static int sysctl_activate(struct clk *clk) in sysctl_activate()
103 static void sysctl_deactivate(struct clk *clk) in sysctl_deactivate()
110 static int sysctl_clken(struct clk *clk) in sysctl_clken()
118 static void sysctl_clkdis(struct clk *clk) in sysctl_clkdis()
124 static void sysctl_reboot(struct clk *clk) in sysctl_reboot()
170 struct clk *clk = kzalloc(sizeof(struct clk), GFP_KERNEL); in clkdev_add_sys() local
/linux-4.4.14/drivers/clk/mediatek/
Dclk-mtk.c56 struct clk *clk; in mtk_clk_register_fixed_clks() local
79 struct clk *clk; in mtk_clk_register_factors() local
103 struct clk *clk; in mtk_clk_register_gates() local
141 struct clk *clk; in mtk_clk_register_composite() local
227 struct clk *clk; in mtk_clk_register_composites() local
/linux-4.4.14/arch/sh/kernel/cpu/sh2/
Dclock-sh7619.c26 static void master_clk_init(struct clk *clk) in master_clk_init()
35 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc()
45 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc()
/linux-4.4.14/drivers/clk/zynq/
Dpll.c86 struct zynq_pll *clk = to_zynq_pll(hw); in zynq_pll_recalc_rate() local
111 struct zynq_pll *clk = to_zynq_pll(hw); in zynq_pll_is_enabled() local
131 struct zynq_pll *clk = to_zynq_pll(hw); in zynq_pll_enable() local
161 struct zynq_pll *clk = to_zynq_pll(hw); in zynq_pll_disable() local
201 struct clk *clk; in clk_register_zynq_pll() local
/linux-4.4.14/drivers/clk/sunxi/
Dclk-sun6i-ar100.c39 struct ar100_clk *clk = to_ar100_clk(hw); in ar100_recalc_rate() local
118 struct ar100_clk *clk = to_ar100_clk(hw); in ar100_set_parent() local
133 struct ar100_clk *clk = to_ar100_clk(hw); in ar100_get_parent() local
142 struct ar100_clk *clk = to_ar100_clk(hw); in ar100_set_rate() local
183 struct clk *clk; in sun6i_a31_ar100_clk_probe() local
Dclk-a10-codec.c25 struct clk *clk; in sun4i_codec_clk_setup() local
Dclk-a10-hosc.c28 struct clk *clk; in sun4i_osc_clk_setup() local
/linux-4.4.14/drivers/clk/bcm/
Dclk-iproc-pll.c243 static int pll_set_rate(struct iproc_clk *clk, unsigned int rate_index, in pll_set_rate()
344 struct iproc_clk *clk = to_iproc_clk(hw); in iproc_pll_enable() local
352 struct iproc_clk *clk = to_iproc_clk(hw); in iproc_pll_disable() local
365 struct iproc_clk *clk = to_iproc_clk(hw); in iproc_pll_recalc_rate() local
416 struct iproc_clk *clk = to_iproc_clk(hw); in iproc_pll_round_rate() local
436 struct iproc_clk *clk = to_iproc_clk(hw); in iproc_pll_set_rate() local
458 struct iproc_clk *clk = to_iproc_clk(hw); in iproc_clk_enable() local
478 struct iproc_clk *clk = to_iproc_clk(hw); in iproc_clk_disable() local
494 struct iproc_clk *clk = to_iproc_clk(hw); in iproc_clk_recalc_rate() local
537 struct iproc_clk *clk = to_iproc_clk(hw); in iproc_clk_set_rate() local
[all …]
Dclk-iproc-asiu.c48 struct iproc_asiu_clk *clk = to_asiu_clk(hw); in iproc_asiu_clk_enable() local
65 struct iproc_asiu_clk *clk = to_asiu_clk(hw); in iproc_asiu_clk_disable() local
81 struct iproc_asiu_clk *clk = to_asiu_clk(hw); in iproc_asiu_clk_recalc_rate() local
132 struct iproc_asiu_clk *clk = to_asiu_clk(hw); in iproc_asiu_clk_set_rate() local
220 struct clk *clk; in iproc_asiu_setup() local
/linux-4.4.14/arch/arm/kernel/
Dsmp_twd.c40 static int twd_shutdown(struct clock_event_device *clk) in twd_shutdown()
46 static int twd_set_oneshot(struct clock_event_device *clk) in twd_set_oneshot()
54 static int twd_set_periodic(struct clock_event_device *clk) in twd_set_periodic()
97 struct clock_event_device *clk = raw_cpu_ptr(twd_evt); in twd_timer_stop() local
274 struct clock_event_device *clk = raw_cpu_ptr(twd_evt); in twd_timer_setup() local
/linux-4.4.14/arch/arm/mach-omap2/
Dclkt2xxx_dpll.c32 static void _allow_idle(struct clk_hw_omap *clk) in _allow_idle()
46 static void _deny_idle(struct clk_hw_omap *clk) in _deny_idle()
Dclkt2xxx_virt_prcm_set.c61 unsigned long omap2_table_mpu_recalc(struct clk_hw *clk, in omap2_table_mpu_recalc()
233 struct clk *clk; in omap2xxx_clkt_vps_init() local
/linux-4.4.14/arch/arm/include/asm/
Dclkdev.h21 #define __clk_get(clk) ({ 1; }) argument
22 #define __clk_put(clk) do { } while (0) argument
/linux-4.4.14/include/asm-generic/
Dclkdev.h21 static inline int __clk_get(struct clk *clk) { return 1; } in __clk_get()
22 static inline void __clk_put(struct clk *clk) { } in __clk_put()
/linux-4.4.14/arch/sh/include/asm/
Dclkdev.h29 #define __clk_put(clk) argument
30 #define __clk_get(clk) ({ 1; }) argument
/linux-4.4.14/arch/sh/kernel/
Dlocaltimer.c35 struct clock_event_device *clk = this_cpu_ptr(&local_clockevent); in local_timer_interrupt() local
44 struct clock_event_device *clk = &per_cpu(local_clockevent, cpu); in local_timer_setup() local
/linux-4.4.14/drivers/clk/at91/
Dclk-slow.c131 struct clk *clk = NULL; in at91_clk_register_slow_osc() local
165 struct clk *clk; in of_at91sam9x5_clk_slow_osc_setup() local
243 struct clk *clk = NULL; in at91_clk_register_slow_rc_osc() local
275 struct clk *clk; in of_at91sam9x5_clk_slow_rc_osc_setup() local
340 struct clk *clk = NULL; in at91_clk_register_sam9x5_slow() local
372 struct clk *clk; in of_at91sam9x5_clk_slow_setup() local
411 struct clk *clk = NULL; in at91_clk_register_sam9260_slow() local
445 struct clk *clk; in of_at91sam9260_clk_slow_setup() local
Dclk-usb.c204 struct clk *clk = NULL; in at91sam9x5_clk_register_usb() local
233 struct clk *clk = NULL; in at91sam9n12_clk_register_usb() local
348 struct clk *clk = NULL; in at91rm9200_clk_register_usb() local
375 struct clk *clk; in of_at91sam9x5_clk_usb_setup() local
398 struct clk *clk; in of_at91sam9n12_clk_usb_setup() local
418 struct clk *clk; in of_at91rm9200_clk_usb_setup() local
Dclk-main.c150 struct clk *clk = NULL; in at91_clk_register_main_osc() local
197 struct clk *clk; in of_at91rm9200_clk_main_osc_setup() local
304 struct clk *clk = NULL; in at91_clk_register_main_rc_osc() local
345 struct clk *clk; in of_at91sam9x5_clk_main_rc_osc_setup() local
435 struct clk *clk = NULL; in at91_clk_register_rm9200_main() local
467 struct clk *clk; in of_at91rm9200_clk_main_setup() local
569 struct clk *clk = NULL; in at91_clk_register_sam9x5_main() local
612 struct clk *clk; in of_at91sam9x5_clk_main_setup() local
Dclk-plldiv.c87 struct clk *clk = NULL; in at91_clk_register_plldiv() local
114 struct clk *clk; in of_at91_clk_plldiv_setup() local
Dclk-utmi.c101 struct clk *clk = NULL; in at91_clk_register_utmi() local
139 struct clk *clk; in of_at91_clk_utmi_setup() local
Dclk-system.c107 struct clk *clk = NULL; in at91_clk_register_system() local
155 struct clk *clk; in of_at91_clk_sys_setup() local
Dclk-smd.c121 struct clk *clk = NULL; in at91sam9x5_clk_register_smd() local
147 struct clk *clk; in of_at91sam9x5_clk_smd_setup() local
/linux-4.4.14/drivers/base/power/
Dclock_ops.c32 struct clk *clk; member
75 struct clk *clk) in __pm_clk_add()
134 int pm_clk_add_clk(struct device *dev, struct clk *clk) in pm_clk_add_clk()
418 struct clk *clk; in enable_clock() local
435 struct clk *clk; in disable_clock() local
/linux-4.4.14/arch/sh/boards/mach-sdk7786/
Dsetup.c167 static int sdk7786_pcie_clk_enable(struct clk *clk) in sdk7786_pcie_clk_enable()
173 static void sdk7786_pcie_clk_disable(struct clk *clk) in sdk7786_pcie_clk_disable()
194 struct clk *clk; in sdk7786_clk_init() local
/linux-4.4.14/drivers/usb/host/
Dohci-platform.c51 int clk, ret, phy_num; in ohci_platform_power_on() local
88 int clk, phy_num; in ohci_platform_power_off() local
120 int err, irq, phy_num, clk = 0; in ohci_platform_probe() local
287 int clk; in ohci_platform_remove() local
Dohci-st.c52 int clk, ret; in st_ohci_platform_power_on() local
104 int clk; in st_ohci_platform_power_off() local
139 int err, irq, clk = 0; in st_ohci_platform_probe() local
248 int clk; in st_ohci_platform_remove() local
Dehci-st.c71 int clk, ret; in st_ehci_platform_power_on() local
122 int clk; in st_ehci_platform_power_off() local
158 int err, irq, clk = 0; in st_ehci_platform_probe() local
266 int clk; in st_ehci_platform_remove() local
Dehci-platform.c83 int clk, ret, phy_num; in ehci_platform_power_on() local
120 int clk, phy_num; in ehci_platform_power_off() local
152 int err, irq, phy_num, clk = 0; in ehci_platform_probe() local
322 int clk; in ehci_platform_remove() local
Dxhci-plat.c84 struct clk *clk; in xhci_plat_probe() local
211 struct clk *clk = xhci->clk; in xhci_plat_remove() local
/linux-4.4.14/drivers/gpu/drm/armada/
Darmada_510.c20 struct clk *clk; in armada510_crtc_init() local
47 struct clk *clk = dcrtc->extclk[0]; in armada510_crtc_compute_clock() local
/linux-4.4.14/arch/mips/loongson64/common/
Dserial.c22 #define PORT(int, clk) \ argument
31 #define PORT_M(int, clk) \ argument
/linux-4.4.14/arch/s390/include/asm/
Dtimex.h76 static inline void get_tod_clock_ext(char *clk) in get_tod_clock_ext()
85 unsigned char clk[STORE_CLOCK_EXT_SIZE]; in get_tod_clock() local
94 unsigned long long clk; in get_tod_clock_fast() local
/linux-4.4.14/drivers/clk/sirf/
Dclk-common.c78 struct clk_pll *clk = to_pllclk(hw); in pll_clk_recalc_rate() local
130 struct clk_pll *clk = to_pllclk(hw); in pll_clk_set_rate() local
255 static void usb_pll_clk_disable(struct clk_hw *clk) in usb_pll_clk_disable()
299 struct clk_dmn *clk = to_dmnclk(hw); in dmn_clk_get_parent() local
313 struct clk_dmn *clk = to_dmnclk(hw); in dmn_clk_set_parent() local
334 struct clk_dmn *clk = to_dmnclk(hw); in dmn_clk_recalc_rate() local
376 struct clk_dmn *clk = to_dmnclk(hw); in dmn_clk_set_rate() local
636 struct clk_std *clk = to_stdclk(hw); in std_clk_is_enabled() local
649 struct clk_std *clk = to_stdclk(hw); in std_clk_enable() local
666 struct clk_std *clk = to_stdclk(hw); in std_clk_disable() local
Dclk-atlas7.c357 struct clk_pll *clk = to_pllclk(hw); in pll_clk_recalc_rate() local
489 struct clk_dto *clk = to_dtoclk(hw); in dto_clk_is_enabled() local
500 struct clk_dto *clk = to_dtoclk(hw); in dto_clk_enable() local
512 struct clk_dto *clk = to_dtoclk(hw); in dto_clk_disable() local
524 struct clk_dto *clk = to_dtoclk(hw); in dto_clk_recalc_rate() local
554 struct clk_dto *clk = to_dtoclk(hw); in dto_clk_set_rate() local
565 struct clk_dto *clk = to_dtoclk(hw); in dto_clk_get_parent() local
575 struct clk_dto *clk = to_dtoclk(hw); in dto_clk_set_parent() local
1206 struct clk_unit *clk = to_unitclk(hw); in unit_clk_is_enabled() local
1217 struct clk_unit *clk = to_unitclk(hw); in unit_clk_enable() local
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dctrl.c39 struct nvkm_clk *clk = ctrl->device->clk; in nvkm_control_mthd_pstate_info() local
72 struct nvkm_clk *clk = ctrl->device->clk; in nvkm_control_mthd_pstate_attr() local
145 struct nvkm_clk *clk = ctrl->device->clk; in nvkm_control_mthd_pstate_user() local
/linux-4.4.14/arch/sh/boards/mach-highlander/
Dsetup.c314 static int ivdr_clk_enable(struct clk *clk) in ivdr_clk_enable()
320 static void ivdr_clk_disable(struct clk *clk) in ivdr_clk_disable()
373 struct clk *clk = r7780rp_clocks[i]; in highlander_setup() local
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dgk20a.c54 struct nvkm_clk *clk = pmu->base.subdev.device->clk; in gk20a_pmu_dvfs_target() local
62 struct nvkm_clk *clk = pmu->base.subdev.device->clk; in gk20a_pmu_dvfs_get_cur_state() local
73 struct nvkm_clk *clk = pmu->base.subdev.device->clk; in gk20a_pmu_dvfs_get_target_state() local
126 struct nvkm_clk *clk = device->clk; in gk20a_pmu_dvfs_work() local
/linux-4.4.14/drivers/clk/tegra/
Dclk-tegra-fixed.c37 struct clk *clk, *osc; in tegra_osc_clk_init() local
85 struct clk *clk; in tegra_fixed_clk_init() local
Dclk-tegra-super-gen4.c57 struct clk *clk; in tegra_sclk_init() local
103 struct clk *clk; in tegra_super_clk_gen4_init() local
Dclk-tegra20.c637 struct clk *clk; in tegra20_pll_init() local
717 struct clk *clk; in tegra20_super_clk_init() local
742 struct clk *clk; in tegra20_audio_clk_init() local
804 struct clk *clk; in tegra20_periph_clk_init() local
879 struct clk *clk; in tegra20_osc_clk_init() local
/linux-4.4.14/drivers/clk/keystone/
Dpll.c131 struct clk *clk; in clk_register_pll() local
166 struct clk *clk; in _of_pll_clk_init() local
257 struct clk *clk; in of_pll_div_clk_init() local
300 struct clk *clk; in of_pll_mux_clk_init() local
/linux-4.4.14/sound/soc/pxa/
Draumfeld.c44 static void set_max9485_clk(char clk) in set_max9485_clk()
91 unsigned int clk = 0; in raumfeld_cs4270_hw_params() local
160 int ret = 0, clk = 0; in raumfeld_ak4104_hw_params() local
/linux-4.4.14/arch/arm/mach-cns3xxx/
Dcore.c116 static int cns3xxx_shutdown(struct clock_event_device *clk) in cns3xxx_shutdown()
122 static int cns3xxx_set_oneshot(struct clock_event_device *clk) in cns3xxx_set_oneshot()
132 static int cns3xxx_set_periodic(struct clock_event_device *clk) in cns3xxx_set_periodic()
/linux-4.4.14/arch/arm/plat-orion/
Dcommon.c29 struct clk *clk) in orion_clkdev_add()
76 static unsigned long __init uart_get_clk_rate(struct clk *clk) in uart_get_clk_rate()
89 struct clk *clk) in uart_complete()
123 struct clk *clk) in orion_uart0_init()
151 struct clk *clk) in orion_uart1_init()
179 struct clk *clk) in orion_uart2_init()
207 struct clk *clk) in orion_uart3_init()
/linux-4.4.14/drivers/clk/imx/
Dclk.c23 struct clk *clk = ERR_PTR(-ENODEV); in imx_obtain_fixed_clock_from_dt() local
43 struct clk *clk; in imx_obtain_fixed_clock() local
Dclk-pllv1.c29 #define to_clk_pllv1(clk) (container_of(clk, struct clk_pllv1, clk)) argument
117 struct clk *clk; in imx_clk_pllv1() local
/linux-4.4.14/drivers/clk/shmobile/
Dclk-emev2.c80 struct clk *clk; in emev2_smu_clkdiv_init() local
98 struct clk *clk; in emev2_smu_gclk_init() local
Dclk-rcar-gen2.c143 struct clk *clk; in cpg_z_clk_register() local
172 struct clk *clk; in cpg_rcan_clk_register() local
215 struct clk *clk; in cpg_adsp_clk_register() local
404 struct clk *clk; in rcar_gen2_cpg_clocks_init() local
/linux-4.4.14/drivers/mtd/nand/
Dorion_nand.c83 struct clk *clk; in orion_nand_probe() local
186 struct clk *clk; in orion_nand_remove() local
/linux-4.4.14/drivers/usb/musb/
Djz4740.c29 struct clk *clk; member
124 struct clk *clk; in jz4740_probe() local
/linux-4.4.14/drivers/char/hw_random/
Dst-rng.c47 struct clk *clk; member
82 struct clk *clk; in st_rng_probe() local
Dbcm63xx-rng.c28 struct clk *clk; member
82 struct clk *clk; in bcm63xx_rng_probe() local
/linux-4.4.14/drivers/acpi/
Dacpi_apd.c49 struct clk *clk; member
60 struct clk *clk = ERR_PTR(-ENODEV); in acpi_apd_setup() local
/linux-4.4.14/drivers/clk/pxa/
Dclk-pxa.c72 const char *dev_id, struct clk *clk) in clkdev_pxa_register()
84 struct clk *clk; in clk_pxa_cken_init() local
/linux-4.4.14/drivers/pcmcia/
Dsa11xx_base.c138 unsigned long clk = clk_get_rate(skt->clk); in sa1100_pcmcia_set_timing() local
223 struct clk *clk; in sa11xx_drv_pcmcia_probe() local
Dpxa2xx_base.c165 static int pxa2xx_pcmcia_set_mcxx(struct soc_pcmcia_socket *skt, unsigned int clk) in pxa2xx_pcmcia_set_mcxx()
181 unsigned long clk = clk_get_rate(skt->clk); in pxa2xx_pcmcia_set_timing() local
285 struct clk *clk; in pxa2xx_drv_pcmcia_probe() local
/linux-4.4.14/drivers/cpufreq/
Dls1x-cpufreq.c25 struct clk *clk; /* CPU clk */ member
142 struct clk *clk; in ls1x_cpufreq_probe() local
/linux-4.4.14/drivers/clk/spear/
Dspear3xx_clock.c143 struct clk *clk; in spear300_clk_init() local
173 struct clk *clk; in spear310_clk_init() local
251 struct clk *clk; in spear320_clk_init() local
392 struct clk *clk, *clk1, *ras_apb_clk; in spear3xx_clk_init() local
/linux-4.4.14/drivers/clk/zte/
Dclk-zx296702.c230 struct clk **clk = topclk; in zx296702_top_clocks_init() local
599 struct clk **clk = lsp0clk; in zx296702_lsp0_clocks_init() local
683 struct clk **clk = lsp1clk; in zx296702_lsp1_clocks_init() local
/linux-4.4.14/arch/mips/xilfpga/
Dtime.c22 struct clk *clk; in plat_time_init() local
/linux-4.4.14/drivers/nvmem/
Drockchip-efuse.c57 struct clk *clk = _context->efuse_clk; in rockchip_efuse_read() local
129 struct clk *clk; in rockchip_efuse_probe() local
/linux-4.4.14/drivers/mfd/
Dintel-lpss.c74 struct clk *clk; member
282 static void intel_lpss_unregister_clock_tree(struct clk *clk) in intel_lpss_unregister_clock_tree()
295 struct clk **clk) in intel_lpss_register_clock_divider()
327 struct clk *clk; in intel_lpss_register_clock() local
/linux-4.4.14/drivers/clk/st/
Dclkgen-mux.c229 struct clk *clk; in clk_register_genamux() local
421 struct clk *clk; in st_of_clkgena_divmux_setup() local
493 struct clk *clk; in st_of_clkgena_prediv_setup() local
633 struct clk *clk; in st_of_clkgen_mux_setup() local
743 struct clk *clk; in st_of_clkgen_vcc_setup() local
/linux-4.4.14/include/linux/platform_data/
Dclk-lpss.h18 struct clk *clk; member
/linux-4.4.14/arch/powerpc/sysdev/qe_lib/
Dusb.c23 int qe_usb_clock_set(enum qe_clock clk, int rate) in qe_usb_clock_set()
/linux-4.4.14/drivers/mmc/host/
Dsdhci-s3c.c187 struct clk *clk = ourhost->clk_bus[best_src]; in sdhci_s3c_set_clock() local
261 struct clk *clk; in sdhci_cmu_get_max_clock() local
283 struct clk *clk; in sdhci_cmu_get_min_clock() local
303 u16 clk = 0; in sdhci_cmu_set_clock() local
/linux-4.4.14/drivers/clk/versatile/
Dclk-realview.c52 struct clk *clk; in realview_clk_init() local
/linux-4.4.14/drivers/clk/x86/
Dclk-lpt.c24 struct clk *clk; in lpt_clk_probe() local
/linux-4.4.14/drivers/media/tuners/
Dfc2580.h40 u32 clk; member
/linux-4.4.14/drivers/tty/serial/
Dof_serial.c31 struct clk *clk; member
67 u32 clk, spd, prop; in of_platform_serial_setup() local
/linux-4.4.14/sound/soc/sh/rcar/
Dadg.c32 struct clk *clk[CLKMAX]; member
356 struct clk *clk; in rsnd_adg_ssi_clk_try_start() local
414 struct clk *clk; in rsnd_adg_get_clkin() local
435 struct clk *clk; in rsnd_adg_get_clkout() local
/linux-4.4.14/arch/microblaze/kernel/cpu/
Dcpuinfo.c118 struct clk *clk; in setup_cpuinfo_clk() local
/linux-4.4.14/drivers/clk/h8300/
Dclk-div.c17 struct clk *clk; in h8300_div_clk_setup() local

123456