/arch/avr32/mach-at32ap/ |
D | clock.h | 20 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
|
D | clock.c | 31 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/ |
D | clock.h | 22 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;
|
D | clock.c | 114 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 …]
|
/arch/mips/bcm63xx/ |
D | clk.c | 19 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/m68k/coldfire/ |
D | clk.c | 30 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/ |
D | clk.c | 19 struct clk { struct 20 struct clk_lookup cl; argument 26 struct clk *clk = kzalloc(sizeof(struct clk), GFP_KERNEL); in ralink_clk_add() local 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
|
/arch/arm/mach-versatile/include/mach/ |
D | clkdev.h | 6 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/arm/mach-sa1100/ |
D | clock.c | 26 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 …]
|
/arch/blackfin/mach-common/ |
D | clock.h | 14 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/ |
D | pll.c | 31 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/ |
D | clock.h | 20 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/ |
D | clock.c | 44 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 …]
|
D | clock.h | 48 #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-mmp/ |
D | clock.c | 19 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/mach-davinci/ |
D | clock.c | 34 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 …]
|
D | clock.h | 87 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
|
/arch/arm/plat-versatile/ |
D | clock.c | 21 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/mips/lantiq/ |
D | clk.c | 62 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() 168 int clk_set_parent(struct clk *clk, struct clk *parent) in clk_set_parent() 192 struct clk *clk; in plat_time_init() local
|
D | clk.h | 60 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
|
/arch/blackfin/include/asm/ |
D | clocks.h | 61 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/ |
D | clock.c | 30 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/m68k/include/asm/ |
D | mcfclk.h | 16 struct clk { struct 18 struct clk_ops *clk_ops; argument 24 extern struct clk *mcf_clks[]; argument
|
/arch/unicore32/kernel/ |
D | clock.c | 30 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()
|
/arch/arm/mach-w90x900/ |
D | clock.c | 32 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()
|