Home
last modified time | relevance | path

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

/linux-4.1.27/init/
Dcalibrate.c189 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/
Ddelay.c52 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/
Dvmware.c57 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/
Ddelay_32.h23 void __udelay(unsigned long usecs, unsigned long lpj);
24 void __ndelay(unsigned long nsecs, unsigned long lpj);
/linux-4.1.27/arch/x86/kernel/
Dkvmclock.c119 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()
Dtsc.c900 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/
Dsetup.c469 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/
Dsetup.c638 # 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/
Du300_defconfig23 CONFIG_CMDLINE="root=/dev/ram0 rw rootfstype=rootfs console=ttyAMA0,115200n8 lpj=515072"
/linux-4.1.27/kernel/printk/
Dprintk.c949 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/
Dtimekeeping.txt164 loop to delay a certain number of jiffy fractions using a "lpj" (loops per
/linux-4.1.27/lib/
DKconfig.debug38 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/
Dkernel-parameters.txt1913 lpj=n [KNL]