Home
last modified time | relevance | path

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

1234

/linux-6.6.21/arch/sh/kernel/
Dsetup.c59 .loops_per_jiffy = 10000000,
188 loops_per_jiffy = (clk_get_rate(clk) >> 1) / HZ; in calibrate_delay()
192 loops_per_jiffy/(500000/HZ), in calibrate_delay()
193 (loops_per_jiffy/(5000/HZ)) % 100, in calibrate_delay()
194 loops_per_jiffy); in calibrate_delay()
365 current_cpu_data.loops_per_jiffy = loops_per_jiffy; in arch_cpu_finalize_init()
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.6.21/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.6.21/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.6.21/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.c443 clockfreq = loops_per_jiffy * HZ * clockfactor; in show_cpuinfo()
453 loops_per_jiffy/(500000/HZ),(loops_per_jiffy/(5000/HZ))%100, in show_cpuinfo()
454 loops_per_jiffy); in show_cpuinfo()
/linux-6.6.21/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.6.21/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()
/linux-6.6.21/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.6.21/arch/alpha/lib/
Dudelay.c37 #define LPJ cpu_data[smp_processor_id()].loops_per_jiffy
39 #define LPJ loops_per_jiffy
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/arch/arm/lib/
Ddelay-loop.S17 .LC0: .word loops_per_jiffy
33 umull r1, r0, r2, r0 @ r0-r1 = r0 * loops_per_jiffy
/linux-6.6.21/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.6.21/arch/x86/lib/
Ddelay.c209 unsigned long lpj = this_cpu_read(cpu_info.loops_per_jiffy) ? : loops_per_jiffy; in __const_udelay()
/linux-6.6.21/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.6.21/arch/ia64/kernel/
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.6.21/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.6.21/arch/openrisc/include/asm/
Ddelay.h18 extern unsigned long loops_per_jiffy;
/linux-6.6.21/arch/nios2/include/asm/
Ddelay.h19 extern unsigned long loops_per_jiffy;
/linux-6.6.21/arch/x86/kernel/
Dtsc.c947 cpu_data(0).loops_per_jiffy = cpufreq_scale(cpu_data(0).loops_per_jiffy, in recalibrate_cpu_khz()
1030 loops_per_jiffy_ref = boot_cpu_data.loops_per_jiffy; in time_cpufreq_notifier()
1036 boot_cpu_data.loops_per_jiffy = in time_cpufreq_notifier()
1553 loops_per_jiffy = get_loops_per_jiffy(); in tsc_enable_sched_clock()
1634 return cpu_data(0).loops_per_jiffy; in calibrate_delay_is_known()
1649 return cpu_data(sibling).loops_per_jiffy; in calibrate_delay_is_known()
/linux-6.6.21/arch/arm/include/asm/
Dcpu.h17 unsigned int loops_per_jiffy; member
/linux-6.6.21/sound/drivers/pcsp/
Dpcsp.c59 if (loops_per_jiffy >= PCSP_MIN_LPJ && resolution <= PCSP_MIN_PERIOD_NS) in snd_pcsp_create()
65 loops_per_jiffy, min_div, resolution); in snd_pcsp_create()

1234