Home
last modified time | relevance | path

Searched refs:nsec (Results 1 – 12 of 12) sorted by relevance

/arch/xtensa/include/asm/
Ddelay.h55 static inline void __ndelay(unsigned long nsec) in __ndelay() argument
61 unsigned long cycles = (nsec * (ccount_freq >> 15)) >> 15; in __ndelay()
67 static inline void ndelay(unsigned long nsec) in ndelay() argument
69 if (__builtin_constant_p(nsec) && nsec >= __MAX_NDELAY) in ndelay()
72 __ndelay(nsec); in ndelay()
/arch/m68k/include/asm/
Ddelay.h116 static inline void ndelay(unsigned long nsec) in ndelay() argument
118 __delay(DIV_ROUND_UP(nsec * in ndelay()
/arch/mips/kernel/
Dbinfmt_elfo32.c97 u64 nsec = (u64)jiffies * TICK_NSEC; in jiffies_to_old_timeval32() local
99 value->tv_sec = div_u64_rem(nsec, NSEC_PER_SEC, &rem); in jiffies_to_old_timeval32()
Dbinfmt_elfn32.c92 u64 nsec = (u64)jiffies * TICK_NSEC; in jiffies_to_old_timeval32() local
94 value->tv_sec = div_u64_rem(nsec, NSEC_PER_SEC, &rem); in jiffies_to_old_timeval32()
/arch/arm/vdso/
Dvgettimeofday.c112 u64 nsec; in get_ns() local
119 nsec = (cycle_delta * vdata->cs_mult) + vdata->xtime_clock_snsec; in get_ns()
120 nsec >>= vdata->cs_shift; in get_ns()
122 return nsec; in get_ns()
/arch/x86/include/asm/
Dpvclock-abi.h40 u32 nsec; member
/arch/x86/include/uapi/asm/
Dkvm_para.h69 __s64 nsec; member
/arch/x86/kernel/
Dpvclock.c133 now.tv_nsec = wall_clock->nsec; in pvclock_read_wallclock()
/arch/x86/kvm/
Dx86.h308 static inline u64 nsec_to_cycles(struct kvm_vcpu *vcpu, u64 nsec) in nsec_to_cycles() argument
310 return pvclock_scale_delta(nsec, vcpu->arch.virtual_tsc_mult, in nsec_to_cycles()
Dx86.c1721 wc.nsec = boot.tv_nsec; in kvm_write_wall_clock()
7455 clock_pairing.nsec = ts.tv_nsec; in kvm_pv_clock_pairing()
/arch/s390/kernel/
Dtime.c124 unsigned long long high, low, rem, sec, nsec; in ext_to_timespec64() local
132 nsec = (((low >> 32) + (rem << 32)) * 1000) >> 32; in ext_to_timespec64()
135 xt->tv_nsec = nsec; in ext_to_timespec64()
/arch/arm/xen/
Denlighten.c85 now.tv_nsec = wall_clock->nsec; in xen_read_wallclock()