| /linux/init/ |
| H A D | calibrate.c | 26 __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 D | udelay.c | 37 #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 D | delay.c | 54 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 D | time.c | 41 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 D | cpu-probe.c | 1777 * feature will cause BogoMIPS and lpj calculate in error. in cpu_probe_ingenic()
|
| /linux/arch/sparc/include/asm/ |
| H A D | delay_32.h | 24 void __udelay(unsigned long usecs, unsigned long lpj); 25 void __ndelay(unsigned long nsecs, unsigned long lpj);
|
| /linux/arch/loongarch/kernel/ |
| H A D | time.c | 124 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 D | pistachio_marduk.dts | 25 bootargs = "root=/dev/sda1 rootwait ro lpj=723968";
|
| /linux/arch/arm/kernel/ |
| H A D | smp.c | 800 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 D | test_is_test_passed-no_tests_run_no_header.log | 18 Calibrating delay loop... 7384.26 BogoMIPS (lpj=36921344)
|
| H A D | test_output_isolated_correctly.log | 43 Calibrating delay loop... 6958.28 BogoMIPS (lpj=34791424)
|
| /linux/kernel/time/ |
| H A D | test_udelay.c | 84 seq_printf(s, "udelay() test (lpj=%ld kt=%lld.%09ld)\n", in udelay_test_show()
|
| /linux/sound/drivers/pcsp/ |
| H A D | pcsp.c | 65 dev_dbg(card->dev, "PCSP: lpj=%li, min_div=%i, res=%u\n", in snd_pcsp_create()
|
| /linux/Documentation/timers/ |
| H A D | timekeeping.rst | 165 loop to delay a certain number of jiffy fractions using a "lpj" (loops per
|
| /linux/arch/sh/kernel/ |
| H A D | setup.c | 186 "%lu.%02lu BogoMIPS PRESET (lpj=%lu)\n", in calibrate_delay()
|
| /linux/arch/openrisc/kernel/ |
| H A D | setup.c | 218 pr_cont("%lu.%02lu BogoMIPS (lpj=%lu)\n", in calibrate_delay()
|
| /linux/kernel/printk/ |
| H A D | printk.c | 1299 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 D | Kconfig.debug | 111 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 D | via-pmu.c | 1997 /* 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 D | usb.h | 335 * should cope with both LPJ calibration errors and devices not following every
|
| /linux/kernel/ |
| H A D | workqueue.c | 8067 /* 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 D | kernel-parameters.txt | 660 and you may also have to specify "lpj=". Boot_delay 3704 lpj=n [KNL]
|