/linux/init/ |
H A D | calibrate.c | 23 __setup("lpj=", lpj_setup); 57 * event can happen between these two events introducing errors in lpj. in calibrate_delay_direct() 166 "interrupts. Consider using \"lpj=\" boot option.\n"); in calibrate_delay_direct() 190 unsigned long lpj, lpj_base, ticks, loopadd, loopadd_base, chop_limit; in calibrate_delay_converge() local 193 lpj = (1<<12); in calibrate_delay_converge() 206 __delay(lpj * band); in calibrate_delay_converge() 214 loopadd_base = lpj * band; in calibrate_delay_converge() 215 lpj_base = lpj * trials; in calibrate_delay_converge() 218 lpj = lpj_base; in calibrate_delay_converge() 222 * Do a binary approximation to get lpj se in calibrate_delay_converge() 277 unsigned long lpj; calibrate_delay() local [all...] |
/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()
|
/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 | 107 unsigned long lpj = (unsigned long)const_clock_freq; in get_loops_per_jiffy() local 109 do_div(lpj, HZ); in get_loops_per_jiffy() 111 return lpj; in get_loops_per_jiffy()
|
/linux/arch/x86/lib/ |
H A D | delay.c | 209 unsigned long lpj = this_cpu_read(cpu_info.loops_per_jiffy) ? : loops_per_jiffy; in __const_udelay() local 215 :"1" (xloops), "0" (lpj * (HZ / 4))); in __const_udelay()
|
/linux/arch/x86/kernel/cpu/ |
H A D | vmware.c | 402 u64 lpj, tsc_khz; in vmware_platform_setup() local 407 lpj = tsc_khz = eax | (((u64)ebx) << 32); in vmware_platform_setup() 415 do_div(lpj, HZ); in vmware_platform_setup() 416 preset_lpj = lpj; in vmware_platform_setup()
|
/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/arch/mips/boot/dts/img/ |
H A D | pistachio_marduk.dts | 25 bootargs = "root=/dev/sda1 rootwait ro lpj=723968";
|
/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/printk/ |
H A D | printk.c | 1321 unsigned long lpj; in boot_delay_setup() local 1323 lpj = preset_lpj ? preset_lpj : 1000000; /* some guess */ in boot_delay_setup() 1324 loops_per_msec = (unsigned long long)lpj / 1000 * HZ; in boot_delay_setup() 1330 pr_debug("boot_delay: %u, preset_lpj: %ld, lpj: %lu, " in boot_delay_setup() 1332 boot_delay, preset_lpj, lpj, HZ, loops_per_msec); in boot_delay_setup()
|
/linux/Documentation/timers/ |
H A D | timekeeping.rst | 165 loop to delay a certain number of jiffy fractions using a "lpj" (loops per
|
/linux/lib/ |
H A D | Kconfig.debug | 99 It is likely that you would also need to use "lpj=M" to preset 101 See a previous boot log for the "lpj" value to use for your 102 system, and then set "lpj=M" before setting "boot_delay=N".
|