/Linux-v4.19/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-v4.19/arch/mips/lib/ |
D | delay.c | 53 unsigned int lpj = raw_current_cpu_data.udelay_val; in __udelay() local 55 __delay((us * 0x000010c7ull * HZ * lpj) >> 32); in __udelay() 61 unsigned int lpj = raw_current_cpu_data.udelay_val; in __ndelay() local 63 __delay((ns * 0x00000005ull * HZ * lpj) >> 32); in __ndelay()
|
/Linux-v4.19/arch/x86/kernel/cpu/ |
D | vmware.c | 137 uint64_t lpj, tsc_khz; in vmware_platform_setup() local 142 lpj = tsc_khz = eax | (((uint64_t)ebx) << 32); in vmware_platform_setup() 150 do_div(lpj, HZ); in vmware_platform_setup() 151 preset_lpj = lpj; in vmware_platform_setup()
|
/Linux-v4.19/arch/nds32/include/asm/ |
D | delay.h | 20 static inline void __udelay(unsigned long usecs, unsigned long lpj) in __udelay() argument 24 usecs = (unsigned long)(((unsigned long long)usecs * lpj) >> 32); in __udelay()
|
/Linux-v4.19/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-v4.19/arch/x86/kernel/ |
D | kvmclock.c | 154 u64 lpj; in kvm_get_preset_lpj() local 158 lpj = ((u64)khz * 1000); in kvm_get_preset_lpj() 159 do_div(lpj, HZ); in kvm_get_preset_lpj() 160 preset_lpj = lpj; in kvm_get_preset_lpj()
|
D | tsc.c | 958 unsigned long *lpj; in time_cpufreq_notifier() local 960 lpj = &boot_cpu_data.loops_per_jiffy; in time_cpufreq_notifier() 963 lpj = &cpu_data(freq->cpu).loops_per_jiffy; in time_cpufreq_notifier() 968 loops_per_jiffy_ref = *lpj; in time_cpufreq_notifier() 973 *lpj = cpufreq_scale(loops_per_jiffy_ref, ref_freq, freq->new); in time_cpufreq_notifier() 1419 u64 lpj = (u64)tsc_khz * KHZ; in get_loops_per_jiffy() local 1421 do_div(lpj, HZ); in get_loops_per_jiffy() 1422 return lpj; in get_loops_per_jiffy()
|
/Linux-v4.19/arch/x86/lib/ |
D | delay.c | 167 unsigned long lpj = this_cpu_read(cpu_info.loops_per_jiffy) ? : loops_per_jiffy; in __const_udelay() local 173 :"1" (xloops), "0" (lpj * (HZ / 4))); in __const_udelay()
|
/Linux-v4.19/arch/ia64/kernel/ |
D | setup.c | 634 # define lpj c->loops_per_jiffy in show_cpuinfo() macro 637 # define lpj loops_per_jiffy in show_cpuinfo() 699 lpj*HZ/500000, (lpj*HZ/5000) % 100); in show_cpuinfo()
|
/Linux-v4.19/arch/arm/configs/ |
D | u300_defconfig | 23 CONFIG_CMDLINE="root=/dev/ram0 rw rootfstype=rootfs console=ttyAMA0,115200n8 lpj=515072"
|
/Linux-v4.19/arch/mips/boot/dts/img/ |
D | pistachio_marduk.dts | 28 bootargs = "root=/dev/sda1 rootwait ro lpj=723968";
|
/Linux-v4.19/kernel/printk/ |
D | printk.c | 1161 unsigned long lpj; in boot_delay_setup() local 1163 lpj = preset_lpj ? preset_lpj : 1000000; /* some guess */ in boot_delay_setup() 1164 loops_per_msec = (unsigned long long)lpj / 1000 * HZ; in boot_delay_setup() 1172 boot_delay, preset_lpj, lpj, HZ, loops_per_msec); in boot_delay_setup()
|
/Linux-v4.19/Documentation/timers/ |
D | timekeeping.txt | 164 loop to delay a certain number of jiffy fractions using a "lpj" (loops per
|
/Linux-v4.19/lib/ |
D | Kconfig.debug | 70 It is likely that you would also need to use "lpj=M" to preset 72 See a previous boot log for the "lpj" value to use for your 73 system, and then set "lpj=M" before setting "boot_delay=N".
|
/Linux-v4.19/Documentation/admin-guide/ |
D | kernel-parameters.txt | 2260 lpj=n [KNL]
|