Home
last modified time | relevance | path

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

/linux-6.6.21/init/
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-6.6.21/arch/mips/lib/
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-6.6.21/arch/mips/kernel/
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-6.6.21/arch/sparc/include/asm/
Ddelay_32.h24 void __udelay(unsigned long usecs, unsigned long lpj);
25 void __ndelay(unsigned long nsecs, unsigned long lpj);
/linux-6.6.21/arch/x86/kernel/
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()
Dtsc.c1545 u64 lpj = (u64)tsc_khz * KHZ; in get_loops_per_jiffy() local
1547 do_div(lpj, HZ); in get_loops_per_jiffy()
1548 return lpj; in get_loops_per_jiffy()
/linux-6.6.21/arch/loongarch/kernel/
Dtime.c106 unsigned long lpj = (unsigned long)const_clock_freq; in get_loops_per_jiffy() local
108 do_div(lpj, HZ); in get_loops_per_jiffy()
110 return lpj; in get_loops_per_jiffy()
/linux-6.6.21/arch/x86/kernel/cpu/
Dvmware.c393 uint64_t lpj, tsc_khz; in vmware_platform_setup() local
398 lpj = tsc_khz = eax | (((uint64_t)ebx) << 32); in vmware_platform_setup()
406 do_div(lpj, HZ); in vmware_platform_setup()
407 preset_lpj = lpj; in vmware_platform_setup()
/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() local
215 :"1" (xloops), "0" (lpj * (HZ / 4))); in __const_udelay()
/linux-6.6.21/arch/arm/kernel/
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-6.6.21/arch/ia64/kernel/
Dsetup.c652 # define lpj c->loops_per_jiffy in show_cpuinfo() macro
655 # define lpj loops_per_jiffy in show_cpuinfo()
717 lpj*HZ/500000, (lpj*HZ/5000) % 100); in show_cpuinfo()
/linux-6.6.21/arch/mips/boot/dts/img/
Dpistachio_marduk.dts25 bootargs = "root=/dev/sda1 rootwait ro lpj=723968";
/linux-6.6.21/tools/testing/kunit/test_data/
Dtest_is_test_passed-no_tests_run_no_header.log18 Calibrating delay loop... 7384.26 BogoMIPS (lpj=36921344)
Dtest_output_isolated_correctly.log43 Calibrating delay loop... 6958.28 BogoMIPS (lpj=34791424)
/linux-6.6.21/kernel/printk/
Dprintk.c1267 unsigned long lpj; in boot_delay_setup() local
1269 lpj = preset_lpj ? preset_lpj : 1000000; /* some guess */ in boot_delay_setup()
1270 loops_per_msec = (unsigned long long)lpj / 1000 * HZ; in boot_delay_setup()
1278 boot_delay, preset_lpj, lpj, HZ, loops_per_msec); in boot_delay_setup()
/linux-6.6.21/Documentation/timers/
Dtimekeeping.rst165 loop to delay a certain number of jiffy fractions using a "lpj" (loops per
/linux-6.6.21/lib/
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-6.6.21/Documentation/admin-guide/
Dkernel-parameters.txt509 and you may also have to specify "lpj=". Boot_delay
3007 lpj=n [KNL]