Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/arch/sh/include/asm/
A Dbugs.h22 extern unsigned long loops_per_jiffy; in check_bugs()
27 current_cpu_data.loops_per_jiffy = loops_per_jiffy; in check_bugs()
/linux-6.3-rc2/arch/m68k/include/asm/
A 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()
/linux-6.3-rc2/arch/openrisc/kernel/
A Dsetup.c263 loops_per_jiffy = *val / HZ; in calibrate_delay()
265 loops_per_jiffy / (500000 / HZ), in calibrate_delay()
266 (loops_per_jiffy / (5000 / HZ)) % 100, loops_per_jiffy); in calibrate_delay()
337 seq_printf(m, "frequency\t\t: %ld\n", loops_per_jiffy * HZ); in show_cpuinfo()
353 (loops_per_jiffy * HZ) / 500000, in show_cpuinfo()
354 ((loops_per_jiffy * HZ) / 5000) % 100); in show_cpuinfo()
/linux-6.3-rc2/arch/m68k/kernel/
A Dsetup_no.c182 clockfreq = (loops_per_jiffy * HZ) * CPU_INSTR_PER_JIFFY; in show_cpuinfo()
193 (loops_per_jiffy * HZ) / 500000, in show_cpuinfo()
194 ((loops_per_jiffy * HZ) / 5000) % 100, in show_cpuinfo()
195 (loops_per_jiffy * HZ)); in show_cpuinfo()
A Dsetup_mm.c442 clockfreq = loops_per_jiffy * HZ * clockfactor; in show_cpuinfo()
452 loops_per_jiffy/(500000/HZ),(loops_per_jiffy/(5000/HZ))%100, in show_cpuinfo()
453 loops_per_jiffy); in show_cpuinfo()
/linux-6.3-rc2/arch/hexagon/kernel/
A 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()
/linux-6.3-rc2/arch/sh/kernel/
A 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()
A Dsmp.c53 c->loops_per_jiffy = loops_per_jiffy; in smp_store_cpu_info()
251 bogosum += cpu_data[cpu].loops_per_jiffy; in smp_cpus_done()
/linux-6.3-rc2/drivers/char/
A 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()
/linux-6.3-rc2/arch/sparc/include/asm/
A Dbugs.h11 extern unsigned long loops_per_jiffy;
16 cpu_data(0).udelay_val = loops_per_jiffy; in check_bugs()
/linux-6.3-rc2/arch/arc/include/asm/
A Ddelay.h20 extern unsigned long loops_per_jiffy;
61 loops = ((u64) usecs * 4295 * HZ * loops_per_jiffy) >> 32; in __udelay()
/linux-6.3-rc2/arch/alpha/lib/
A Dudelay.c37 #define LPJ cpu_data[smp_processor_id()].loops_per_jiffy
39 #define LPJ loops_per_jiffy
/linux-6.3-rc2/arch/arm/kernel/
A Dsmp.c396 cpu_info->loops_per_jiffy = loops_per_jiffy; in smp_store_cpu_info()
490 bogosum += per_cpu(cpu_data, cpu).loops_per_jiffy; in smp_cpus_done()
810 per_cpu(cpu_data, cpu).loops_per_jiffy; in cpufreq_callback()
815 global_l_p_j_ref = loops_per_jiffy; in cpufreq_callback()
822 loops_per_jiffy = cpufreq_scale(global_l_p_j_ref, in cpufreq_callback()
829 per_cpu(cpu_data, cpu).loops_per_jiffy = lpj; in cpufreq_callback()
/linux-6.3-rc2/arch/microblaze/include/asm/
A Ddelay.h39 extern unsigned long loops_per_jiffy;
45 (unsigned long long)x * (unsigned long long)loops_per_jiffy \ in __udelay()
/linux-6.3-rc2/arch/xtensa/kernel/
A Dtime.c209 loops_per_jiffy = ccount_freq / HZ; in calibrate_delay()
211 loops_per_jiffy / (1000000 / HZ), in calibrate_delay()
212 (loops_per_jiffy / (10000 / HZ)) % 100); in calibrate_delay()
/linux-6.3-rc2/arch/nios2/kernel/
A 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()
/linux-6.3-rc2/arch/arm/lib/
A Ddelay-loop.S17 .LC0: .word loops_per_jiffy
33 umull r1, r0, r2, r0 @ r0-r1 = r0 * loops_per_jiffy
/linux-6.3-rc2/arch/powerpc/platforms/powermac/
A Dsetup.c260 loops_per_jiffy = 50000000 / HZ; in pmac_setup_arch()
267 loops_per_jiffy = *fp / (3 * HZ); in pmac_setup_arch()
270 loops_per_jiffy = *fp / HZ; in pmac_setup_arch()
273 loops_per_jiffy = *fp / (2 * HZ); in pmac_setup_arch()
/linux-6.3-rc2/arch/x86/lib/
A Ddelay.c209 unsigned long lpj = this_cpu_read(cpu_info.loops_per_jiffy) ? : loops_per_jiffy; in __const_udelay()
/linux-6.3-rc2/arch/microblaze/kernel/cpu/
A Dmb.c61 loops_per_jiffy / (500000 / HZ), in show_cpuinfo()
62 (loops_per_jiffy / (5000 / HZ)) % 100); in show_cpuinfo()
/linux-6.3-rc2/arch/ia64/kernel/
A Dsmpboot.c421 local_cpu_data->loops_per_jiffy = loops_per_jiffy; in smp_callin()
535 local_cpu_data->loops_per_jiffy = loops_per_jiffy; in smp_prepare_cpus()
687 bogosum += cpu_data(cpu)->loops_per_jiffy; in smp_cpus_done()
/linux-6.3-rc2/arch/sh/kernel/cpu/
A Dproc.c127 c->loops_per_jiffy/(500000/HZ), in show_cpuinfo()
128 (c->loops_per_jiffy/(5000/HZ)) % 100); in show_cpuinfo()
/linux-6.3-rc2/arch/openrisc/include/asm/
A Ddelay.h18 extern unsigned long loops_per_jiffy;
/linux-6.3-rc2/arch/nios2/include/asm/
A Ddelay.h19 extern unsigned long loops_per_jiffy;
/linux-6.3-rc2/arch/arm/include/asm/
A Dcpu.h17 unsigned int loops_per_jiffy; member

Completed in 27 milliseconds

1234