/linux-3.3/arch/arm/mach-u300/ |
D | clock.h | 22 struct clk { struct 27 struct clk *parent; argument 32 __u16 clk_val; argument 39 void (*recalc) (struct clk *); argument 40 int (*set_rate) (struct clk *, unsigned long); argument 41 unsigned long (*get_rate) (struct clk *); argument 42 unsigned long (*round_rate) (struct clk *, unsigned long); argument 43 void (*init) (struct clk *); argument 44 void (*enable) (struct clk *); argument 45 void (*disable) (struct clk *); argument
|
/linux-3.3/arch/arm/mach-pnx4008/ |
D | clock.h | 16 struct clk { struct 18 struct clk *parent; argument 19 struct clk *propagate_next; argument 30 u32(*round_rate) (struct clk *, u32); argument 31 int (*set_rate) (struct clk *, u32); argument 32 int (*set_parent) (struct clk * clk, struct clk * parent); argument 33 int (*enable)(struct clk *); argument 34 void (*disable)(struct clk *); argument
|
D | clock.c | 48 static void propagate_rate(struct clk *clk) in propagate_rate() 59 static void clk_reg_disable(struct clk *clk) in clk_reg_disable() 66 static int clk_reg_enable(struct clk *clk) in clk_reg_enable() 74 static inline void clk_reg_disable1(struct clk *clk) in clk_reg_disable1() 81 static inline void clk_reg_enable1(struct clk *clk) in clk_reg_enable1() 88 static int clk_wait_for_pll_lock(struct clk *clk) in clk_wait_for_pll_lock() 103 static int switch_to_dirty_13mhz(struct clk *clk) in switch_to_dirty_13mhz() 136 static int switch_to_clean_13mhz(struct clk *clk) in switch_to_clean_13mhz() 169 static int set_13MHz_parent(struct clk *clk, struct clk *parent) in set_13MHz_parent() 194 static int pll160_set_rate(struct clk *clk, u32 rate) in pll160_set_rate() [all …]
|
/linux-3.3/arch/arm/plat-mxc/include/mach/ |
D | clock.h | 28 struct clk { struct 30 /* Source clock this clk depends on */ argument 31 struct clk *parent; argument 33 struct clk *secondary; argument 42 unsigned long (*get_rate) (struct clk *); argument 46 int (*set_rate) (struct clk *, unsigned long); argument 49 unsigned long (*round_rate) (struct clk *, unsigned long); argument 52 int (*enable) (struct clk *); argument 55 void (*disable) (struct clk *); argument 57 int (*set_parent) (struct clk *, struct clk *); argument
|
/linux-3.3/arch/arm/mach-mxs/include/mach/ |
D | clock.h | 28 struct clk { struct 30 /* Source clock this clk depends on */ argument 31 struct clk *parent; argument 40 unsigned long (*get_rate) (struct clk *); argument 44 int (*set_rate) (struct clk *, unsigned long); argument 47 unsigned long (*round_rate) (struct clk *, unsigned long); argument 50 int (*enable) (struct clk *); argument 53 void (*disable) (struct clk *); argument 55 int (*set_parent) (struct clk *, struct clk *); argument
|
/linux-3.3/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() 91 static void __clk_disable(struct clk *clk) in __clk_disable() 105 void clk_disable(struct clk *clk) in clk_disable() 115 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() 128 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() [all …]
|
/linux-3.3/arch/arm/plat-samsung/include/plat/ |
D | clock.h | 42 struct clk { struct 45 struct clk *parent; argument 53 struct clk_ops *ops; argument 54 int (*enable)(struct clk *, int enable); argument 55 struct clk_lookup lookup; argument 63 extern struct clk s3c24xx_dclk0; argument
|
/linux-3.3/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;
|
/linux-3.3/arch/arm/mach-omap1/ |
D | clock.c | 40 unsigned long omap1_uart_recalc(struct clk *clk) in omap1_uart_recalc() 46 unsigned long omap1_sossi_recalc(struct clk *clk) in omap1_sossi_recalc() 56 static void omap1_clk_allow_idle(struct clk *clk) in omap1_clk_allow_idle() 67 static void omap1_clk_deny_idle(struct clk *clk) in omap1_clk_deny_idle() 131 static int calc_dsor_exp(struct clk *clk, unsigned long rate) in calc_dsor_exp() 163 unsigned long omap1_ckctl_recalc(struct clk *clk) in omap1_ckctl_recalc() 171 unsigned long omap1_ckctl_recalc_dsp_domain(struct clk *clk) in omap1_ckctl_recalc_dsp_domain() 190 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 …]
|
/linux-3.3/arch/arm/mach-ux500/ |
D | clock.h | 69 struct clk { struct 70 const struct clkops *ops; argument 73 unsigned long (*get_rate)(struct clk *); argument 91 struct clk *parent_cluster; argument 92 struct clk *parent_periph; argument 100 struct clk clk_##_name = { \ argument
|
/linux-3.3/arch/powerpc/platforms/512x/ |
D | clock.c | 38 struct clk { struct 45 void (*calc) (struct clk *); argument 46 struct clk *parent; argument 48 int div_shift; /* only used by generic_div_clk_calc */ argument 54 static struct clk *mpc5121_clk_get(struct device *dev, const char *id) in mpc5121_clk_get() argument 56 struct clk *p, *clk = ERR_PTR(-ENOENT); in mpc5121_clk_get() local 103 static void mpc5121_clk_put(struct clk *clk) in mpc5121_clk_put() 125 static int mpc5121_clk_enable(struct clk *clk) in mpc5121_clk_enable() 137 static void mpc5121_clk_disable(struct clk *clk) in mpc5121_clk_disable() 148 static unsigned long mpc5121_clk_get_rate(struct clk *clk) in mpc5121_clk_get_rate() [all …]
|
/linux-3.3/arch/arm/mach-integrator/include/mach/ |
D | clkdev.h | 7 struct clk { struct 9 const struct clk_ops *ops; argument 16 static inline int __clk_get(struct clk *clk) in __clk_get() 21 static inline void __clk_put(struct clk *clk) in __clk_put()
|
/linux-3.3/arch/arm/mach-mxs/ |
D | clock.c | 50 static void __clk_disable(struct clk *clk) in __clk_disable() 63 static int __clk_enable(struct clk *clk) in __clk_enable() 85 int clk_prepare(struct clk *clk) in clk_prepare() 100 void clk_unprepare(struct clk *clk) in clk_unprepare() 111 int clk_enable(struct clk *clk) in clk_enable() 117 void clk_disable(struct clk *clk) in clk_disable() 128 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() 144 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() 156 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate() 172 int clk_set_parent(struct clk *clk, struct clk *parent) in clk_set_parent() [all …]
|
/linux-3.3/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 …]
|
/linux-3.3/arch/arm/mach-at91/ |
D | clock.h | 18 struct clk { struct 21 struct clk_lookup cl; argument 23 struct clk *parent; argument 25 void (*mode)(struct clk *, int); argument 32 extern int __init clk_register(struct clk *clk); argument
|
/linux-3.3/arch/arm/mach-msm/ |
D | clock.c | 37 int clk_enable(struct clk *clk) in clk_enable() 49 void clk_disable(struct clk *clk) in clk_disable() 61 int clk_reset(struct clk *clk, enum clk_reset_action action) in clk_reset() 67 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() 73 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate() 94 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() 100 int clk_set_min_rate(struct clk *clk, unsigned long rate) in clk_set_min_rate() 106 int clk_set_max_rate(struct clk *clk, unsigned long rate) in clk_set_max_rate() 112 int clk_set_parent(struct clk *clk, struct clk *parent) in clk_set_parent() 118 struct clk *clk_get_parent(struct clk *clk) in clk_get_parent() [all …]
|
/linux-3.3/arch/arm/mach-bcmring/ |
D | clock.h | 24 struct clk { struct 32 struct clk *parent; /* parent clock */ argument
|
/linux-3.3/arch/mips/bcm63xx/ |
D | clk.c | 22 static void clk_enable_unlocked(struct clk *clk) in clk_enable_unlocked() 28 static void clk_disable_unlocked(struct clk *clk) in clk_disable_unlocked() 49 static void enet_misc_set(struct clk *clk, int enable) in enet_misc_set() 73 static void enetx_set(struct clk *clk, int enable) in enetx_set() 104 static void ephy_set(struct clk *clk, int enable) in ephy_set() 119 static void enetsw_set(struct clk *clk, int enable) in enetsw_set() 147 static void pcm_set(struct clk *clk, int enable) in pcm_set() 161 static void usbh_set(struct clk *clk, int enable) in usbh_set() 176 static void spi_set(struct clk *clk, int enable) in spi_set() 197 static void xtm_set(struct clk *clk, int enable) in xtm_set() [all …]
|
/linux-3.3/arch/arm/mach-imx/ |
D | clock-imx31.c | 76 static int cgr_enable(struct clk *clk) in cgr_enable() 90 static void cgr_disable(struct clk *clk) in cgr_disable() 120 static unsigned long usb_pll_get_rate(struct clk *clk) in usb_pll_get_rate() 129 static unsigned long serial_pll_get_rate(struct clk *clk) in serial_pll_get_rate() 138 static unsigned long mcu_pll_get_rate(struct clk *clk) in mcu_pll_get_rate() 152 static int usb_pll_enable(struct clk *clk) in usb_pll_enable() 166 static void usb_pll_disable(struct clk *clk) in usb_pll_disable() 175 static int serial_pll_enable(struct clk *clk) in serial_pll_enable() 189 static void serial_pll_disable(struct clk *clk) in serial_pll_disable() 202 static unsigned long mcu_main_get_rate(struct clk *clk) in mcu_main_get_rate() [all …]
|
D | clock-imx1.c | 66 static int _clk_enable(struct clk *clk) in _clk_enable() 77 static void _clk_disable(struct clk *clk) in _clk_disable() 99 _clk_simple_round_rate(struct clk *clk, unsigned long rate, unsigned int limit) in _clk_simple_round_rate() 116 static unsigned long _clk_parent_round_rate(struct clk *clk, unsigned long rate) in _clk_parent_round_rate() 121 static int _clk_parent_set_rate(struct clk *clk, unsigned long rate) in _clk_parent_set_rate() 126 static unsigned long clk16m_get_rate(struct clk *clk) in clk16m_get_rate() 142 static unsigned long clk32_get_rate(struct clk *clk) in clk32_get_rate() 151 static unsigned long clk32_premult_get_rate(struct clk *clk) in clk32_premult_get_rate() 166 static int prem_clk_set_parent(struct clk *clk, struct clk *parent) in prem_clk_set_parent() 194 static unsigned long system_clk_get_rate(struct clk *clk) in system_clk_get_rate() [all …]
|
/linux-3.3/arch/arm/mach-davinci/ |
D | clock.c | 34 static void __clk_enable(struct clk *clk) in __clk_enable() 43 static void __clk_disable(struct clk *clk) in __clk_disable() 55 int clk_enable(struct clk *clk) in clk_enable() 70 void clk_disable(struct clk *clk) in clk_disable() 83 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() 92 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() 107 struct clk *clk; in propagate_rate() local 116 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate() 139 int clk_set_parent(struct clk *clk, struct clk *parent) in clk_set_parent() 166 int clk_register(struct clk *clk) in clk_register() [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
|
/linux-3.3/arch/mips/lantiq/ |
D | clk.c | 26 struct clk { struct 32 static struct clk *cpu_clk; argument 65 static inline int clk_good(struct clk *clk) in clk_good() 70 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate() 97 void clk_put(struct clk *clk) in clk_put() 103 int clk_enable(struct clk *clk) in clk_enable() 110 void clk_disable(struct clk *clk) in clk_disable() 134 struct clk *clk; in plat_time_init() local
|
/linux-3.3/include/linux/ |
D | sh_clk.h | 33 struct clk { struct 35 struct clk *parent; argument 36 struct clk **parent_table; /* list of parents to */ argument 40 struct clk_ops *ops; argument 56 struct clk_mapping *mapping; argument 63 /* drivers/sh/clk.c */ argument
|