/arch/m68k/coldfire/ |
D | clk.c | 31 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 …]
|
/arch/mips/ralink/ |
D | clk.c | 18 struct clk { struct 19 struct clk_lookup cl; argument 25 struct clk *clk = kzalloc(sizeof(struct clk), GFP_KERNEL); in ralink_clk_add() argument 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
|
/arch/mips/bcm63xx/ |
D | clk.c | 21 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 …]
|
/arch/arm/mach-omap1/ |
D | clock.c | 41 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 …]
|
D | clock.h | 45 #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 …]
|
/arch/c6x/platforms/ |
D | pll.c | 27 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 …]
|
/arch/mips/lantiq/ |
D | clk.c | 61 static inline int clk_good(struct clk *clk) in clk_good() 66 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() 81 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate() 101 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() 118 int clk_enable(struct clk *clk) in clk_enable() 130 void clk_disable(struct clk *clk) in clk_disable() 140 int clk_activate(struct clk *clk) in clk_activate() 152 void clk_deactivate(struct clk *clk) in clk_deactivate() 162 struct clk *clk_get_parent(struct clk *clk) in clk_get_parent() 168 int clk_set_parent(struct clk *clk, struct clk *parent) in clk_set_parent() [all …]
|
D | clk.h | 58 struct clk { struct 59 struct clk_lookup cl; argument 65 int (*enable) (struct clk *clk); argument 66 void (*disable) (struct clk *clk); argument 67 int (*activate) (struct clk *clk); argument 68 void (*deactivate) (struct clk *clk); argument 69 void (*reboot) (struct clk *clk); argument
|
/arch/arm/mach-ep93xx/ |
D | clock.c | 27 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 …]
|
/arch/m68k/include/asm/ |
D | mcfclk.h | 17 struct clk { struct 19 struct clk_ops *clk_ops; argument 25 extern struct clk *mcf_clks[]; argument
|
/arch/sh/kernel/cpu/sh4/ |
D | clock-sh4-202.c | 22 static unsigned long emi_clk_recalc(struct clk *clk) in emi_clk_recalc() 28 static inline int frqcr3_lookup(struct clk *clk, unsigned long rate) in frqcr3_lookup() 50 static unsigned long femi_clk_recalc(struct clk *clk) in femi_clk_recalc() 65 static void shoc_clk_init(struct clk *clk) in shoc_clk_init() 88 static unsigned long shoc_clk_recalc(struct clk *clk) in shoc_clk_recalc() 94 static int shoc_clk_verify_rate(struct clk *clk, unsigned long rate) in shoc_clk_verify_rate() 109 static int shoc_clk_set_rate(struct clk *clk, unsigned long rate) in shoc_clk_set_rate() 156 struct clk *clk; in arch_clk_init() local
|
D | clock-sh4.c | 26 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()
|
/arch/c6x/include/asm/ |
D | clock.h | 79 struct clk { struct 86 struct clk *parent; argument 91 unsigned long (*recalc) (struct clk *); argument 92 int (*set_rate) (struct clk *clk, unsigned long rate); argument 93 int (*round_rate) (struct clk *clk, unsigned long rate); argument
|
/arch/sh/kernel/cpu/sh4a/ |
D | clock-sh7780.c | 22 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() 74 static unsigned long shyway_clk_recalc(struct clk *clk) in shyway_clk_recalc() 104 struct clk *clk; in arch_clk_init() local
|
D | clock-sh7770.c | 19 static void master_clk_init(struct clk *clk) in master_clk_init() 28 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc() 38 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc() 48 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
|
D | clock-sh7763.c | 22 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() 68 static unsigned long shyway_clk_recalc(struct clk *clk) in shyway_clk_recalc() 98 struct clk *clk; in arch_clk_init() local
|
/arch/sh/kernel/cpu/sh3/ |
D | clock-sh7710.c | 24 static void master_clk_init(struct clk *clk) in master_clk_init() 33 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc() 43 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc() 53 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
|
D | clock-sh7705.c | 30 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() 59 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
|
D | clock-sh3.c | 26 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() 50 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()
|
D | clock-sh7709.c | 22 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() 46 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc() 59 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
|
D | clock-sh7706.c | 22 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() 46 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()
|
/arch/sh/kernel/cpu/sh2a/ |
D | clock-sh7206.c | 24 static void master_clk_init(struct clk *clk) in master_clk_init() 33 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc() 43 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc() 52 static unsigned long cpu_clk_recalc(struct clk *clk) in cpu_clk_recalc()
|
D | clock-sh7201.c | 24 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()
|
/arch/arm/mach-omap2/ |
D | clkt2xxx_dpll.c | 29 static void _allow_idle(struct clk_hw_omap *clk) in _allow_idle() 43 static void _deny_idle(struct clk_hw_omap *clk) in _deny_idle()
|
/arch/sh/kernel/cpu/sh2/ |
D | clock-sh7619.c | 23 static void master_clk_init(struct clk *clk) in master_clk_init() 32 static unsigned long module_clk_recalc(struct clk *clk) in module_clk_recalc() 42 static unsigned long bus_clk_recalc(struct clk *clk) in bus_clk_recalc()
|