Searched refs:nsec (Results 1 – 12 of 12) sorted by relevance
/arch/xtensa/include/asm/ |
D | delay.h | 55 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/ |
D | delay.h | 116 static inline void ndelay(unsigned long nsec) in ndelay() argument 118 __delay(DIV_ROUND_UP(nsec * in ndelay()
|
/arch/mips/kernel/ |
D | binfmt_elfo32.c | 97 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()
|
D | binfmt_elfn32.c | 92 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/ |
D | vgettimeofday.c | 112 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/ |
D | pvclock-abi.h | 40 u32 nsec; member
|
/arch/x86/include/uapi/asm/ |
D | kvm_para.h | 69 __s64 nsec; member
|
/arch/x86/kernel/ |
D | pvclock.c | 133 now.tv_nsec = wall_clock->nsec; in pvclock_read_wallclock()
|
/arch/x86/kvm/ |
D | x86.h | 308 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()
|
D | x86.c | 1721 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/ |
D | time.c | 124 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/ |
D | enlighten.c | 85 now.tv_nsec = wall_clock->nsec; in xen_read_wallclock()
|