Home
last modified time | relevance | path

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

/arch/mips/lib/
A 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()
/arch/sparc/include/asm/
A Ddelay_32.h24 void __udelay(unsigned long usecs, unsigned long lpj);
25 void __ndelay(unsigned long nsecs, unsigned long lpj);
/arch/mips/kernel/
A 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()
/arch/x86/kernel/
A 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()
A Dtsc.c1495 u64 lpj = (u64)tsc_khz * KHZ; in get_loops_per_jiffy() local
1497 do_div(lpj, HZ); in get_loops_per_jiffy()
1498 return lpj; in get_loops_per_jiffy()
/arch/loongarch/kernel/
A Dtime.c125 unsigned long lpj = (unsigned long)const_clock_freq; in get_loops_per_jiffy() local
127 do_div(lpj, HZ); in get_loops_per_jiffy()
129 return lpj; in get_loops_per_jiffy()
/arch/x86/lib/
A 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()
/arch/x86/kernel/cpu/
A Dvmware.c402 u64 lpj, tsc_khz; in vmware_platform_setup() local
407 lpj = tsc_khz = eax | (((u64)ebx) << 32); in vmware_platform_setup()
415 do_div(lpj, HZ); in vmware_platform_setup()
416 preset_lpj = lpj; in vmware_platform_setup()
/arch/arm/kernel/
A Dsmp.c800 unsigned int lpj; in cpufreq_callback() local
824 lpj = cpufreq_scale(per_cpu(l_p_j_ref, first), in cpufreq_callback()
827 per_cpu(cpu_data, cpu).loops_per_jiffy = lpj; in cpufreq_callback()
/arch/mips/boot/dts/img/
A Dpistachio_marduk.dts25 bootargs = "root=/dev/sda1 rootwait ro lpj=723968";

Completed in 20 milliseconds