/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/ |
H A D | clk.h | 2 * linux/include/linux/clk.h 22 * struct clk - an machine class defined object / cookie. 24 struct clk; 31 * Returns a struct clk corresponding to the clock producer, or 39 struct clk *clk_get(struct device *dev, const char *id); 43 * @clk: clock source 49 int clk_enable(struct clk *clk); 53 * @clk: clock source 63 void clk_disable(struct clk *cl [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/arch-omap/ |
H A D | clock.h | 18 struct clk { struct 23 struct clk *parent; 31 void (*recalc)(struct clk *); 32 int (*set_rate)(struct clk *, unsigned long); 33 long (*round_rate)(struct clk *, unsigned long); 34 void (*init)(struct clk *); 35 int (*enable)(struct clk *); 36 void (*disable)(struct clk *); 40 int (*clk_enable)(struct clk *clk); [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/plat-s3c24xx/ |
H A D | clock.h | 13 struct clk { struct 16 struct clk *parent; 23 int (*enable)(struct clk *, int enable); 24 int (*set_rate)(struct clk *c, unsigned long rate); 25 unsigned long (*get_rate)(struct clk *c); 26 unsigned long (*round_rate)(struct clk *c, unsigned long rate); 27 int (*set_parent)(struct clk *c, struct clk *parent); 32 extern struct clk s3c24xx_dclk0; 33 extern struct clk s3c24xx_dclk [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/avr32/mach-at32ap/ |
H A D | clock.h | 14 #include <linux/clk.h> 16 struct clk { struct 19 struct clk *parent; /* Parent clock, if any */ 20 void (*mode)(struct clk *clk, int enabled); 21 unsigned long (*get_rate)(struct clk *clk); 22 long (*set_rate)(struct clk *clk, unsigned long rate, 24 int (*set_parent)(struct clk *cl [all...] |
H A D | clock.c | 14 #include <linux/clk.h> 23 struct clk *clk_get(struct device *dev, const char *id) 28 struct clk *clk = at32_clock_list[i]; local 30 if (clk->dev == dev && strcmp(id, clk->name) == 0) 31 return clk; 38 void clk_put(struct clk *clk) argument 44 static void __clk_enable(struct clk *cl argument 52 clk_enable(struct clk *clk) argument 64 __clk_disable(struct clk *clk) argument 78 clk_disable(struct clk *clk) argument 88 clk_get_rate(struct clk *clk) argument 101 clk_round_rate(struct clk *clk, unsigned long rate) argument 116 clk_set_rate(struct clk *clk, unsigned long rate) argument 132 clk_set_parent(struct clk *clk, struct clk *parent) argument 148 clk_get_parent(struct clk *clk) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-aaec2000/ |
H A D | clock.h | 14 struct clk { struct 22 int clk_register(struct clk *clk); 23 void clk_unregister(struct clk *clk);
|
H A D | clock.c | 18 #include <linux/clk.h> 28 struct clk *clk_get(struct device *dev, const char *id) 30 struct clk *p, *clk = ERR_PTR(-ENOENT); local 35 clk = p; 41 return clk; 45 void clk_put(struct clk *clk) argument 47 module_put(clk->owner); 51 int clk_enable(struct clk *cl argument 57 clk_disable(struct clk *clk) argument 62 clk_get_rate(struct clk *clk) argument 68 clk_round_rate(struct clk *clk, unsigned long rate) argument 74 clk_set_rate(struct clk *clk, unsigned long rate) argument 80 clk_register(struct clk *clk) argument 89 clk_unregister(struct clk *clk) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/kernel/cpu/ |
H A D | clock.c | 43 static struct clk master_clk = { 49 static struct clk module_clk = { 55 static struct clk bus_clk = { 61 static struct clk cpu_clk = { 70 static struct clk *onchip_clocks[] = { 77 static void propagate_rate(struct clk *clk) argument 79 struct clk *clkp; 82 if (likely(clkp->parent != clk)) 89 int __clk_enable(struct clk *cl argument 114 clk_enable(struct clk *clk) argument 132 __clk_disable(struct clk *clk) argument 146 clk_disable(struct clk *clk) argument 156 clk_register(struct clk *clk) argument 178 clk_unregister(struct clk *clk) argument 186 clk_get_rate(struct clk *clk) argument 192 clk_set_rate(struct clk *clk, unsigned long rate) argument 198 clk_set_rate_ex(struct clk *clk, unsigned long rate, int algo_id) argument 217 clk_recalc_rate(struct clk *clk) argument 238 struct clk *p, *clk = ERR_PTR(-ENOENT); local 269 clk_put(struct clk *clk) argument 289 struct clk *clk; local 316 struct clk *clk = onchip_clocks[i]; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-integrator/ |
H A D | clock.h | 14 struct clk { struct 21 void (*setvco)(struct clk *, struct icst525_vco vco); 24 int clk_register(struct clk *clk); 25 void clk_unregister(struct clk *clk);
|
H A D | clock.c | 17 #include <linux/clk.h> 28 struct clk *clk_get(struct device *dev, const char *id) 30 struct clk *p, *clk = ERR_PTR(-ENOENT); local 35 clk = p; 41 return clk; 45 void clk_put(struct clk *clk) argument 47 module_put(clk->owner); 51 int clk_enable(struct clk *cl argument 57 clk_disable(struct clk *clk) argument 62 clk_get_rate(struct clk *clk) argument 68 clk_round_rate(struct clk *clk, unsigned long rate) argument 77 clk_set_rate(struct clk *clk, unsigned long rate) argument 109 clk_register(struct clk *clk) argument 118 clk_unregister(struct clk *clk) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-realview/ |
H A D | clock.h | 14 struct clk { struct 21 void (*setvco)(struct clk *, struct icst307_vco vco); 24 int clk_register(struct clk *clk); 25 void clk_unregister(struct clk *clk);
|
H A D | clock.c | 16 #include <linux/clk.h> 27 struct clk *clk_get(struct device *dev, const char *id) 29 struct clk *p, *clk = ERR_PTR(-ENOENT); local 34 clk = p; 40 return clk; 44 void clk_put(struct clk *clk) argument 46 module_put(clk->owner); 50 int clk_enable(struct clk *cl argument 56 clk_disable(struct clk *clk) argument 61 clk_get_rate(struct clk *clk) argument 67 clk_round_rate(struct clk *clk, unsigned long rate) argument 73 clk_set_rate(struct clk *clk, unsigned long rate) argument 111 clk_register(struct clk *clk) argument 120 clk_unregister(struct clk *clk) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-versatile/ |
H A D | clock.h | 14 struct clk { struct 21 void (*setvco)(struct clk *, struct icst307_vco vco); 24 int clk_register(struct clk *clk); 25 void clk_unregister(struct clk *clk);
|
H A D | clock.c | 17 #include <linux/clk.h> 28 struct clk *clk_get(struct device *dev, const char *id) 30 struct clk *p, *clk = ERR_PTR(-ENOENT); local 35 clk = p; 41 return clk; 45 void clk_put(struct clk *clk) argument 47 module_put(clk->owner); 51 int clk_enable(struct clk *cl argument 57 clk_disable(struct clk *clk) argument 62 clk_get_rate(struct clk *clk) argument 68 clk_round_rate(struct clk *clk, unsigned long rate) argument 74 clk_set_rate(struct clk *clk, unsigned long rate) argument 112 clk_register(struct clk *clk) argument 121 clk_unregister(struct clk *clk) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/kernel/cpu/sh4/ |
H A D | clock-sh4-202.c | 24 static void emi_clk_recalc(struct clk *clk) argument 27 clk->rate = clk->parent->rate / frqcr3_divisors[idx]; 30 static inline int frqcr3_lookup(struct clk *clk, unsigned long rate) argument 32 int divisor = clk->parent->rate / rate; 47 static struct clk sh4202_emi_clk = { 53 static void femi_clk_recalc(struct clk *clk) argument 69 shoc_clk_init(struct clk *clk) argument 93 shoc_clk_recalc(struct clk *clk) argument 99 shoc_clk_verify_rate(struct clk *clk, unsigned long rate) argument 114 shoc_clk_set_rate(struct clk *clk, unsigned long rate, int algo_id) argument 155 struct clk *clk = clk_get(NULL, "master_clk"); local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/kernel/cpu/sh4a/ |
H A D | clock-sh7343.c | 27 static void master_clk_init(struct clk *clk) argument 29 clk->parent = clk_get(NULL, "cpu_clk"); 32 static void master_clk_recalc(struct clk *clk) argument 35 clk->rate *= clk->parent->rate * multipliers[idx] / divisors[idx]; 43 static void module_clk_init(struct clk *clk) argument 45 clk 53 bus_clk_init(struct clk *clk) argument 58 bus_clk_recalc(struct clk *clk) argument 69 cpu_clk_init(struct clk *clk) argument 76 cpu_clk_recalc(struct clk *clk) argument [all...] |
H A D | clock-sh7780.c | 23 static void master_clk_init(struct clk *clk) argument 25 clk->rate *= pfc_divisors[ctrl_inl(FRQCR) & 0x0003]; 32 static void module_clk_recalc(struct clk *clk) argument 35 clk->rate = clk->parent->rate / pfc_divisors[idx]; 42 static void bus_clk_recalc(struct clk *clk) argument 45 clk 52 cpu_clk_recalc(struct clk *clk) argument 75 shyway_clk_recalc(struct clk *clk) argument 101 struct clk *clk = clk_get(NULL, "master_clk"); local [all...] |
H A D | clock-sh7785.c | 27 static void master_clk_init(struct clk *clk) argument 29 clk->rate *= 36; 36 static void module_clk_recalc(struct clk *clk) argument 39 clk->rate = clk->parent->rate / pfc_divisors[idx]; 46 static void bus_clk_recalc(struct clk *clk) argument 49 clk 56 cpu_clk_recalc(struct clk *clk) argument 79 shyway_clk_recalc(struct clk *clk) argument 95 ddr_clk_recalc(struct clk *clk) argument 111 ram_clk_recalc(struct clk *clk) argument 139 struct clk *clk = clk_get(NULL, "master_clk"); local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sh/ |
H A D | clock.h | 7 #include <linux/clk.h> 9 struct clk; 12 void (*init)(struct clk *clk); 13 void (*enable)(struct clk *clk); 14 void (*disable)(struct clk *clk); 15 void (*recalc)(struct clk *clk); 19 struct clk { struct [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-lh7a40x/ |
H A D | clocks.c | 19 struct clk { struct 26 // void (*setvco)(struct clk *, struct icst525_vco vco); 29 int clk_register(struct clk *clk); 30 void clk_unregister(struct clk *clk); 85 struct clk *clk_get (struct device *dev, const char *id) 87 struct clk *p; 88 struct clk *clk local 104 clk_put(struct clk *clk) argument 110 clk_enable(struct clk *clk) argument 116 clk_disable(struct clk *clk) argument 121 clk_use(struct clk *clk) argument 127 clk_unuse(struct clk *clk) argument 132 clk_get_rate(struct clk *clk) argument 138 clk_round_rate(struct clk *clk, unsigned long rate) argument 144 clk_set_rate(struct clk *clk, unsigned long rate) argument 157 clk_register(struct clk *clk) argument 166 clk_unregister(struct clk *clk) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-omap1/ |
H A D | clock.c | 20 #include <linux/clk.h> 38 static void omap1_watchdog_recalc(struct clk * clk) argument 40 clk->rate = clk->parent->rate / 14; 43 static void omap1_uart_recalc(struct clk * clk) argument 45 unsigned int val = omap_readl(clk->enable_reg); 46 if (val & clk->enable_bit) 47 clk 52 omap1_clk_enable_dsp_domain(struct clk *clk) argument 65 omap1_clk_disable_dsp_domain(struct clk *clk) argument 73 omap1_clk_enable_uart_functional(struct clk *clk) argument 89 omap1_clk_disable_uart_functional(struct clk *clk) argument 100 omap1_clk_allow_idle(struct clk *clk) argument 111 omap1_clk_deny_idle(struct clk *clk) argument 175 calc_dsor_exp(struct clk *clk, unsigned long rate) argument 210 omap1_ckctl_recalc(struct clk * clk) argument 225 omap1_ckctl_recalc_dsp_domain(struct clk * clk) argument 249 omap1_select_table_rate(struct clk * clk, unsigned long rate) argument 288 omap1_clk_set_rate_dsp_domain(struct clk *clk, unsigned long rate) argument 315 omap1_round_to_table_rate(struct clk * clk, unsigned long rate) argument 363 omap1_set_uart_rate(struct clk * clk, unsigned long rate) argument 381 omap1_set_ext_clk_rate(struct clk * clk, unsigned long rate) argument 399 omap1_round_ext_clk_rate(struct clk * clk, unsigned long rate) argument 404 omap1_init_ext_clk(struct clk * clk) argument 422 omap1_clk_enable(struct clk *clk) argument 449 omap1_clk_disable(struct clk *clk) argument 461 omap1_clk_enable_generic(struct clk *clk) argument 500 omap1_clk_disable_generic(struct clk *clk) argument 531 omap1_clk_round_rate(struct clk *clk, unsigned long rate) argument 553 omap1_clk_set_rate(struct clk *clk, unsigned long rate) argument 589 omap1_clk_disable_unused(struct clk *clk) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-at91/ |
H A D | clock.h | 16 struct clk { struct 22 struct clk *parent; 24 void (*mode)(struct clk *, int); 31 extern int __init clk_register(struct clk *clk);
|
H A D | clock.c | 24 #include <linux/clk.h> 60 static struct clk clk32k = { 67 static struct clk main_clk = { 73 static struct clk plla = { 81 static void pllb_mode(struct clk *clk, int is_on) argument 98 static struct clk pllb = { 107 static void pmc_sys_mode(struct clk *clk, int is_on) argument 110 at91_sys_write(AT91_PMC_SCER, clk 138 pmc_periph_mode(struct clk *clk, int is_on) argument 169 struct clk *clk = clk_get(NULL, id); local 181 struct clk *clk; local 194 clk_put(struct clk *clk) argument 199 __clk_enable(struct clk *clk) argument 207 clk_enable(struct clk *clk) argument 218 __clk_disable(struct clk *clk) argument 227 clk_disable(struct clk *clk) argument 237 clk_get_rate(struct clk *clk) argument 265 clk_round_rate(struct clk *clk, unsigned long rate) argument 287 clk_set_rate(struct clk *clk, unsigned long rate) argument 319 clk_get_parent(struct clk *clk) argument 325 clk_set_parent(struct clk *clk, struct clk *parent) argument 345 init_programmable_clock(struct clk *clk) argument 365 struct clk *clk; local 425 clk_register(struct clk *clk) argument 614 struct clk *clk; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/plat-s3c24xx/ |
H A D | clock.c | 39 #include <linux/clk.h> 59 /* enable and disable calls for use with the clk struct */ 61 static int clk_null_enable(struct clk *clk, int enable) argument 68 struct clk *clk_get(struct device *dev, const char *id) 70 struct clk *p; 71 struct clk *clk = ERR_PTR(-ENOENT); local 85 clk = p; 93 if (IS_ERR(clk)) { 107 clk_put(struct clk *clk) argument 112 clk_enable(struct clk *clk) argument 128 clk_disable(struct clk *clk) argument 143 clk_get_rate(struct clk *clk) argument 160 clk_round_rate(struct clk *clk, unsigned long rate) argument 168 clk_set_rate(struct clk *clk, unsigned long rate) argument 182 clk_get_parent(struct clk *clk) argument 187 clk_set_parent(struct clk *clk, struct clk *parent) argument 269 s3c24xx_dclk_enable(struct clk *clk, int enable) argument 283 s3c24xx_dclk_setparent(struct clk *clk, struct clk *parent) argument 317 s3c24xx_clkout_setparent(struct clk *clk, struct clk *parent) argument 391 s3c24xx_register_clock(struct clk *clk) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/plat-omap/ |
H A D | clock.c | 21 #include <linux/clk.h> 38 static void print_parents(struct clk *clk) argument 40 struct clk *p; 44 if (p->parent == clk && p->usecount) { 45 if (!clk->usecount && !printed) { 46 printk("MISMATCH: %s\n", clk->name); 57 struct clk *p; 72 * Standard clock functions defined in include/linux/clk.h 79 struct clk * clk_ge 81 struct clk *p, *clk = ERR_PTR(-ENOENT); local 113 clk_enable(struct clk *clk) argument 130 clk_disable(struct clk *clk) argument 145 clk_get_usecount(struct clk *clk) argument 161 clk_get_rate(struct clk *clk) argument 177 clk_put(struct clk *clk) argument 188 clk_round_rate(struct clk *clk, unsigned long rate) argument 205 clk_set_rate(struct clk *clk, unsigned long rate) argument 222 clk_set_parent(struct clk *clk, struct clk *parent) argument 239 clk_get_parent(struct clk *clk) argument 281 followparent_recalc(struct clk *clk) argument 307 clk_register(struct clk *clk) argument 322 clk_unregister(struct clk *clk) argument 333 clk_deny_idle(struct clk *clk) argument 347 clk_allow_idle(struct clk *clk) argument [all...] |