/linux-4.1.27/init/ |
D | calibrate.c | 189 unsigned long lpj, lpj_base, ticks, loopadd, loopadd_base, chop_limit; in calibrate_delay_converge() local 192 lpj = (1<<12); in calibrate_delay_converge() 205 __delay(lpj * band); in calibrate_delay_converge() 213 loopadd_base = lpj * band; in calibrate_delay_converge() 214 lpj_base = lpj * trials; in calibrate_delay_converge() 217 lpj = lpj_base; in calibrate_delay_converge() 224 chop_limit = lpj >> LPS_PREC; in calibrate_delay_converge() 226 lpj += loopadd; in calibrate_delay_converge() 231 __delay(lpj); in calibrate_delay_converge() 233 lpj -= loopadd; in calibrate_delay_converge() [all …]
|
/linux-4.1.27/arch/mips/lib/ |
D | delay.c | 52 unsigned int lpj = raw_current_cpu_data.udelay_val; in __udelay() local 54 __delay((us * 0x000010c7ull * HZ * lpj) >> 32); in __udelay() 60 unsigned int lpj = raw_current_cpu_data.udelay_val; in __ndelay() local 62 __delay((ns * 0x00000005ull * HZ * lpj) >> 32); in __ndelay()
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | vmware.c | 57 uint64_t tsc_hz, lpj; in vmware_get_tsc_khz() local 70 lpj = ((u64)tsc_hz * 1000); in vmware_get_tsc_khz() 71 do_div(lpj, HZ); in vmware_get_tsc_khz() 72 preset_lpj = lpj; in vmware_get_tsc_khz()
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | delay_32.h | 23 void __udelay(unsigned long usecs, unsigned long lpj); 24 void __ndelay(unsigned long nsecs, unsigned long lpj);
|
/linux-4.1.27/arch/x86/kernel/ |
D | kvmclock.c | 119 u64 lpj; in kvm_get_preset_lpj() local 123 lpj = ((u64)khz * 1000); in kvm_get_preset_lpj() 124 do_div(lpj, HZ); in kvm_get_preset_lpj() 125 preset_lpj = lpj; in kvm_get_preset_lpj()
|
D | tsc.c | 900 unsigned long *lpj; in time_cpufreq_notifier() local 905 lpj = &boot_cpu_data.loops_per_jiffy; in time_cpufreq_notifier() 908 lpj = &cpu_data(freq->cpu).loops_per_jiffy; in time_cpufreq_notifier() 913 loops_per_jiffy_ref = *lpj; in time_cpufreq_notifier() 918 *lpj = cpufreq_scale(loops_per_jiffy_ref, ref_freq, freq->new); in time_cpufreq_notifier() 1167 u64 lpj; in tsc_init() local 1212 lpj = ((u64)tsc_khz * 1000); in tsc_init() 1213 do_div(lpj, HZ); in tsc_init() 1214 lpj_fine = lpj; in tsc_init()
|
/linux-4.1.27/arch/metag/kernel/ |
D | setup.c | 469 unsigned long lpj; in show_cpuinfo() local 481 lpj = per_cpu(cpu_data, i).loops_per_jiffy; in show_cpuinfo() 492 lpj / (500000 / HZ), (lpj / (5000 / HZ)) % 100, in show_cpuinfo() 493 lpj, in show_cpuinfo()
|
/linux-4.1.27/arch/ia64/kernel/ |
D | setup.c | 638 # define lpj c->loops_per_jiffy in show_cpuinfo() macro 641 # define lpj loops_per_jiffy in show_cpuinfo() 703 lpj*HZ/500000, (lpj*HZ/5000) % 100); in show_cpuinfo()
|
/linux-4.1.27/arch/arm/configs/ |
D | u300_defconfig | 23 CONFIG_CMDLINE="root=/dev/ram0 rw rootfstype=rootfs console=ttyAMA0,115200n8 lpj=515072"
|
/linux-4.1.27/kernel/printk/ |
D | printk.c | 949 unsigned long lpj; in boot_delay_setup() local 951 lpj = preset_lpj ? preset_lpj : 1000000; /* some guess */ in boot_delay_setup() 952 loops_per_msec = (unsigned long long)lpj / 1000 * HZ; in boot_delay_setup() 960 boot_delay, preset_lpj, lpj, HZ, loops_per_msec); in boot_delay_setup()
|
/linux-4.1.27/Documentation/timers/ |
D | timekeeping.txt | 164 loop to delay a certain number of jiffy fractions using a "lpj" (loops per
|
/linux-4.1.27/lib/ |
D | Kconfig.debug | 38 It is likely that you would also need to use "lpj=M" to preset 40 See a previous boot log for the "lpj" value to use for your 41 system, and then set "lpj=M" before setting "boot_delay=N".
|
/linux-4.1.27/Documentation/ |
D | kernel-parameters.txt | 1913 lpj=n [KNL]
|