Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/arch/h8300/kernel/
Dsetup.c137 (loops_per_jiffy*HZ)/500000, in show_cpuinfo()
138 ((loops_per_jiffy*HZ)/5000)%100, in show_cpuinfo()
139 (loops_per_jiffy*HZ)); in show_cpuinfo()
207 loops_per_jiffy = freq / HZ / (access_timing() * 2); in calibrate_delay()
209 loops_per_jiffy / (500000 / HZ), in calibrate_delay()
210 (loops_per_jiffy / (5000 / HZ)) % 100, loops_per_jiffy); in calibrate_delay()
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dbugs.h22 extern unsigned long loops_per_jiffy; in check_bugs()
27 current_cpu_data.loops_per_jiffy = loops_per_jiffy; in check_bugs()
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Ddelay.h56 __delay(((((u) * HZSCALE) >> 11) * (loops_per_jiffy >> 11)) >> 6)
66 : "d" (xloops), "1" (loops_per_jiffy)); in __xdelay()
120 (loops_per_jiffy >> 11)) >> 6), in ndelay()
/kernel/linux/linux-5.10/arch/m68k/kernel/
Dsetup_no.c179 clockfreq = (loops_per_jiffy * HZ) * CPU_INSTR_PER_JIFFY; in show_cpuinfo()
190 (loops_per_jiffy * HZ) / 500000, in show_cpuinfo()
191 ((loops_per_jiffy * HZ) / 5000) % 100, in show_cpuinfo()
192 (loops_per_jiffy * HZ)); in show_cpuinfo()
/kernel/linux/linux-5.10/arch/openrisc/kernel/
Dsetup.c277 loops_per_jiffy = *val / HZ; in calibrate_delay()
279 loops_per_jiffy / (500000 / HZ), in calibrate_delay()
280 (loops_per_jiffy / (5000 / HZ)) % 100, loops_per_jiffy); in calibrate_delay()
354 seq_printf(m, "frequency\t\t: %ld\n", loops_per_jiffy * HZ); in show_cpuinfo()
370 (loops_per_jiffy * HZ) / 500000, in show_cpuinfo()
371 ((loops_per_jiffy * HZ) / 5000) % 100); in show_cpuinfo()
/kernel/linux/linux-5.10/arch/hexagon/kernel/
Dsetup.c31 loops_per_jiffy = thread_freq_mhz * 1000000 / HZ; in calibrate_delay()
126 (loops_per_jiffy * HZ) / 500000, in show_cpuinfo()
127 ((loops_per_jiffy * HZ) / 5000) % 100); in show_cpuinfo()
/kernel/linux/linux-5.10/arch/sh/kernel/
Dsetup.c58 .loops_per_jiffy = 10000000,
187 loops_per_jiffy = (clk_get_rate(clk) >> 1) / HZ; in calibrate_delay()
191 loops_per_jiffy/(500000/HZ), in calibrate_delay()
192 (loops_per_jiffy/(5000/HZ)) % 100, in calibrate_delay()
193 loops_per_jiffy); in calibrate_delay()
/kernel/linux/linux-5.10/drivers/char/
Ddtlk.c139 for (retries = 0; retries < loops_per_jiffy; retries++) { in dtlk_read()
153 if (retries == loops_per_jiffy) in dtlk_read()
204 retries < loops_per_jiffy / (4000/HZ); in dtlk_write()
441 __delay(loops_per_jiffy/(1000000/HZ)); \ in dtlk_dev_probe()
452 __delay(50 * loops_per_jiffy / (1000/HZ)); in dtlk_dev_probe()
471 __delay(loops_per_jiffy/(1000000/HZ)); /* 1 us */ \ in dtlk_dev_probe()
611 retries = (loops_per_jiffy * 20) / (1000000/HZ); in dtlk_read_lpc()
653 for (retries = 0; retries < loops_per_jiffy / (100000/HZ); retries++) in dtlk_write_tts()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dbugs.h11 extern unsigned long loops_per_jiffy;
16 cpu_data(0).udelay_val = loops_per_jiffy; in check_bugs()
/kernel/linux/linux-5.10/arch/arc/include/asm/
Ddelay.h20 extern unsigned long loops_per_jiffy;
61 loops = ((u64) usecs * 4295 * HZ * loops_per_jiffy) >> 32; in __udelay()
/kernel/linux/linux-5.10/arch/alpha/lib/
Dudelay.c37 #define LPJ cpu_data[smp_processor_id()].loops_per_jiffy
39 #define LPJ loops_per_jiffy
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
Ddelay.h39 extern unsigned long loops_per_jiffy;
45 (unsigned long long)x * (unsigned long long)loops_per_jiffy \ in __udelay()
/kernel/linux/linux-5.10/arch/arm/kernel/
Dsmp.c392 cpu_info->loops_per_jiffy = loops_per_jiffy; in smp_store_cpu_info()
478 bogosum += per_cpu(cpu_data, cpu).loops_per_jiffy; in smp_cpus_done()
816 per_cpu(cpu_data, cpu).loops_per_jiffy; in cpufreq_callback()
821 global_l_p_j_ref = loops_per_jiffy; in cpufreq_callback()
828 loops_per_jiffy = cpufreq_scale(global_l_p_j_ref, in cpufreq_callback()
835 per_cpu(cpu_data, cpu).loops_per_jiffy = lpj; in cpufreq_callback()
/kernel/linux/linux-5.10/arch/xtensa/kernel/
Dtime.c208 loops_per_jiffy = ccount_freq / HZ; in calibrate_delay()
210 loops_per_jiffy / (1000000 / HZ), in calibrate_delay()
211 (loops_per_jiffy / (10000 / HZ)) % 100); in calibrate_delay()
/kernel/linux/linux-5.10/arch/arm/lib/
Ddelay-loop.S13 .LC0: .word loops_per_jiffy
29 umull r1, r0, r2, r0 @ r0-r1 = r0 * loops_per_jiffy
/kernel/linux/linux-5.10/arch/nios2/kernel/
Dcpuinfo.c135 (loops_per_jiffy * HZ) / 500000, in show_cpuinfo()
136 ((loops_per_jiffy * HZ) / 5000) % 100, in show_cpuinfo()
137 (loops_per_jiffy * HZ)); in show_cpuinfo()
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dprocessor.c166 p->loops_per_jiffy = loops_per_jiffy; in processor_probe()
437 cpuinfo->loops_per_jiffy / (500000 / HZ), in show_cpuinfo()
438 (cpuinfo->loops_per_jiffy / (5000 / HZ)) % 100); in show_cpuinfo()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
Dsetup.c275 loops_per_jiffy = 50000000 / HZ; in pmac_setup_arch()
282 loops_per_jiffy = *fp / (3 * HZ); in pmac_setup_arch()
285 loops_per_jiffy = *fp / HZ; in pmac_setup_arch()
288 loops_per_jiffy = *fp / (2 * HZ); in pmac_setup_arch()
/kernel/linux/linux-5.10/arch/x86/lib/
Ddelay.c209 unsigned long lpj = this_cpu_read(cpu_info.loops_per_jiffy) ? : loops_per_jiffy; in __const_udelay()
/kernel/linux/linux-5.10/arch/um/kernel/
Dum_arch.c50 .loops_per_jiffy = 0,
71 loops_per_jiffy/(500000/HZ), in show_cpuinfo()
72 (loops_per_jiffy/(5000/HZ)) % 100); in show_cpuinfo()
/kernel/linux/linux-5.10/arch/microblaze/kernel/cpu/
Dmb.c61 loops_per_jiffy / (500000 / HZ), in show_cpuinfo()
62 (loops_per_jiffy / (5000 / HZ)) % 100); in show_cpuinfo()
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dsmpboot.c420 local_cpu_data->loops_per_jiffy = loops_per_jiffy; in smp_callin()
534 local_cpu_data->loops_per_jiffy = loops_per_jiffy; in smp_prepare_cpus()
690 bogosum += cpu_data(cpu)->loops_per_jiffy; in smp_cpus_done()
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/
Dproc.c127 c->loops_per_jiffy/(500000/HZ), in show_cpuinfo()
128 (c->loops_per_jiffy/(5000/HZ)) % 100); in show_cpuinfo()
/kernel/linux/linux-5.10/arch/openrisc/include/asm/
Ddelay.h18 extern unsigned long loops_per_jiffy;
/kernel/linux/linux-5.10/arch/nios2/include/asm/
Ddelay.h19 extern unsigned long loops_per_jiffy;

12345