/linux-6.1.9/init/ |
D | calibrate.c | 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() 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.1.9/arch/mips/lib/ |
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-6.1.9/arch/mips/kernel/ |
D | time.c | 41 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.1.9/arch/sparc/include/asm/ |
D | delay_32.h | 24 void __udelay(unsigned long usecs, unsigned long lpj); 25 void __ndelay(unsigned long nsecs, unsigned long lpj);
|
/linux-6.1.9/arch/x86/kernel/ |
D | kvmclock.c | 126 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()
|
D | tsc.c | 1482 u64 lpj = (u64)tsc_khz * KHZ; in get_loops_per_jiffy() local 1484 do_div(lpj, HZ); in get_loops_per_jiffy() 1485 return lpj; in get_loops_per_jiffy()
|
/linux-6.1.9/arch/loongarch/kernel/ |
D | time.c | 111 unsigned long lpj = (unsigned long)const_clock_freq; in get_loops_per_jiffy() local 113 do_div(lpj, HZ); in get_loops_per_jiffy() 115 return lpj; in get_loops_per_jiffy()
|
/linux-6.1.9/arch/x86/kernel/cpu/ |
D | vmware.c | 393 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.1.9/arch/x86/lib/ |
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-6.1.9/arch/arm/kernel/ |
D | smp.c | 803 unsigned int lpj; in cpufreq_callback() local 827 lpj = cpufreq_scale(per_cpu(l_p_j_ref, first), in cpufreq_callback() 830 per_cpu(cpu_data, cpu).loops_per_jiffy = lpj; in cpufreq_callback()
|
/linux-6.1.9/arch/ia64/kernel/ |
D | setup.c | 652 # 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.1.9/arch/mips/boot/dts/img/ |
D | pistachio_marduk.dts | 25 bootargs = "root=/dev/sda1 rootwait ro lpj=723968";
|
/linux-6.1.9/tools/testing/kunit/test_data/ |
D | test_is_test_passed-no_tests_run_no_header.log | 18 Calibrating delay loop... 7384.26 BogoMIPS (lpj=36921344)
|
D | test_output_isolated_correctly.log | 43 Calibrating delay loop... 6958.28 BogoMIPS (lpj=34791424)
|
/linux-6.1.9/kernel/printk/ |
D | printk.c | 1214 unsigned long lpj; in boot_delay_setup() local 1216 lpj = preset_lpj ? preset_lpj : 1000000; /* some guess */ in boot_delay_setup() 1217 loops_per_msec = (unsigned long long)lpj / 1000 * HZ; in boot_delay_setup() 1225 boot_delay, preset_lpj, lpj, HZ, loops_per_msec); in boot_delay_setup()
|
/linux-6.1.9/Documentation/timers/ |
D | timekeeping.rst | 165 loop to delay a certain number of jiffy fractions using a "lpj" (loops per
|
/linux-6.1.9/lib/ |
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".
|
/linux-6.1.9/Documentation/admin-guide/ |
D | kernel-parameters.txt | 2923 lpj=n [KNL]
|