Searched refs:clks (Results 1 – 12 of 12) sorted by relevance
/arch/arm/mach-omap2/ |
D | clock.c | 104 const struct clksel *clks; in omap2_init_clksel_parent() local 114 for (clks = clk->clksel; clks->parent && !found; clks++) { in omap2_init_clksel_parent() 115 for (clkr = clks->rates; clkr->div && !found; clkr++) { in omap2_init_clksel_parent() 117 if (clk->parent != clks->parent) { in omap2_init_clksel_parent() 120 clk->name, clks->parent->name, in omap2_init_clksel_parent() 123 clk->parent = clks->parent; in omap2_init_clksel_parent() 411 const struct clksel *clks; in omap2_get_clksel_by_parent() local 416 for (clks = clk->clksel; clks->parent; clks++) { in omap2_get_clksel_by_parent() 417 if (clks->parent == src_clk) in omap2_get_clksel_by_parent() 421 if (!clks->parent) { in omap2_get_clksel_by_parent() [all …]
|
/arch/arm/mach-imx/ |
D | clock.c | 145 static struct clk *clks[] = { variable 204 for (i = 0; i < ARRAY_SIZE(clks); i++) in imx_clocks_init() 205 list_add(&clks[i]->node, &clocks); in imx_clocks_init()
|
/arch/arm/mach-integrator/ |
D | impd1.c | 40 struct clk_lookup *clks[3]; member 382 impd1->clks[0] = clkdev_alloc(&impd1->vcos[0], NULL, "lm%x:01000", in impd1_probe() 384 impd1->clks[1] = clkdev_alloc(&fixed_14745600, NULL, "lm%x:00100", in impd1_probe() 386 impd1->clks[2] = clkdev_alloc(&fixed_14745600, NULL, "lm%x:00200", in impd1_probe() 388 for (i = 0; i < ARRAY_SIZE(impd1->clks); i++) in impd1_probe() 389 clkdev_add(impd1->clks[i]); in impd1_probe() 443 for (i = 0; i < ARRAY_SIZE(impd1->clks); i++) in impd1_remove() 444 clkdev_drop(impd1->clks[i]); in impd1_remove()
|
/arch/arm/mach-pxa/ |
D | clock.c | 82 void clks_register(struct clk_lookup *clks, size_t num) in clks_register() argument 87 clkdev_add(&clks[i]); in clks_register()
|
D | clock.h | 71 void clks_register(struct clk_lookup *clks, size_t num);
|
/arch/arm/plat-omap/ |
D | mcbsp.c | 230 clk_enable(mcbsp->clks[i]); in omap_mcbsp_request() 293 clk_disable(mcbsp->clks[i]); in omap_mcbsp_free() 926 mcbsp->clks = kzalloc(mcbsp->num_clks * sizeof(struct clk *), in omap_mcbsp_probe() 928 if (!mcbsp->clks) { in omap_mcbsp_probe() 933 mcbsp->clks[i] = clk_get(&pdev->dev, pdata->clk_names[i]); in omap_mcbsp_probe() 934 if (IS_ERR(mcbsp->clks[i])) { in omap_mcbsp_probe() 938 ret = PTR_ERR(mcbsp->clks[i]); in omap_mcbsp_probe() 952 clk_put(mcbsp->clks[i]); in omap_mcbsp_probe() 953 kfree(mcbsp->clks); in omap_mcbsp_probe() 974 clk_disable(mcbsp->clks[i]); in omap_mcbsp_remove() [all …]
|
/arch/arm/plat-s3c64xx/ |
D | clock.c | 244 static struct clk *clks[] __initdata = { variable 257 s3c24xx_register_clocks(clks, ARRAY_SIZE(clks)); in s3c64xx_register_clocks()
|
D | s3c6400-clock.c | 619 static struct clk *clks[] __initdata = { variable 646 for (ptr = 0; ptr < ARRAY_SIZE(clks); ptr++) { in s3c6400_register_clocks() 647 clkp = clks[ptr]; in s3c6400_register_clocks()
|
/arch/arm/plat-s3c/ |
D | clock.c | 326 int s3c24xx_register_clocks(struct clk **clks, int nr_clks) in s3c24xx_register_clocks() argument 330 for (; nr_clks > 0; nr_clks--, clks++) { in s3c24xx_register_clocks() 331 if (s3c24xx_register_clock(*clks) < 0) in s3c24xx_register_clocks()
|
/arch/arm/mach-s3c2412/ |
D | clock.c | 671 static struct clk *clks[] __initdata = { variable 694 for (ptr = 0; ptr < ARRAY_SIZE(clks); ptr++) { in s3c2412_baseclk_add() 695 clkp = clks[ptr]; in s3c2412_baseclk_add()
|
/arch/arm/mach-s3c2443/ |
D | clock.c | 979 static struct clk *clks[] __initdata = { variable 1049 for (ptr = 0; ptr < ARRAY_SIZE(clks); ptr++) { in s3c2443_init_clocks() 1050 clkp = clks[ptr]; in s3c2443_init_clocks()
|
/arch/arm/plat-omap/include/mach/ |
D | mcbsp.h | 380 struct clk **clks; member
|