Home
last modified time | relevance | path

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

1234

/linux-6.12.1/arch/sh/kernel/
Dsetup.c58 .loops_per_jiffy = 10000000,
183 loops_per_jiffy = (clk_get_rate(clk) >> 1) / HZ; in calibrate_delay()
187 loops_per_jiffy/(500000/HZ), in calibrate_delay()
188 (loops_per_jiffy/(5000/HZ)) % 100, in calibrate_delay()
189 loops_per_jiffy); in calibrate_delay()
360 current_cpu_data.loops_per_jiffy = loops_per_jiffy; in arch_cpu_finalize_init()
Dsmp.c55 c->loops_per_jiffy = loops_per_jiffy; in smp_store_cpu_info()
253 bogosum += cpu_data[cpu].loops_per_jiffy; in smp_cpus_done()
/linux-6.12.1/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()
/linux-6.12.1/arch/openrisc/kernel/
Dsetup.c248 loops_per_jiffy = *val / HZ; in calibrate_delay()
250 loops_per_jiffy / (500000 / HZ), in calibrate_delay()
251 (loops_per_jiffy / (5000 / HZ)) % 100, loops_per_jiffy); in calibrate_delay()
322 seq_printf(m, "frequency\t\t: %ld\n", loops_per_jiffy * HZ); in show_cpuinfo()
338 (loops_per_jiffy * HZ) / 500000, in show_cpuinfo()
339 ((loops_per_jiffy * HZ) / 5000) % 100); in show_cpuinfo()
/linux-6.12.1/arch/m68k/kernel/
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()
Dsetup_mm.c441 clockfreq = loops_per_jiffy * HZ * clockfactor; in show_cpuinfo()
451 loops_per_jiffy/(500000/HZ),(loops_per_jiffy/(5000/HZ))%100, in show_cpuinfo()
452 loops_per_jiffy); in show_cpuinfo()
/linux-6.12.1/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()
/linux-6.12.1/drivers/char/
Ddtlk.c138 for (retries = 0; retries < loops_per_jiffy; retries++) { in dtlk_read()
152 if (retries == loops_per_jiffy) in dtlk_read()
203 retries < loops_per_jiffy / (4000/HZ); in dtlk_write()
440 __delay(loops_per_jiffy/(1000000/HZ)); \ in dtlk_dev_probe()
451 __delay(50 * loops_per_jiffy / (1000/HZ)); in dtlk_dev_probe()
470 __delay(loops_per_jiffy/(1000000/HZ)); /* 1 us */ \ in dtlk_dev_probe()
610 retries = (loops_per_jiffy * 20) / (1000000/HZ); in dtlk_read_lpc()
652 for (retries = 0; retries < loops_per_jiffy / (100000/HZ); retries++) in dtlk_write_tts()
/linux-6.12.1/arch/arc/include/asm/
Ddelay.h20 extern unsigned long loops_per_jiffy;
61 loops = ((u64) usecs * 4295 * HZ * loops_per_jiffy) >> 32; in __udelay()
/linux-6.12.1/arch/alpha/lib/
Dudelay.c37 #define LPJ cpu_data[smp_processor_id()].loops_per_jiffy
39 #define LPJ loops_per_jiffy
/linux-6.12.1/arch/arm/kernel/
Dsmp.c393 cpu_info->loops_per_jiffy = loops_per_jiffy; in smp_store_cpu_info()
487 bogosum += per_cpu(cpu_data, cpu).loops_per_jiffy; in smp_cpus_done()
807 per_cpu(cpu_data, cpu).loops_per_jiffy; in cpufreq_callback()
812 global_l_p_j_ref = loops_per_jiffy; in cpufreq_callback()
819 loops_per_jiffy = cpufreq_scale(global_l_p_j_ref, in cpufreq_callback()
826 per_cpu(cpu_data, cpu).loops_per_jiffy = lpj; in cpufreq_callback()
/linux-6.12.1/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()
/linux-6.12.1/arch/xtensa/kernel/
Dtime.c205 loops_per_jiffy = ccount_freq / HZ; in calibrate_delay()
207 loops_per_jiffy / (1000000 / HZ), in calibrate_delay()
208 (loops_per_jiffy / (10000 / HZ)) % 100); in calibrate_delay()
/linux-6.12.1/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()
/linux-6.12.1/arch/arm/lib/
Ddelay-loop.S18 .LC0: .word loops_per_jiffy
37 umull r1, r0, r2, r0 @ r0-r1 = r0 * loops_per_jiffy
/linux-6.12.1/arch/powerpc/platforms/powermac/
Dsetup.c261 loops_per_jiffy = 50000000 / HZ; in pmac_setup_arch()
268 loops_per_jiffy = *fp / (3 * HZ); in pmac_setup_arch()
271 loops_per_jiffy = *fp / HZ; in pmac_setup_arch()
274 loops_per_jiffy = *fp / (2 * HZ); in pmac_setup_arch()
/linux-6.12.1/arch/x86/lib/
Ddelay.c209 unsigned long lpj = this_cpu_read(cpu_info.loops_per_jiffy) ? : loops_per_jiffy; in __const_udelay()
/linux-6.12.1/arch/microblaze/kernel/cpu/
Dmb.c61 loops_per_jiffy / (500000 / HZ), in show_cpuinfo()
62 (loops_per_jiffy / (5000 / HZ)) % 100); in show_cpuinfo()
/linux-6.12.1/arch/x86/kernel/
Dtsc.c948 cpu_data(0).loops_per_jiffy = cpufreq_scale(cpu_data(0).loops_per_jiffy, in recalibrate_cpu_khz()
1031 loops_per_jiffy_ref = boot_cpu_data.loops_per_jiffy; in time_cpufreq_notifier()
1037 boot_cpu_data.loops_per_jiffy = in time_cpufreq_notifier()
1501 loops_per_jiffy = get_loops_per_jiffy(); in tsc_enable_sched_clock()
1582 return cpu_data(0).loops_per_jiffy; in calibrate_delay_is_known()
1597 return cpu_data(sibling).loops_per_jiffy; in calibrate_delay_is_known()
/linux-6.12.1/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()
/linux-6.12.1/arch/openrisc/include/asm/
Ddelay.h18 extern unsigned long loops_per_jiffy;
/linux-6.12.1/arch/nios2/include/asm/
Ddelay.h19 extern unsigned long loops_per_jiffy;
/linux-6.12.1/arch/arm/include/asm/
Dcpu.h16 unsigned int loops_per_jiffy; member
/linux-6.12.1/sound/drivers/pcsp/
Dpcsp.c60 if (loops_per_jiffy >= PCSP_MIN_LPJ && resolution <= PCSP_MIN_PERIOD_NS) in snd_pcsp_create()
66 loops_per_jiffy, min_div, resolution); in snd_pcsp_create()
/linux-6.12.1/arch/um/kernel/
Dum_arch.c60 .loops_per_jiffy = 0,
92 loops_per_jiffy/(500000/HZ), in show_cpuinfo()
93 (loops_per_jiffy/(5000/HZ)) % 100); in show_cpuinfo()

1234