Searched refs:clocks (Results 1 - 25 of 44) sorted by relevance

12

/arch/parisc/include/asm/
H A Ddelay.h22 static __inline__ void __cr16_delay(unsigned long clocks) { argument
33 while ((mfctl(16) - start) < clocks)
/arch/arm/mach-w90x900/
H A Dclock.c66 unsigned int clocks = clk->cken; local
72 clken |= clocks;
74 clken &= ~clocks;
81 unsigned int clocks = clk->cken; local
87 clken |= clocks;
89 clken &= ~clocks;
/arch/cris/boot/rescue/
H A Dhead_v32.S19 ;; Start clocks for used blocks.
/arch/mips/alchemy/common/
H A DMakefile8 obj-y += prom.o time.o clocks.o platform.o power.o setup.o \
/arch/blackfin/mach-common/
H A DMakefile13 obj-$(CONFIG_BFIN_KERNEL_CLOCK) += clocks-init.o
H A Darch_checks.c11 #include <asm/clocks.h>
H A Dclocks-init.c2 * arch/blackfin/mach-common/clocks-init.c - reprogram clocks / memory
14 #include <asm/clocks.h>
/arch/arm/mach-w90x900/include/mach/
H A Dregs-serial.h52 struct w90x900_uart_clksrc *clocks; member in struct:w90x900_uartcfg
/arch/mips/ar7/
H A Dclock.c253 struct tnetd7300_clocks *clocks = local
258 &clocks->bus, bootcr, AR7_AFE_CLOCK);
262 &clocks->cpu, bootcr, AR7_AFE_CLOCK);
267 tnetd7300_set_clock(DSP_PLL_SOURCE_SHIFT, &clocks->dsp,
270 iounmap(clocks);
337 struct tnetd7200_clocks *clocks = local
355 tnetd7200_set_clock(dsp_base, &clocks->dsp,
364 tnetd7200_set_clock(cpu_base, &clocks->cpu,
377 tnetd7200_set_clock(cpu_base, &clocks->cpu,
385 tnetd7200_set_clock(dsp_base, &clocks
[all...]
/arch/arm/boot/dts/
H A Dat91sam9x5cm.dtsi15 clocks {
H A Dpicoxcell-pc7302-pc3x2.dts29 clocks {
H A Dpicoxcell-pc7302-pc3x3.dts29 clocks {
H A Dat91sam9m10g45ek.dts24 clocks {
H A Dusb_a9g20.dts23 clocks {
/arch/arm/plat-omap/
H A Dclock.c27 static LIST_HEAD(clocks);
195 /* Used for clocks that always have same value as the parent clock */
202 * Used for clocks that have the same value as the parent clock,
238 * recalculate_root_clocks - recalculate and propagate all root clocks
240 * Recalculates all root clocks (clocks with no parent), which if the
273 * trap out already registered clocks
284 list_add(&clk->node, &clocks);
309 list_for_each_entry(clkp, &clocks, node) {
330 list_for_each_entry(c, &clocks, nod
[all...]
/arch/arm/mach-msm/
H A Dclock.c32 static LIST_HEAD(clocks);
135 * generic to support different clocks.
146 list_add_tail(&clock_tbl[n].clk->list, &clocks);
155 /* The bootloader and/or AMSS may have left various clocks enabled.
156 * Disable any clocks that belong to us (CLKFLAG_AUTO_OFF) but have
167 list_for_each_entry(clk, &clocks, list) {
179 pr_info("clock_late_init() disabled %d unused clocks\n", count);
/arch/arm/plat-s3c24xx/
H A Ds3c2410-clock.c50 unsigned int clocks = clk->ctrlbit; local
56 clkcon |= clocks;
58 clkcon &= ~clocks;
188 * Add all the clocks used by the s3c2410 or compatible CPUs
210 /* register clocks from clock array */
225 /* We must be careful disabling the clocks we are not intending to
235 /* install (and disable) the clocks we do not need immediately */
/arch/cris/boot/compressed/
H A Dhead_v32.S23 ;; Start clocks for used blocks.
/arch/arm/mach-tegra/
H A Dclock.c46 * which attemps to iterate through the entire list of clocks and take every
47 * clock lock. If any call to spin_trylock fails, all locked clocks are
57 * clocks.
60 * read-modify-write on registers that are shared by multiple clocks
63 static LIST_HEAD(clocks);
70 list_for_each_entry(c, &clocks, node) {
147 list_add(&c->node, &clocks);
280 /* Must be called with clocks lock and all indvidual clock locks held */
430 list_for_each_entry(c, &clocks, node)
437 list_for_each_entry_continue_reverse(c, &clocks, nod
[all...]
/arch/powerpc/platforms/52xx/
H A Dmpc52xx_gpt.c400 u64 clocks; local
412 /* Determine the number of clocks in the requested period. 64 bit
416 clocks = period * (u64)gpt->ipb_freq;
417 do_div(clocks, 1000000000); /* Scale it down to ns range */
420 if (clocks > 0xffffffff)
423 /* Calculate the prescaler and count values from the clocks value.
424 * 'clocks' is the number of clock ticks in the period. The timer
426 * calculated by integer dividing the clocks by 0x10000 (shifting
427 * down 16 bits) to obtain the smallest possible divisor for clocks
435 prescale = (clocks >> 1
[all...]
/arch/c6x/platforms/
H A Dpll.c27 static LIST_HEAD(clocks);
170 list_add_tail(&clk->node, &clocks);
348 void __init c6x_clks_init(struct clk_lookup *clocks) argument
354 for (c = clocks; c->clk; c++) {
361 /* Turn on clocks that Linux doesn't otherwise manage */
366 clkdev_add_table(clocks, num_clocks);
416 list_for_each_entry(clk, &clocks, node)
/arch/arm/mach-omap1/
H A Dsram.S46 mov r4, #0x0700 @ let the clocks settle
/arch/arm/mach-davinci/
H A Dclock.c30 static LIST_HEAD(clocks);
179 list_add_tail(&clk->node, &clocks);
214 * Disable any unused clocks left on by the bootloader
221 list_for_each_entry(ck, &clocks, node) {
538 int __init davinci_clk_init(struct clk_lookup *clocks) argument
544 for (c = clocks; c->clk; c++) {
583 /* Turn on clocks that Linux doesn't otherwise manage */
588 clkdev_add_table(clocks, num_clocks);
642 list_for_each_entry(clk, &clocks, node)
H A Dclock.h123 int davinci_clk_init(struct clk_lookup *clocks);
/arch/c6x/include/asm/
H A Dclock.h131 extern void c6x_clks_init(struct clk_lookup *clocks);

Completed in 714 milliseconds

12