Home
last modified time | relevance | path

Searched refs:lpj (Results 1 – 16 of 16) sorted by relevance

/linux/init/
H A Dcalibrate.c190 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()
225 chop_limit = lpj >> LPS_PREC; in calibrate_delay_converge()
227 lpj += loopadd; in calibrate_delay_converge()
232 __delay(lpj); in calibrate_delay_converge()
234 lpj -= loopadd; in calibrate_delay_converge()
[all …]
/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
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 Ddelay_32.h24 void __udelay(unsigned long usecs, unsigned long lpj);
25 void __ndelay(unsigned long nsecs, unsigned long lpj);
/linux/arch/x86/kernel/
H A Dkvmclock.c126 u64 lpj; in kvm_get_preset_lpj() local
130 lpj = ((u64)khz * 1000); in kvm_get_preset_lpj()
131 do_div(lpj, HZ); in kvm_get_preset_lpj()
132 preset_lpj = lpj; in kvm_get_preset_lpj()
H A Dtsc.c1494 u64 lpj = (u64)tsc_khz * KHZ; in get_loops_per_jiffy() local
1496 do_div(lpj, HZ); in get_loops_per_jiffy()
1497 return lpj; in get_loops_per_jiffy()
/linux/arch/x86/lib/
H A Ddelay.c209 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 Dvmware.c401 u64 lpj, tsc_khz; in vmware_platform_setup() local
406 lpj = tsc_khz = eax | (((u64)ebx) << 32); in vmware_platform_setup()
414 do_div(lpj, HZ); in vmware_platform_setup()
415 preset_lpj = lpj; in vmware_platform_setup()
/linux/arch/arm/kernel/
H A Dsmp.c799 unsigned int lpj; in cpufreq_callback() local
823 lpj = cpufreq_scale(per_cpu(l_p_j_ref, first), in cpufreq_callback()
826 per_cpu(cpu_data, cpu).loops_per_jiffy = lpj; in cpufreq_callback()
/linux/arch/mips/boot/dts/img/
H A Dpistachio_marduk.dts25 bootargs = "root=/dev/sda1 rootwait ro lpj=723968";
/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/printk/
H A Dprintk.c1321 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()
1332 boot_delay, preset_lpj, lpj, HZ, loops_per_msec); in boot_delay_setup()
/linux/Documentation/timers/
H A Dtimekeeping.rst165 loop to delay a certain number of jiffy fractions using a "lpj" (loops per
/linux/lib/
H A DKconfig.debug99 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".
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt553 and you may also have to specify "lpj=". Boot_delay
3222 lpj=n [KNL]