Home
last modified time | relevance | path

Searched refs:cycles (Results 1 – 25 of 45) sorted by relevance

12

/arch/x86/kernel/
Dpmtimer_64.c29 static inline u32 cyc2us(u32 cycles) in cyc2us() argument
38 cycles *= 286; in cyc2us()
39 return (cycles >> 10); in cyc2us()
/arch/blackfin/mach-common/
Dcpufreq.c91 cycles_t cycles; in bfin_target() local
113 cycles = get_cycles(); in bfin_target()
115 cycles += 10; /* ~10 cycles we lose after get_cycles() */ in bfin_target()
116 __bfin_cycles_off += (cycles << __bfin_cycles_mod) - (cycles << index); in bfin_target()
/arch/m68knommu/platform/68328/
Dtimers.c81 u32 cycles; in m68328_read_clk() local
84 cycles = m68328_tick_cnt + TCN; in m68328_read_clk()
87 return cycles; in m68328_read_clk()
/arch/xtensa/include/asm/
Ddelay.h41 unsigned long cycles = usecs * (loops_per_jiffy / (1000000UL / HZ)); in udelay() local
44 while (((unsigned long)xtensa_get_ccount()) - start < cycles) in udelay()
/arch/m68knommu/platform/coldfire/
Dtimers.c84 u32 cycles; in mcftmr_read_clk() local
89 cycles = mcftmr_cnt; in mcftmr_read_clk()
92 return cycles + tcn; in mcftmr_read_clk()
Dpit.c131 u32 cycles; in pit_read_clk() local
136 cycles = pit_cnt; in pit_read_clk()
139 return cycles + PIT_CYCLES_PER_JIFFY - pcntr; in pit_read_clk()
/arch/arm/mach-ixp4xx/
Dixp4xx_npe.c421 int cycles = 0; in npe_send_message() local
440 while ((cycles < MAX_RETRIES) && in npe_send_message()
443 cycles++; in npe_send_message()
446 if (cycles == MAX_RETRIES) { in npe_send_message()
452 debug_msg(npe, "Sending a message took %i cycles\n", cycles); in npe_send_message()
460 int cycles = 0, cnt = 0; in npe_recv_message() local
464 while (cycles < MAX_RETRIES) { in npe_recv_message()
471 cycles++; in npe_recv_message()
484 if (cycles == MAX_RETRIES) { in npe_recv_message()
490 debug_msg(npe, "Receiving a message took %i cycles\n", cycles); in npe_recv_message()
/arch/arm/mach-msm/
Dtimer.c70 static int msm_timer_set_next_event(unsigned long cycles, in msm_timer_set_next_event() argument
75 uint32_t alarm = now + (cycles << clock->shift); in msm_timer_set_next_event()
84 cycles, clock->clockevent.name, now, alarm, late); in msm_timer_set_next_event()
/arch/sh/lib/
Dmemcpy-sh4.S30 mov r4,r2 ! 5 MT (0 cycles latency)
32 mov.l @(r0,r5),r7 ! 21 LS (2 cycles latency)
38 ! 6 cycles, 4 bytes per iteration
103 mov r4,r2 ! 5 MT (0 cycles latency)
105 mov.l @(r0,r5),r7 ! 21 LS (2 cycles latency)
111 ! 6 cycles, 4 bytes per iteration
221 ! 4 cycles, 2 bytes per iteration
249 ! 3 cycles, 1 byte per iteration
331 ! 4 cycles, 2 long words per iteration
365 ! 4 cycles, 2 long words per iteration
[all …]
/arch/arm/mach-goldfish/
Dtimer.c54 static int goldfish_timer_set_next_event(unsigned long cycles, in goldfish_timer_set_next_event() argument
64 alarm += cycles; in goldfish_timer_set_next_event()
/arch/arm/mach-omap2/
Dtimer-gp.c59 static int omap2_gp_timer_set_next_event(unsigned long cycles, in omap2_gp_timer_set_next_event() argument
62 omap_dm_timer_set_load_start(gptimer, 0, 0xffffffff - cycles); in omap2_gp_timer_set_next_event()
/arch/blackfin/kernel/
Dtime-ts.c96 static int bfin_timer_set_next_event(unsigned long cycles, in bfin_timer_set_next_event() argument
99 bfin_write_TCOUNT(cycles); in bfin_timer_set_next_event()
/arch/arm/mach-omap1/
Dtime.c116 static int omap_mpu_set_next_event(unsigned long cycles, in omap_mpu_set_next_event() argument
119 omap_mpu_timer_start(0, cycles, 0); in omap_mpu_set_next_event()
/arch/sh/kernel/timers/
Dtimer-tmu.c110 static int tmu_set_next_event(unsigned long cycles, in tmu_set_next_event() argument
113 tmu_timer_set_interval(TMU0,cycles, evt->mode == CLOCK_EVT_MODE_PERIODIC); in tmu_set_next_event()
/arch/m68k/fpsp040/
Dsacos.S18 | Speed: The program sCOS takes approximately 310 cycles.
Dstwotox.S19 | Speed: The program stwotox takes approximately 190 cycles and the
20 | program stentox takes approximately 200 cycles.
Dsasin.S18 | Speed: The program sASIN takes approximately 310 cycles.
Dsatanh.S19 | Speed: The program satanh takes approximately 270 cycles.
Dscosh.S18 | Speed: The program sCOSH takes approximately 250 cycles.
Dssinh.S18 | Speed: The program sSINH takes approximately 280 cycles.
/arch/arm/mach-davinci/
Dtime.c260 static int davinci_set_next_event(unsigned long cycles, in davinci_set_next_event() argument
265 t->period = cycles; in davinci_set_next_event()
/arch/alpha/kernel/
Dsetup.c1306 int cycles, prev_cycles = 1000000; in external_cache_probe() local
1318 cycles = read_mem_block(__va(0), stride, size); in external_cache_probe()
1319 if (cycles > prev_cycles * 2) { in external_cache_probe()
1323 size >> 11, prev_cycles, cycles); in external_cache_probe()
1328 prev_cycles = cycles; in external_cache_probe()
/arch/mips/cavium-octeon/
DKconfig24 which requires only an extra 3 cycles. Disable this option if you
/arch/powerpc/boot/dts/
Debony.dts302 0x00000000 0x00000000 0x00000000 /* no IACK cycles */
303 0x00000002 0x0ed00000 0x00000004 /* Special cycles */
/arch/cris/arch-v10/lib/
Ddram_init.S112 nop ; Wait five nop cycles between each command

12