Home
last modified time | relevance | path

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

12

/openbmc/linux/init/
H A Dcalibrate.c193 lpj = (1<<12); in calibrate_delay_converge()
218 lpj = lpj_base; 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()
243 lpj_base = lpj; in calibrate_delay_converge()
248 return lpj; in calibrate_delay_converge()
277 unsigned long lpj; in calibrate_delay() local
287 lpj = preset_lpj; in calibrate_delay()
292 lpj = lpj_fine; in calibrate_delay()
[all …]
/openbmc/linux/arch/mips/lib/
H 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()
/openbmc/linux/arch/mips/kernel/
H 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()
/openbmc/linux/arch/sparc/include/asm/
H A Ddelay_32.h24 void __udelay(unsigned long usecs, unsigned long lpj);
25 void __ndelay(unsigned long nsecs, unsigned long lpj);
/openbmc/linux/arch/x86/kernel/
H 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()
/openbmc/linux/arch/loongarch/kernel/
H A Dtime.c106 unsigned long lpj = (unsigned long)const_clock_freq; in get_loops_per_jiffy() local
108 do_div(lpj, HZ); in get_loops_per_jiffy()
110 return lpj; in get_loops_per_jiffy()
/openbmc/linux/arch/x86/lib/
H 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()
/openbmc/linux/arch/x86/kernel/cpu/
H A Dvmware.c393 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()
/openbmc/u-boot/configs/
H A Dvinco_defconfig10 …console=ttyS0,115200 earlyprintk rw root=/dev/mmcblk0p2 rootfstype=ext4 rootwait quiet lpj=1990656"
H A Dls1012a2g5rdb_qspi_defconfig17 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 quiet lpj=250…
H A Dls1012afrdm_qspi_defconfig16 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 quiet lpj=250…
H A Dls1012afrdm_tfa_defconfig16 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 quiet lpj=250…
H A Dls1012a2g5rdb_tfa_defconfig17 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 quiet lpj=250…
H A Dls1012afrwy_tfa_defconfig16 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 quiet lpj=250…
H A Dls1012afrwy_tfa_SECURE_BOOT_defconfig17 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 quiet lpj=250…
H A Dls1012afrwy_qspi_SECURE_BOOT_defconfig17 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 quiet lpj=250…
H A Dls1012afrwy_qspi_defconfig16 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 quiet lpj=250…
H A Dls1012ardb_qspi_defconfig17 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 quiet lpj=250…
H A Dls1012ardb_tfa_defconfig17 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 quiet lpj=250…
H A Dls1012ardb_qspi_SECURE_BOOT_defconfig18 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 quiet lpj=250…
H A Dls1012ardb_tfa_SECURE_BOOT_defconfig18 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 quiet lpj=250…
H A Dls1012aqds_tfa_SECURE_BOOT_defconfig17 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 quiet lpj=250…
H A Dls1012aqds_qspi_defconfig17 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 quiet lpj=250…
/openbmc/linux/arch/arm/kernel/
H A Dsmp.c799 unsigned int lpj; in cpufreq_callback() local
823 lpj = cpufreq_scale(per_cpu(l_p_j_ref, first), in cpufreq_callback()
826 per_cpu(cpu_data, cpu).loops_per_jiffy = lpj; in cpufreq_callback()
/openbmc/linux/arch/ia64/kernel/
H A Dsetup.c658 # define lpj c->loops_per_jiffy in show_cpuinfo() macro
661 # define lpj loops_per_jiffy in show_cpuinfo()
723 lpj*HZ/500000, (lpj*HZ/5000) % 100); in show_cpuinfo()

12