Searched refs:nsec (Results 1 – 11 of 11) sorted by relevance
55 static inline void __ndelay(unsigned long nsec) in __ndelay() argument61 unsigned long cycles = (nsec * (ccount_freq >> 15)) >> 15; in __ndelay()67 static inline void ndelay(unsigned long nsec) in ndelay() argument69 if (__builtin_constant_p(nsec) && nsec >= __MAX_NDELAY) in ndelay()72 __ndelay(nsec); in ndelay()
116 static inline void ndelay(unsigned long nsec) in ndelay() argument118 __delay(DIV_ROUND_UP(nsec * in ndelay()
40 u32 nsec; member
90 void time_travel_ndelay(unsigned long nsec);
76 __s64 nsec; member
133 now.tv_nsec = wall_clock->nsec; in pvclock_read_wallclock()
116 unsigned long rem, sec, nsec; in ext_to_timespec64() local120 nsec = ((clk->sus + (rem << 12)) * 125) >> 9; in ext_to_timespec64()122 xt->tv_nsec = nsec; in ext_to_timespec64()
352 static inline u64 nsec_to_cycles(struct kvm_vcpu *vcpu, u64 nsec) in nsec_to_cycles() argument354 return pvclock_scale_delta(nsec, vcpu->arch.virtual_tsc_mult, in nsec_to_cycles()
2191 wc.nsec = do_div(wall_nsec, 1000000000); in kvm_write_wall_clock()8800 clock_pairing.nsec = ts.tv_nsec; in kvm_pv_clock_pairing()
450 void time_travel_ndelay(unsigned long nsec) in time_travel_ndelay() argument457 time_travel_update_time_rel(nsec); in time_travel_ndelay()
85 now.tv_nsec = wall_clock->nsec; in xen_read_wallclock()