/linux-2.6.39/arch/arm/plat-samsung/include/plat/ |
D | sdhci.h | 73 char **clocks; /* set of clock sources */ member 143 s3c_hsmmc0_def_platdata.clocks = s3c2416_hsmmc_clksrcs; in s3c2416_default_sdhci0() 152 s3c_hsmmc1_def_platdata.clocks = s3c2416_hsmmc_clksrcs; in s3c2416_default_sdhci1() 176 s3c_hsmmc0_def_platdata.clocks = s3c64xx_hsmmc_clksrcs; in s3c6400_default_sdhci0() 185 s3c_hsmmc1_def_platdata.clocks = s3c64xx_hsmmc_clksrcs; in s3c6400_default_sdhci1() 194 s3c_hsmmc2_def_platdata.clocks = s3c64xx_hsmmc_clksrcs; in s3c6400_default_sdhci2() 208 s3c_hsmmc0_def_platdata.clocks = s3c64xx_hsmmc_clksrcs; in s3c6410_default_sdhci0() 217 s3c_hsmmc1_def_platdata.clocks = s3c64xx_hsmmc_clksrcs; in s3c6410_default_sdhci1() 226 s3c_hsmmc2_def_platdata.clocks = s3c64xx_hsmmc_clksrcs; in s3c6410_default_sdhci2() 255 s3c_hsmmc0_def_platdata.clocks = s5pc100_hsmmc_clksrcs; in s5pc100_default_sdhci0() [all …]
|
/linux-2.6.39/arch/arm/mach-w90x900/ |
D | clock.c | 66 unsigned int clocks = clk->cken; in nuc900_clk_enable() local 72 clken |= clocks; in nuc900_clk_enable() 74 clken &= ~clocks; in nuc900_clk_enable() 81 unsigned int clocks = clk->cken; in nuc900_subclk_enable() local 87 clken |= clocks; in nuc900_subclk_enable() 89 clken &= ~clocks; in nuc900_subclk_enable()
|
/linux-2.6.39/drivers/ata/ |
D | pata_atp867x.c | 157 unsigned char clocks = clk; in atp867x_get_active_clocks_shifted() local 164 clocks++; in atp867x_get_active_clocks_shifted() 166 switch (clocks) { in atp867x_get_active_clocks_shifted() 168 clocks = 1; in atp867x_get_active_clocks_shifted() 176 clocks = 7; /* 12 clk */ in atp867x_get_active_clocks_shifted() 180 clocks = 0; in atp867x_get_active_clocks_shifted() 185 return clocks << ATP867X_IO_PIOSPD_ACTIVE_SHIFT; in atp867x_get_active_clocks_shifted() 190 unsigned char clocks = clk; in atp867x_get_recover_clocks_shifted() local 192 switch (clocks) { in atp867x_get_recover_clocks_shifted() 194 clocks = 1; in atp867x_get_recover_clocks_shifted() [all …]
|
D | pata_hpt366.c | 213 struct hpt_clock *clocks = ap->host->private_data; in hpt366_set_mode() local 226 while (clocks->xfer_mode) { in hpt366_set_mode() 227 if (clocks->xfer_mode == mode) in hpt366_set_mode() 229 clocks++; in hpt366_set_mode() 231 if (!clocks->xfer_mode) in hpt366_set_mode() 240 reg = ((reg & ~mask) | (clocks->timing & mask)) & ~0xc0000000; in hpt366_set_mode()
|
D | pata_hpt3x2n.c | 45 struct hpt_clock *clocks[3]; member 106 struct hpt_clock *clocks = hpt3x2n_clocks; in hpt3x2n_find_mode() local 108 while (clocks->xfer_speed) { in hpt3x2n_find_mode() 109 if (clocks->xfer_speed == speed) in hpt3x2n_find_mode() 110 return clocks->timing; in hpt3x2n_find_mode() 111 clocks++; in hpt3x2n_find_mode()
|
D | pata_hpt37x.c | 39 struct hpt_clock const *clocks[4]; member 213 struct hpt_clock *clocks = ap->host->private_data; in hpt37x_find_mode() local 215 while (clocks->xfer_speed) { in hpt37x_find_mode() 216 if (clocks->xfer_speed == speed) in hpt37x_find_mode() 217 return clocks->timing; in hpt37x_find_mode() 218 clocks++; in hpt37x_find_mode() 975 if (chip_table->clocks[clock_slot] == NULL || prefer_dpll) { in hpt37x_init_one() 1024 private_data = (void *)chip_table->clocks[clock_slot]; in hpt37x_init_one()
|
/linux-2.6.39/arch/mips/ar7/ |
D | clock.c | 253 struct tnetd7300_clocks *clocks = in tnetd7300_init_clocks() local 258 &clocks->bus, bootcr, AR7_AFE_CLOCK); in tnetd7300_init_clocks() 262 &clocks->cpu, bootcr, AR7_AFE_CLOCK); in tnetd7300_init_clocks() 267 tnetd7300_set_clock(DSP_PLL_SOURCE_SHIFT, &clocks->dsp, in tnetd7300_init_clocks() 270 iounmap(clocks); in tnetd7300_init_clocks() 337 struct tnetd7200_clocks *clocks = in tnetd7200_init_clocks() local 355 tnetd7200_set_clock(dsp_base, &clocks->dsp, in tnetd7200_init_clocks() 364 tnetd7200_set_clock(cpu_base, &clocks->cpu, in tnetd7200_init_clocks() 377 tnetd7200_set_clock(cpu_base, &clocks->cpu, in tnetd7200_init_clocks() 385 tnetd7200_set_clock(dsp_base, &clocks->dsp, in tnetd7200_init_clocks() [all …]
|
/linux-2.6.39/arch/arm/mach-nuc93x/ |
D | clock.c | 64 unsigned int clocks = clk->cken; in nuc93x_clk_enable() local 70 clken |= clocks; in nuc93x_clk_enable() 72 clken &= ~clocks; in nuc93x_clk_enable()
|
/linux-2.6.39/arch/arm/plat-omap/ |
D | clock.c | 27 static LIST_HEAD(clocks); 284 list_add(&clk->node, &clocks); in clk_register() 309 list_for_each_entry(clkp, &clocks, node) { in clk_enable_init_clocks() 330 list_for_each_entry(c, &clocks, node) { in omap_clk_get_by_name() 349 list_for_each_entry(c, &clocks, node) in omap_clk_enable_autoidle_all() 365 list_for_each_entry(c, &clocks, node) in omap_clk_disable_autoidle_all() 444 list_for_each_entry(ck, &clocks, node) { in clk_disable_unused() 549 list_for_each_entry(c, &clocks, node) { in clk_debugfs_init()
|
/linux-2.6.39/drivers/clk/ |
D | clkdev.c | 23 static LIST_HEAD(clocks); 40 list_for_each_entry(p, &clocks, node) { in clk_find() 95 list_add_tail(&cl->node, &clocks); in clkdev_add() 104 list_add_tail(&cl->node, &clocks); in clkdev_add_table()
|
/linux-2.6.39/arch/arm/mach-at91/ |
D | clock.c | 71 static LIST_HEAD(clocks); 239 list_for_each_entry(clk, &clocks, node) { in clk_get() 452 list_for_each_entry(clk, &clocks, node) { in at91_clk_show() 507 list_add_tail(&clk->node, &clocks); in clk_register() 513 list_add_tail(&clk->node, &clocks); in clk_register() 519 list_add_tail(&clk->node, &clocks); in clk_register() 757 list_add_tail(&standard_pmc_clocks[i]->node, &clocks); in at91_clock_init() 760 list_add_tail(&pllb.node, &clocks); in at91_clock_init() 763 list_add_tail(&uhpck.node, &clocks); in at91_clock_init() 766 list_add_tail(&udpck.node, &clocks); in at91_clock_init() [all …]
|
/linux-2.6.39/drivers/mfd/ |
D | asic3.c | 86 struct asic3_clk clocks[ARRAY_SIZE(asic3_clk_init)]; member 642 asic3_clk_enable(asic, &asic->clocks[ASIC3_CLOCK_EX0]); in ds1wm_enable() 643 asic3_clk_enable(asic, &asic->clocks[ASIC3_CLOCK_EX1]); in ds1wm_enable() 644 asic3_clk_enable(asic, &asic->clocks[ASIC3_CLOCK_OWM]); in ds1wm_enable() 668 asic3_clk_disable(asic, &asic->clocks[ASIC3_CLOCK_OWM]); in ds1wm_disable() 669 asic3_clk_disable(asic, &asic->clocks[ASIC3_CLOCK_EX0]); in ds1wm_disable() 670 asic3_clk_disable(asic, &asic->clocks[ASIC3_CLOCK_EX1]); in ds1wm_disable() 731 asic3_clk_enable(asic, &asic->clocks[ASIC3_CLOCK_EX0]); in asic3_mmc_enable() 735 asic3_clk_enable(asic, &asic->clocks[ASIC3_CLOCK_EX1]); in asic3_mmc_enable() 742 asic3_clk_enable(asic, &asic->clocks[ASIC3_CLOCK_SD_HOST]); in asic3_mmc_enable() [all …]
|
/linux-2.6.39/arch/parisc/include/asm/ |
D | delay.h | 22 static __inline__ void __cr16_delay(unsigned long clocks) { in __cr16_delay() argument 33 while ((mfctl(16) - start) < clocks) in __cr16_delay()
|
/linux-2.6.39/Documentation/sound/alsa/soc/ |
D | clocking.txt | 16 Some master clocks (e.g. PLLs and CPU based clocks) are configurable in that 18 power). Other master clocks are fixed at a set frequency (i.e. crystals). 48 audio clocks as it usually gives more accurate sample rates than the CPU.
|
/linux-2.6.39/arch/arm/mach-ns9xxx/ |
D | clock.c | 21 static LIST_HEAD(clocks); 36 list_for_each_entry(p, &clocks, node) { in clk_get() 141 list_add(&clk->node, &clocks); in clk_register() 183 list_for_each_entry(p, &clocks, node) in clk_debugfs_show()
|
/linux-2.6.39/arch/arm/mach-s5p6442/ |
D | init.c | 37 if (!tcfg->clocks) { in s5p6442_common_init_uarts() 38 tcfg->clocks = s5p6442_serial_clocks; in s5p6442_common_init_uarts()
|
/linux-2.6.39/arch/arm/mach-s5pv210/ |
D | init.c | 37 if (!tcfg->clocks) { in s5pv210_common_init_uarts() 38 tcfg->clocks = s5pv210_serial_clocks; in s5pv210_common_init_uarts()
|
/linux-2.6.39/arch/arm/mach-exynos4/ |
D | init.c | 33 if (!tcfg->clocks) { in exynos4_common_init_uarts() 35 tcfg->clocks = exynos4_serial_clocks; in exynos4_common_init_uarts()
|
/linux-2.6.39/arch/arm/mach-tegra/ |
D | clock.c | 63 static LIST_HEAD(clocks); 70 list_for_each_entry(c, &clocks, node) { in tegra_get_clock_by_name() 147 list_add(&c->node, &clocks); in clk_init() 425 list_for_each_entry(c, &clocks, node) in __clk_lock_all_spinlocks() 432 list_for_each_entry_continue_reverse(c, &clocks, node) in __clk_lock_all_spinlocks() 442 list_for_each_entry_reverse(c, &clocks, node) in __clk_unlock_all_spinlocks() 521 list_for_each_entry(child, &clocks, node) { in clock_tree_show_one() 539 list_for_each_entry(c, &clocks, node) in clock_tree_show() 659 list_for_each_entry(c, &clocks, node) { in clk_debugfs_init()
|
/linux-2.6.39/arch/arm/mach-s3c2440/ |
D | mach-rx3715.c | 87 .clocks = rx3715_serial_clocks, 96 .clocks = rx3715_serial_clocks, 106 .clocks = rx3715_serial_clocks,
|
/linux-2.6.39/arch/powerpc/platforms/52xx/ |
D | mpc52xx_gpt.c | 401 u64 clocks; in mpc52xx_gpt_do_start() local 417 clocks = period * (u64)gpt->ipb_freq; in mpc52xx_gpt_do_start() 418 do_div(clocks, 1000000000); /* Scale it down to ns range */ in mpc52xx_gpt_do_start() 421 if (clocks > 0xffffffff) in mpc52xx_gpt_do_start() 436 prescale = (clocks >> 16) + 1; in mpc52xx_gpt_do_start() 437 do_div(clocks, prescale); in mpc52xx_gpt_do_start() 438 if (clocks > 0xffff) { in mpc52xx_gpt_do_start() 440 prescale, clocks); in mpc52xx_gpt_do_start() 452 out_be32(&gpt->regs->count, prescale << 16 | clocks); in mpc52xx_gpt_do_start()
|
/linux-2.6.39/arch/arm/mach-s5p64x0/ |
D | init.c | 49 if (!tcfg->clocks) { in s5p64x0_common_init_uarts() 50 tcfg->clocks = s5p64x0_serial_clocks; in s5p64x0_common_init_uarts()
|
/linux-2.6.39/arch/arm/plat-s3c24xx/ |
D | s3c2410-clock.c | 50 unsigned int clocks = clk->ctrlbit; in s3c2410_clkcon_enable() local 56 clkcon |= clocks; in s3c2410_clkcon_enable() 58 clkcon &= ~clocks; in s3c2410_clkcon_enable()
|
/linux-2.6.39/arch/arm/plat-samsung/ |
D | clock.c | 59 static LIST_HEAD(clocks); 111 list_for_each_entry(p, &clocks, list) { in clk_get() 124 list_for_each_entry(p, &clocks, list) { in clk_get() 355 list_add(&clk->list, &clocks); in s3c24xx_register_clock() 528 list_for_each_entry(c, &clocks, list) { in clk_debugfs_init()
|
/linux-2.6.39/arch/arm/mach-msm/ |
D | clock.c | 32 static LIST_HEAD(clocks); 146 list_add_tail(&clock_tbl[n].clk->list, &clocks); in msm_clock_init() 167 list_for_each_entry(clk, &clocks, list) { in clock_late_init()
|