Searched refs:clk (Results 51 - 75 of 217) sorted by relevance

123456789

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-s3c2440/
H A Dclock.c35 #include <linux/clk.h>
49 static unsigned long s3c2440_camif_upll_round(struct clk *clk, argument
52 unsigned long parent_rate = clk_get_rate(clk->parent);
70 static int s3c2440_camif_upll_setrate(struct clk *clk, unsigned long rate) argument
72 unsigned long parent_rate = clk_get_rate(clk->parent);
75 rate = s3c2440_camif_upll_round(clk, rate);
91 static struct clk s3c2440_clk_cam = {
98 static struct clk s3c2440_clk_cam_upl
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-pnx4008/
H A Di2c.c12 #include <linux/clk.h>
22 struct clk *clk; local
27 clk = clk_get(&pdev->dev, name);
28 if (!IS_ERR(clk)) {
29 clk_set_rate(clk, 1);
30 clk_put(clk);
39 struct clk *clk; local
44 clk
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-s3c2442/
H A Dclock.c35 #include <linux/clk.h>
49 static unsigned long s3c2442_camif_upll_round(struct clk *clk, argument
52 unsigned long parent_rate = clk_get_rate(clk->parent);
75 static int s3c2442_camif_upll_setrate(struct clk *clk, unsigned long rate) argument
77 unsigned long parent_rate = clk_get_rate(clk->parent);
80 rate = s3c2442_camif_upll_round(clk, rate);
102 static struct clk s3c2442_clk_cam = {
109 static struct clk s3c2442_clk_cam_upl
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-at91/
H A Dat91sam9263.c50 static struct clk pioA_clk = {
55 static struct clk pioB_clk = {
60 static struct clk pioCDE_clk = {
65 static struct clk usart0_clk = {
70 static struct clk usart1_clk = {
75 static struct clk usart2_clk = {
80 static struct clk mmc0_clk = {
85 static struct clk mmc1_clk = {
90 static struct clk can_clk = {
95 static struct clk twi_cl
[all...]
H A Dat91rm9200.c50 static struct clk udc_clk = {
55 static struct clk ohci_clk = {
60 static struct clk ether_clk = {
65 static struct clk mmc_clk = {
70 static struct clk twi_clk = {
75 static struct clk usart0_clk = {
80 static struct clk usart1_clk = {
85 static struct clk usart2_clk = {
90 static struct clk usart3_clk = {
95 static struct clk spi_cl
[all...]
H A Dat91sam9260.c62 static struct clk pioA_clk = {
67 static struct clk pioB_clk = {
72 static struct clk pioC_clk = {
77 static struct clk adc_clk = {
82 static struct clk usart0_clk = {
87 static struct clk usart1_clk = {
92 static struct clk usart2_clk = {
97 static struct clk mmc_clk = {
102 static struct clk udc_clk = {
107 static struct clk twi_cl
[all...]
H A Dat91sam9rl.c47 static struct clk pioA_clk = {
52 static struct clk pioB_clk = {
57 static struct clk pioC_clk = {
62 static struct clk pioD_clk = {
67 static struct clk usart0_clk = {
72 static struct clk usart1_clk = {
77 static struct clk usart2_clk = {
82 static struct clk usart3_clk = {
87 static struct clk mmc_clk = {
92 static struct clk twi0_cl
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/kernel/timers/
H A Dtimer-tmu.c117 static void tmu0_clk_init(struct clk *clk) argument
121 clk->rate = clk->parent->rate / (4 << (divisor << 1));
124 static void tmu0_clk_recalc(struct clk *clk) argument
127 clk->rate = clk->parent->rate / (4 << (divisor << 1));
135 static struct clk tmu0_clk = {
140 static void tmu1_clk_init(struct clk *cl argument
147 tmu1_clk_recalc(struct clk *clk) argument
[all...]
H A Dtimer-cmt.c122 static void cmt_clk_init(struct clk *clk) argument
127 clk->parent = clk_get(NULL, "module_clk");
128 clk->rate = clk->parent->rate / (8 << (divisor << 1));
131 static void cmt_clk_recalc(struct clk *clk) argument
134 clk->rate = clk->parent->rate / (8 << (divisor << 1));
142 static struct clk cmt0_cl
[all...]
H A Dtimer-mtu2.c119 static void mtu2_clk_init(struct clk *clk) argument
123 clk->rate = clk->parent->rate / divisors[idx];
129 static void mtu2_clk_recalc(struct clk *clk) argument
132 clk->rate = clk->parent->rate / divisors[idx];
140 static struct clk mtu2_clk1 = {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/avr32/mach-at32ap/
H A Dat32ap7000.c8 #include <linux/clk.h>
82 static struct clk devname##_##_name = { \
97 static unsigned long osc_get_rate(struct clk *clk) argument
99 return at32ap7000_osc_rates[clk->index];
102 static unsigned long pll_get_rate(struct clk *clk, unsigned long control) argument
112 rate = clk->parent->get_rate(clk->parent);
119 static unsigned long pll0_get_rate(struct clk *cl argument
128 pll1_get_rate(struct clk *clk) argument
182 bus_clk_get_rate(struct clk *clk, unsigned int shift) argument
187 cpu_clk_mode(struct clk *clk, int enabled) argument
203 cpu_clk_get_rate(struct clk *clk) argument
214 hsb_clk_mode(struct clk *clk, int enabled) argument
230 hsb_clk_get_rate(struct clk *clk) argument
241 pba_clk_mode(struct clk *clk, int enabled) argument
257 pba_clk_get_rate(struct clk *clk) argument
268 pbb_clk_mode(struct clk *clk, int enabled) argument
284 pbb_clk_get_rate(struct clk *clk) argument
325 genclk_mode(struct clk *clk, int enabled) argument
337 genclk_get_rate(struct clk *clk) argument
349 genclk_set_rate(struct clk *clk, unsigned long rate, int apply) argument
376 genclk_set_parent(struct clk *clk, struct clk *parent) argument
403 genclk_init_parent(struct clk *clk) argument
1144 struct clk *clk = at32_clock_list[i]; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-omap2/
H A Dprcm.c18 #include <linux/clk.h>
H A Dclock.h20 static void omap2_sys_clk_recalc(struct clk * clk);
21 static void omap2_clksel_recalc(struct clk * clk);
22 static void omap2_followparent_recalc(struct clk * clk);
23 static void omap2_propagate_rate(struct clk * clk);
24 static void omap2_mpu_recalc(struct clk * clk);
[all...]
H A Dserial.c19 #include <linux/clk.h>
26 static struct clk * uart1_ick = NULL;
27 static struct clk * uart1_fck = NULL;
28 static struct clk * uart2_ick = NULL;
29 static struct clk * uart2_fck = NULL;
30 static struct clk * uart3_ick = NULL;
31 static struct clk * uart3_fck = NULL;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/boards/renesas/r7780rp/
H A Dsetup.c98 static void ivdr_clk_enable(struct clk *clk) argument
103 static void ivdr_clk_disable(struct clk *clk) argument
113 static struct clk ivdr_clk = {
118 static struct clk *r7780rp_clocks[] = {
150 struct clk *clk = r7780rp_clocks[i]; local
152 clk_register(clk);
153 clk_enable(clk);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/lasat/
H A Dat93c.h14 u32 clk; member in struct:at93c_defs
H A Dds1603.h14 u32 clk; member in struct:ds_defs
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/soc/pxa/
H A Dpxa2xx-pcm.h27 u32 clk; member in struct:pxa2xx_gpio
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-s3c2410/
H A Dclock.c30 #include <linux/clk.h>
48 int s3c2410_clkcon_enable(struct clk *clk, int enable) argument
50 unsigned int clocks = clk->ctrlbit;
68 static int s3c2410_upll_enable(struct clk *clk, int enable) argument
90 static struct clk init_clocks_disable[] = {
130 static struct clk init_clocks[] = {
215 struct clk *clkp;
216 struct clk *xta
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/serial/
H A Ds3c2410.c74 #include <linux/clk.h>
99 int (*get_clksrc)(struct uart_port *, struct s3c24xx_uart_clksrc *clk);
100 int (*set_clksrc)(struct uart_port *, struct s3c24xx_uart_clksrc *clk);
112 struct clk *clk; member in struct:s3c24xx_uart_port
113 struct clk *baudclk;
544 clk_disable(ourport->clk);
548 clk_enable(ourport->clk);
602 struct clk *src;
629 struct clk **cl
627 s3c24xx_serial_getclk(struct uart_port *port, struct s3c24xx_uart_clksrc **clksrc, struct clk **clk, unsigned int baud) argument
721 struct clk *clk = NULL; local
1147 s3c2400_serial_getsource(struct uart_port *port, struct s3c24xx_uart_clksrc *clk) argument
1156 s3c2400_serial_setsource(struct uart_port *port, struct s3c24xx_uart_clksrc *clk) argument
1240 s3c2410_serial_setsource(struct uart_port *port, struct s3c24xx_uart_clksrc *clk) argument
1254 s3c2410_serial_getsource(struct uart_port *port, struct s3c24xx_uart_clksrc *clk) argument
1343 s3c2440_serial_setsource(struct uart_port *port, struct s3c24xx_uart_clksrc *clk) argument
1368 s3c2440_serial_getsource(struct uart_port *port, struct s3c24xx_uart_clksrc *clk) argument
1506 s3c2412_serial_setsource(struct uart_port *port, struct s3c24xx_uart_clksrc *clk) argument
1529 s3c2412_serial_getsource(struct uart_port *port, struct s3c24xx_uart_clksrc *clk) argument
1719 struct clk *clk; local
[all...]
H A Dof_serial.c28 const unsigned int *clk, *spd; local
33 clk = of_get_property(np, "clock-frequency", NULL);
34 if (!clk) {
50 port->uartclk = *clk;
54 port->custom_divisor = *clk / (16 * (*spd));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/arch-omap/
H A Dsystem.h7 #include <linux/clk.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/plat-omap/
H A Dcpu-omap.c22 #include <linux/clk.h>
40 struct clk * mpu_clk;
61 struct clk * mpu_clk;
80 struct clk * mpu_clk;
102 struct clk * mpu_clk;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/input/serio/
H A Dambakmi.c24 #include <linux/clk.h>
33 struct clk *clk; member in struct:amba_kmi_port
75 ret = clk_enable(kmi->clk);
79 divisor = clk_get_rate(kmi->clk) / 8000000 - 1;
95 clk_disable(kmi->clk);
107 clk_disable(kmi->clk);
146 kmi->clk = clk_get(&dev->dev, "KMIREFCLK");
147 if (IS_ERR(kmi->clk)) {
148 ret = PTR_ERR(kmi->clk);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/plat-s3c24xx/
H A Dtime.c27 #include <linux/clk.h>
183 struct clk *clk; local
196 clk = clk_get(NULL, "timers");
197 if (IS_ERR(clk))
200 clk_enable(clk);
202 pclk = clk_get_rate(clk);

Completed in 105 milliseconds

123456789