Home
last modified time | relevance | path

Searched full:lpj (Results 1 – 22 of 22) sorted by relevance

/linux/init/
H A Dcalibrate.c26 __setup("lpj=", lpj_setup);
60 * event can happen between these two events introducing errors in lpj. in calibrate_delay_direct()
169 "interrupts. Consider using \"lpj=\" boot option.\n"); in calibrate_delay_direct()
193 unsigned long lpj, lpj_base, ticks, loopadd, loopadd_base, chop_limit; in calibrate_delay_converge() local
196 lpj = (1<<12); in calibrate_delay_converge()
209 __delay(lpj * band); in calibrate_delay_converge()
217 loopadd_base = lpj * band; in calibrate_delay_converge()
218 lpj_base = lpj * trials; in calibrate_delay_converge()
221 lpj = lpj_base; in calibrate_delay_converge()
225 * Do a binary approximation to get lpj set to in calibrate_delay_converge()
[all …]
/linux/arch/alpha/lib/
H A Dudelay.c37 #define LPJ cpu_data[smp_processor_id()].loops_per_jiffy macro
39 #define LPJ loops_per_jiffy macro
45 usecs *= (((unsigned long)HZ << 32) / 1000000) * LPJ; in udelay()
53 nsecs *= (((unsigned long)HZ << 32) / 1000000000) * LPJ; in ndelay()
/linux/arch/mips/lib/
H A Ddelay.c54 unsigned int lpj = raw_current_cpu_data.udelay_val; in __udelay() local
56 __delay((us * 0x000010c7ull * HZ * lpj) >> 32); in __udelay()
62 unsigned int lpj = raw_current_cpu_data.udelay_val; in __ndelay() local
64 __delay((ns * 0x00000005ull * HZ * lpj) >> 32); in __ndelay()
/linux/arch/mips/kernel/
H A Dtime.c41 unsigned long lpj; in cpufreq_callback() local
45 * Skip lpj numbers adjustment if the CPU-freq transition is safe for in cpufreq_callback()
64 * Adjust global lpj variable and per-CPU udelay_val number in in cpufreq_callback()
74 lpj = cpufreq_scale(per_cpu(pcp_lpj_ref, cpu), in cpufreq_callback()
77 cpu_data[cpu].udelay_val = (unsigned int)lpj; in cpufreq_callback()
H A Dcpu-probe.c1777 * feature will cause BogoMIPS and lpj calculate in error. in cpu_probe_ingenic()
/linux/arch/sparc/include/asm/
H A Ddelay_32.h24 void __udelay(unsigned long usecs, unsigned long lpj);
25 void __ndelay(unsigned long nsecs, unsigned long lpj);
/linux/arch/loongarch/kernel/
H A Dtime.c124 u64 lpj = const_clock_freq; in get_loops_per_jiffy() local
126 do_div(lpj, HZ); in get_loops_per_jiffy()
128 return lpj; in get_loops_per_jiffy()
/linux/arch/mips/boot/dts/img/
H A Dpistachio_marduk.dts25 bootargs = "root=/dev/sda1 rootwait ro lpj=723968";
/linux/arch/arm/kernel/
H A Dsmp.c800 unsigned int lpj; in cpufreq_callback() local
824 lpj = cpufreq_scale(per_cpu(l_p_j_ref, first), in cpufreq_callback()
827 per_cpu(cpu_data, cpu).loops_per_jiffy = lpj; in cpufreq_callback()
/linux/tools/testing/kunit/test_data/
H A Dtest_is_test_passed-no_tests_run_no_header.log18 Calibrating delay loop... 7384.26 BogoMIPS (lpj=36921344)
H A Dtest_output_isolated_correctly.log43 Calibrating delay loop... 6958.28 BogoMIPS (lpj=34791424)
/linux/kernel/time/
H A Dtest_udelay.c84 seq_printf(s, "udelay() test (lpj=%ld kt=%lld.%09ld)\n", in udelay_test_show()
/linux/sound/drivers/pcsp/
H A Dpcsp.c65 dev_dbg(card->dev, "PCSP: lpj=%li, min_div=%i, res=%u\n", in snd_pcsp_create()
/linux/Documentation/timers/
H A Dtimekeeping.rst165 loop to delay a certain number of jiffy fractions using a "lpj" (loops per
/linux/arch/sh/kernel/
H A Dsetup.c186 "%lu.%02lu BogoMIPS PRESET (lpj=%lu)\n", in calibrate_delay()
/linux/arch/openrisc/kernel/
H A Dsetup.c218 pr_cont("%lu.%02lu BogoMIPS (lpj=%lu)\n", in calibrate_delay()
/linux/kernel/printk/
H A Dprintk.c1299 unsigned long lpj; in boot_delay_setup() local
1301 lpj = preset_lpj ? preset_lpj : 1000000; /* some guess */ in boot_delay_setup()
1302 loops_per_msec = (unsigned long long)lpj / 1000 * HZ; in boot_delay_setup()
1308 pr_debug("boot_delay: %u, preset_lpj: %ld, lpj: %lu, " in boot_delay_setup()
1310 boot_delay, preset_lpj, lpj, HZ, loops_per_msec); in boot_delay_setup()
/linux/lib/
H A DKconfig.debug111 It is likely that you would also need to use "lpj=M" to preset
113 See a previous boot log for the "lpj" value to use for your
114 system, and then set "lpj=M" before setting "boot_delay=N".
/linux/drivers/macintosh/
H A Dvia-pmu.c1997 /* tweak LPJ before cpufreq is there */ in powerbook_sleep_Core99()
2020 /* Restore LPJ, cpufreq will adjust the cpu frequency */ in powerbook_sleep_Core99()
/linux/include/linux/
H A Dusb.h335 * should cope with both LPJ calibration errors and devices not following every
/linux/kernel/
H A Dworkqueue.c8067 /* see init/calibrate.c for lpj -> BogoMIPS calculation */ in wq_cpu_intensive_thresh_init()
8072 pr_debug("wq_cpu_intensive_thresh: lpj=%lu BogoMIPS=%lu thresh_us=%lu\n", in wq_cpu_intensive_thresh_init()
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt660 and you may also have to specify "lpj=". Boot_delay
3704 lpj=n [KNL]