Home
last modified time | relevance | path

Searched refs:loops_per_jiffy (Results 1 – 25 of 106) sorted by relevance

12345

/arch/m32r/include/asm/
Dbugs.h14 extern unsigned long loops_per_jiffy; in check_bugs()
16 current_cpu_data.loops_per_jiffy = loops_per_jiffy; in check_bugs()
/arch/sh/include/asm/
Dbugs.h21 extern unsigned long loops_per_jiffy; in check_bugs()
26 current_cpu_data.loops_per_jiffy = loops_per_jiffy; in check_bugs()
/arch/m68k/include/asm/
Ddelay.h57 __delay(((((u) * HZSCALE) >> 11) * (loops_per_jiffy >> 11)) >> 6)
67 : "d" (xloops), "1" (loops_per_jiffy)); in __xdelay()
117 #define ndelay(n) __delay(DIV_ROUND_UP((n) * ((((HZSCALE) >> 11) * (loops_per_jiffy >> 11)) >> 6), …
/arch/avr32/include/asm/
Dbugs.h12 cpu_data->loops_per_jiffy = loops_per_jiffy; in check_bugs()
/arch/sparc/include/asm/
Dbugs.h10 extern unsigned long loops_per_jiffy;
15 cpu_data(0).udelay_val = loops_per_jiffy; in check_bugs()
/arch/h8300/include/asm/
Ddelay.h28 extern unsigned long loops_per_jiffy;
33 usecs /= (loops_per_jiffy*HZ); in udelay()
/arch/xtensa/kernel/
Dtime.c114 loops_per_jiffy = CCOUNT_PER_JIFFY; in calibrate_delay()
117 loops_per_jiffy/(1000000/HZ), in calibrate_delay()
118 (loops_per_jiffy/(10000/HZ)) % 100); in calibrate_delay()
/arch/blackfin/include/asm/
Ddelay.h35 extern unsigned long loops_per_jiffy; in __to_delay()
36 return (((scale * HZSCALE) >> 11) * (loops_per_jiffy >> 11)) >> 6; in __to_delay()
/arch/xtensa/include/asm/
Ddelay.h18 extern unsigned long loops_per_jiffy;
41 unsigned long cycles = usecs * (loops_per_jiffy / (1000000UL / HZ)); in udelay()
/arch/hexagon/kernel/
Dsetup.c46 loops_per_jiffy = thread_freq_mhz * 1000000 / HZ; in calibrate_delay()
141 (loops_per_jiffy * HZ) / 500000, in show_cpuinfo()
142 ((loops_per_jiffy * HZ) / 5000) % 100); in show_cpuinfo()
/arch/alpha/lib/
Dudelay.c35 #define LPJ cpu_data[smp_processor_id()].loops_per_jiffy
37 #define LPJ loops_per_jiffy
/arch/tile/kernel/
Dtime.c97 loops_per_jiffy = get_clock_rate() / HZ; in calibrate_delay()
99 loops_per_jiffy/(500000/HZ), in calibrate_delay()
100 (loops_per_jiffy/(5000/HZ)) % 100, loops_per_jiffy); in calibrate_delay()
/arch/openrisc/kernel/
Dsetup.c278 loops_per_jiffy = *val / HZ; in calibrate_delay()
280 loops_per_jiffy / (500000 / HZ), in calibrate_delay()
281 (loops_per_jiffy / (5000 / HZ)) % 100, loops_per_jiffy); in calibrate_delay()
346 loops_per_jiffy * HZ, in show_cpuinfo()
355 (loops_per_jiffy * HZ) / 500000, in show_cpuinfo()
356 ((loops_per_jiffy * HZ) / 5000) % 100); in show_cpuinfo()
/arch/m32r/lib/
Ddelay.c80 : "r" (current_cpu_data.loops_per_jiffy) in __const_udelay()
107 : "r" (current_cpu_data.loops_per_jiffy) in __const_udelay()
/arch/cris/kernel/
Dtime.c39 extern unsigned long loops_per_jiffy; /* init/main.c */
91 loops_per_usec = (loops_per_jiffy * HZ) / 1000000; in init_udelay()
/arch/microblaze/include/asm/
Ddelay.h42 extern unsigned long loops_per_jiffy;
48 (unsigned long long)x * (unsigned long long)loops_per_jiffy \ in __udelay()
/arch/sh/kernel/
Dsetup.c54 .loops_per_jiffy = 10000000,
182 loops_per_jiffy = (clk_get_rate(clk) >> 1) / HZ; in calibrate_delay()
186 loops_per_jiffy/(500000/HZ), in calibrate_delay()
187 (loops_per_jiffy/(5000/HZ)) % 100, in calibrate_delay()
188 loops_per_jiffy); in calibrate_delay()
/arch/m68k/kernel/
Dsetup_no.c278 clockfreq = (loops_per_jiffy * HZ) * CPU_INSTR_PER_JIFFY; in show_cpuinfo()
289 (loops_per_jiffy * HZ) / 500000, in show_cpuinfo()
290 ((loops_per_jiffy * HZ) / 5000) % 100, in show_cpuinfo()
291 (loops_per_jiffy * HZ)); in show_cpuinfo()
/arch/cris/arch-v10/kernel/
Dsetup.c93 (loops_per_jiffy * HZ + 500) / 500000, in show_cpuinfo()
94 ((loops_per_jiffy * HZ + 500) / 5000) % 100); in show_cpuinfo()
/arch/openrisc/include/asm/
Ddelay.h22 extern unsigned long loops_per_jiffy;
/arch/mn10300/kernel/
Dsetup.c255 c->loops_per_jiffy / (500000 / HZ), in show_cpuinfo()
256 (c->loops_per_jiffy / (5000 / HZ)) % 100 in show_cpuinfo()
258 loops_per_jiffy / (500000 / HZ), in show_cpuinfo()
259 (loops_per_jiffy / (5000 / HZ)) % 100 in show_cpuinfo()
/arch/arm/kernel/
Dsmp.c301 cpu_info->loops_per_jiffy = loops_per_jiffy; in smp_store_cpu_info()
383 bogosum += per_cpu(cpu_data, cpu).loops_per_jiffy; in smp_cpus_done()
757 per_cpu(cpu_data, cpu).loops_per_jiffy; in cpufreq_callback()
760 global_l_p_j_ref = loops_per_jiffy; in cpufreq_callback()
768 loops_per_jiffy = cpufreq_scale(global_l_p_j_ref, in cpufreq_callback()
771 per_cpu(cpu_data, cpu).loops_per_jiffy = in cpufreq_callback()
/arch/metag/include/asm/
Dcpu.h9 unsigned long loops_per_jiffy; member
/arch/s390/kernel/
Dprocessor.c54 num_online_cpus(), loops_per_jiffy/(500000/HZ), in show_cpuinfo()
55 (loops_per_jiffy/(5000/HZ))%100); in show_cpuinfo()
/arch/h8300/kernel/
Dsetup.c216 (loops_per_jiffy*HZ)/500000,((loops_per_jiffy*HZ)/5000)%100, in show_cpuinfo()
217 (loops_per_jiffy*HZ)); in show_cpuinfo()

12345