/linux-4.1.27/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/ |
D | Util.pm | 32 sub nsecs subroutine 34 my ($secs, $nsecs) = @_; 36 return $secs * $NSECS_PER_SEC + $nsecs; 40 my ($nsecs) = @_; 42 return $nsecs / $NSECS_PER_SEC; 46 my ($nsecs) = @_; 48 return $nsecs % $NSECS_PER_SEC; 52 my ($nsecs) = @_; 54 my $str = sprintf("%5u.%09u", nsecs_secs($nsecs), nsecs_nsecs($nsecs));
|
/linux-4.1.27/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
D | Util.py | 22 def nsecs(secs, nsecs): function 23 return secs * NSECS_PER_SEC + nsecs 25 def nsecs_secs(nsecs): argument 26 return nsecs / NSECS_PER_SEC 28 def nsecs_nsecs(nsecs): argument 29 return nsecs % NSECS_PER_SEC 31 def nsecs_str(nsecs): argument 32 str = "%5u.%09u" % (nsecs_secs(nsecs), nsecs_nsecs(nsecs)),
|
D | Core.py | 113 self.nsecs = common_nsecs 119 return (self.secs * (10 ** 9)) + self.nsecs 122 return "%d.%d" % (self.secs, int(self.nsecs / 1000))
|
/linux-4.1.27/arch/um/os-Linux/ |
D | time.c | 93 static unsigned long long sleep_time(unsigned long long nsecs) in sleep_time() argument 95 return nsecs; in sleep_time() 124 static unsigned long long sleep_time(unsigned long long nsecs) in sleep_time() argument 126 return nsecs > skew ? nsecs - skew : 0; in sleep_time() 167 void idle_sleep(unsigned long long nsecs) in idle_sleep() argument 176 if (nsecs == 0) in idle_sleep() 177 nsecs = UM_NSEC_PER_SEC / UM_HZ; in idle_sleep() 179 nsecs = sleep_time(nsecs); in idle_sleep() 180 ts = ((struct timespec) { .tv_sec = nsecs / UM_NSEC_PER_SEC, in idle_sleep() 181 .tv_nsec = nsecs % UM_NSEC_PER_SEC }); in idle_sleep()
|
/linux-4.1.27/drivers/spi/ |
D | spi-bitbang.c | 48 unsigned nsecs; /* (clock cycle time)/2 */ member 49 u32 (*txrx_word)(struct spi_device *spi, unsigned nsecs, 54 unsigned nsecs, 62 unsigned nsecs, in bitbang_txrx_8() argument 88 unsigned nsecs, in bitbang_txrx_16() argument 114 unsigned nsecs, in bitbang_txrx_32() argument 167 cs->nsecs = (1000000000/2) / hz; in spi_bitbang_setup_transfer() 168 if (cs->nsecs > (MAX_UDELAY_MS * 1000 * 1000)) in spi_bitbang_setup_transfer() 205 dev_dbg(&spi->dev, "%s, %u nsec/bit\n", __func__, 2 * cs->nsecs); in spi_bitbang_setup() 216 ndelay(cs->nsecs); in spi_bitbang_setup() [all …]
|
D | spi-bitbang-txrx.h | 47 unsigned nsecs, unsigned cpol, unsigned flags, in bitbang_txrx_be_cpha0() argument 63 spidelay(nsecs); /* T(setup) */ in bitbang_txrx_be_cpha0() 66 spidelay(nsecs); in bitbang_txrx_be_cpha0() 79 unsigned nsecs, unsigned cpol, unsigned flags, in bitbang_txrx_be_cpha1() argument 96 spidelay(nsecs); /* T(setup) */ in bitbang_txrx_be_cpha1() 99 spidelay(nsecs); in bitbang_txrx_be_cpha1()
|
D | spi-gpio.c | 134 #define spidelay(nsecs) do {} while (0) argument 153 unsigned nsecs, u32 word, u8 bits) in spi_gpio_txrx_word_mode0() argument 155 return bitbang_txrx_be_cpha0(spi, nsecs, 0, 0, word, bits); in spi_gpio_txrx_word_mode0() 159 unsigned nsecs, u32 word, u8 bits) in spi_gpio_txrx_word_mode1() argument 161 return bitbang_txrx_be_cpha1(spi, nsecs, 0, 0, word, bits); in spi_gpio_txrx_word_mode1() 165 unsigned nsecs, u32 word, u8 bits) in spi_gpio_txrx_word_mode2() argument 167 return bitbang_txrx_be_cpha0(spi, nsecs, 1, 0, word, bits); in spi_gpio_txrx_word_mode2() 171 unsigned nsecs, u32 word, u8 bits) in spi_gpio_txrx_word_mode3() argument 173 return bitbang_txrx_be_cpha1(spi, nsecs, 1, 0, word, bits); in spi_gpio_txrx_word_mode3() 187 unsigned nsecs, u32 word, u8 bits) in spi_gpio_spec_txrx_word_mode0() argument [all …]
|
D | spi-sh-sci.c | 83 unsigned nsecs, u32 word, u8 bits) in sh_sci_spi_txrx_mode0() argument 85 return bitbang_txrx_be_cpha0(spi, nsecs, 0, 0, word, bits); in sh_sci_spi_txrx_mode0() 89 unsigned nsecs, u32 word, u8 bits) in sh_sci_spi_txrx_mode1() argument 91 return bitbang_txrx_be_cpha1(spi, nsecs, 0, 0, word, bits); in sh_sci_spi_txrx_mode1() 95 unsigned nsecs, u32 word, u8 bits) in sh_sci_spi_txrx_mode2() argument 97 return bitbang_txrx_be_cpha0(spi, nsecs, 1, 0, word, bits); in sh_sci_spi_txrx_mode2() 101 unsigned nsecs, u32 word, u8 bits) in sh_sci_spi_txrx_mode3() argument 103 return bitbang_txrx_be_cpha1(spi, nsecs, 1, 0, word, bits); in sh_sci_spi_txrx_mode3()
|
D | spi-ath79.c | 60 static inline void ath79_spi_delay(struct ath79_spi *sp, unsigned nsecs) in ath79_spi_delay() argument 62 if (nsecs > sp->rrw_delay) in ath79_spi_delay() 63 ndelay(nsecs - sp->rrw_delay); in ath79_spi_delay() 175 static u32 ath79_spi_txrx_mode0(struct spi_device *spi, unsigned nsecs, in ath79_spi_txrx_mode0() argument 192 ath79_spi_delay(sp, nsecs); in ath79_spi_txrx_mode0() 194 ath79_spi_delay(sp, nsecs); in ath79_spi_txrx_mode0()
|
D | spi-sh-hspi.c | 160 const int nsecs = 50; in hspi_transfer_one_message() local 171 ndelay(nsecs); in hspi_transfer_one_message() 205 ndelay(nsecs); in hspi_transfer_one_message() 207 ndelay(nsecs); in hspi_transfer_one_message() 213 ndelay(nsecs); in hspi_transfer_one_message()
|
D | spi-lm70llp.c | 188 static u32 lm70_txrx(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) in lm70_txrx() argument 190 return bitbang_txrx_be_cpha0(spi, nsecs, 0, 0, word, bits); in lm70_txrx()
|
D | spi-butterfly.c | 153 unsigned nsecs, in butterfly_txrx_word_mode0() argument 156 return bitbang_txrx_be_cpha0(spi, nsecs, 0, 0, word, bits); in butterfly_txrx_word_mode0()
|
D | spi-fsl-spi.c | 362 const int nsecs = 50; in fsl_spi_do_one_msg() local 389 ndelay(nsecs); in fsl_spi_do_one_msg() 404 ndelay(nsecs); in fsl_spi_do_one_msg() 406 ndelay(nsecs); in fsl_spi_do_one_msg() 414 ndelay(nsecs); in fsl_spi_do_one_msg()
|
D | spi-fsl-lib.h | 63 unsigned nsecs; /* (clock cycle time)/2 */ member
|
D | spi-xtensa-xtfpga.c | 56 static u32 xtfpga_spi_txrx_word(struct spi_device *spi, unsigned nsecs, in xtfpga_spi_txrx_word() argument
|
/linux-4.1.27/arch/s390/lib/ |
D | delay.c | 117 void __ndelay(unsigned long long nsecs) in __ndelay() argument 121 nsecs <<= 9; in __ndelay() 122 do_div(nsecs, 125); in __ndelay() 123 end = get_tod_clock_fast() + nsecs; in __ndelay() 124 if (nsecs & ~0xfffUL) in __ndelay() 125 __udelay(nsecs >> 12); in __ndelay()
|
/linux-4.1.27/arch/alpha/lib/ |
D | udelay.c | 49 ndelay(unsigned long nsecs) in ndelay() argument 51 nsecs *= (((unsigned long)HZ << 32) / 1000000000) * LPJ; in ndelay() 52 __delay((long)nsecs >> 32); in ndelay()
|
/linux-4.1.27/arch/arm/plat-omap/ |
D | counter_32k.c | 59 unsigned long long nsecs; in omap_read_persistent_clock64() local 65 nsecs = clocksource_cyc2ns(cycles - last_cycles, in omap_read_persistent_clock64() 68 timespec64_add_ns(&persistent_ts, nsecs); in omap_read_persistent_clock64()
|
/linux-4.1.27/arch/arm/vdso/ |
D | vgettimeofday.c | 138 u64 nsecs; in do_realtime() local 148 nsecs = get_ns(vdata); in do_realtime() 153 timespec_add_ns(ts, nsecs); in do_realtime() 161 u64 nsecs; in do_monotonic() local 171 nsecs = get_ns(vdata); in do_monotonic() 180 timespec_add_ns(ts, nsecs + tomono.tv_nsec); in do_monotonic()
|
/linux-4.1.27/tools/perf/scripts/python/ |
D | netdev-times.py | 230 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec) 236 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec) 242 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec) 247 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, 252 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, irq, ret) 256 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, 262 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, 268 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, 274 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, 280 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, [all …]
|
D | futex-contention.py | 32 thread_blocktime[tid] = nsecs(s, ns) 37 elapsed = nsecs(s, ns) - thread_blocktime[tid]
|
D | check-perf-trace.py | 60 def print_header(event_name, cpu, secs, nsecs, pid, comm): argument 62 (event_name, cpu, secs, nsecs, pid, comm),
|
/linux-4.1.27/tools/perf/Documentation/ |
D | perf-script-perl.txt | 99 $common_nsecs the nsecs portion of the event timestamp 208 nsecs($secs, $nsecs) - returns total nsecs given secs/nsecs pair 209 nsecs_secs($nsecs) - returns whole secs portion given nsecs 210 nsecs_nsecs($nsecs) - returns nsecs remainder given nsecs 211 nsecs_str($nsecs) - returns printable string in the form secs.nsecs
|
D | perf-script-python.txt | 157 def print_header(event_name, cpu, secs, nsecs, pid, comm): 159 (event_name, cpu, secs, nsecs, pid, comm), 495 common_nsecs the nsecs portion of the event timestamp 612 nsecs(secs, nsecs) - returns total nsecs given secs/nsecs pair 613 nsecs_secs(nsecs) - returns whole secs portion given nsecs 614 nsecs_nsecs(nsecs) - returns nsecs remainder given nsecs 615 nsecs_str(nsecs) - returns printable string in the form secs.nsecs
|
D | perf-timechart.txt | 69 --io-min-time=<nsecs>:: 74 --io-merge-dist=<nsecs>::
|
/linux-4.1.27/arch/um/kernel/ |
D | time.c | 105 long long nsecs = os_nsecs(); in read_persistent_clock() local 107 set_normalized_timespec(ts, nsecs / NSEC_PER_SEC, in read_persistent_clock() 108 nsecs % NSEC_PER_SEC); in read_persistent_clock()
|
D | process.c | 204 unsigned long long nsecs; in arch_cpu_idle() local 207 nsecs = disable_timer(); in arch_cpu_idle() 208 idle_sleep(nsecs); in arch_cpu_idle()
|
/linux-4.1.27/arch/sh/lib64/ |
D | udelay.c | 46 void __ndelay(unsigned long nsecs) in __ndelay() argument 48 __const_udelay(nsecs * 0x00000005); in __ndelay()
|
/linux-4.1.27/tools/perf/util/ |
D | debug.c | 54 u64 secs, usecs, nsecs = t; in __eprintf_time() local 56 secs = nsecs / NSECS_PER_SEC; in __eprintf_time() 57 nsecs -= secs * NSECS_PER_SEC; in __eprintf_time() 58 usecs = nsecs / NSECS_PER_USEC; in __eprintf_time()
|
/linux-4.1.27/arch/sh/lib/ |
D | delay.c | 49 void __ndelay(unsigned long nsecs) in __ndelay() argument 51 __const_udelay(nsecs * 0x00000005); in __ndelay()
|
/linux-4.1.27/arch/blackfin/include/asm/ |
D | delay.h | 44 static inline void ndelay(unsigned long nsecs) in ndelay() argument 46 __delay(__to_delay(1) * nsecs / 1000); in ndelay()
|
/linux-4.1.27/arch/x86/um/ |
D | delay.c | 56 void __ndelay(unsigned long nsecs) in __ndelay() argument 58 __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
D | dfs.c | 38 u32 nsecs; in dur_to_usecs() local 41 nsecs = dur * AR93X_NSECS_PER_DUR_FAST; in dur_to_usecs() 43 nsecs = dur * AR93X_NSECS_PER_DUR; in dur_to_usecs() 45 return (nsecs + 500) / 1000; in dur_to_usecs()
|
/linux-4.1.27/arch/arm64/lib/ |
D | delay.c | 51 void __ndelay(unsigned long nsecs) in __ndelay() argument 53 __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/linux-4.1.27/arch/avr32/lib/ |
D | delay.c | 54 void __ndelay(unsigned long nsecs) in __ndelay() argument 56 __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/linux-4.1.27/arch/nios2/lib/ |
D | delay.c | 48 void __ndelay(unsigned long nsecs) in __ndelay() argument 50 __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/linux-4.1.27/arch/tile/lib/ |
D | delay.c | 30 void __ndelay(unsigned long nsecs) in __ndelay() argument 33 target += ns2cycles(nsecs); in __ndelay()
|
/linux-4.1.27/arch/openrisc/lib/ |
D | delay.c | 56 void __ndelay(unsigned long nsecs) in __ndelay() argument 58 __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/linux-4.1.27/arch/metag/lib/ |
D | delay.c | 52 void __ndelay(unsigned long nsecs) in __ndelay() argument 54 __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/linux-4.1.27/arch/m32r/lib/ |
D | delay.c | 121 void __ndelay(unsigned long nsecs) in __ndelay() argument 123 __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/linux-4.1.27/tools/perf/bench/ |
D | futex-hash.c | 25 static unsigned int nsecs = 10; variable 46 OPT_UINTEGER('r', "runtime", &nsecs, "Specify runtime (in seconds)"), 142 getpid(), nthreads, nfutexes, fshared ? "shared":"private", nsecs); in bench_futex_hash() 179 sleep(nsecs); in bench_futex_hash()
|
/linux-4.1.27/kernel/time/ |
D | timekeeping.c | 646 s64 nsecs = 0; in __getnstimeofday64() local 652 nsecs = timekeeping_get_ns(&tk->tkr_mono); in __getnstimeofday64() 657 timespec64_add_ns(ts, nsecs); in __getnstimeofday64() 686 s64 nsecs; in ktime_get() local 693 nsecs = timekeeping_get_ns(&tk->tkr_mono); in ktime_get() 697 return ktime_add_ns(base, nsecs); in ktime_get() 712 s64 nsecs; in ktime_get_with_offset() local 719 nsecs = timekeeping_get_ns(&tk->tkr_mono); in ktime_get_with_offset() 723 return ktime_add_ns(base, nsecs); in ktime_get_with_offset() 756 s64 nsecs; in ktime_get_raw() local [all …]
|
/linux-4.1.27/arch/x86/lib/ |
D | delay.c | 135 void __ndelay(unsigned long nsecs) in __ndelay() argument 137 __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/linux-4.1.27/tools/perf/scripts/perl/ |
D | wakeup-latency.pl | 37 my $switch_ts = nsecs($common_secs, $common_nsecs); 57 $last_wakeup{$target_cpu}{ts} = nsecs($common_secs, $common_nsecs);
|
D | check-perf-trace.pl | 102 my ($event_name, $cpu, $secs, $nsecs, $pid, $comm) = @_; 105 $event_name, $cpu, $secs, $nsecs, $pid, $comm);
|
/linux-4.1.27/arch/um/os-Linux/skas/ |
D | process.c | 319 unsigned long long nsecs, now; in userspace() local 330 nsecs = timer.it_value.tv_sec * UM_NSEC_PER_SEC + in userspace() 332 nsecs += os_nsecs(); in userspace() 406 if (now < nsecs) in userspace() 411 nsecs = timer.it_value.tv_sec * in userspace() 415 nsecs += os_nsecs(); in userspace()
|
/linux-4.1.27/arch/tile/kernel/ |
D | time.c | 232 cycles_t ns2cycles(unsigned long nsecs) in ns2cycles() argument 245 u64 quot = (u64)nsecs >> dev->shift; in ns2cycles() 246 u64 rem = (u64)nsecs & ((1ULL << dev->shift) - 1); in ns2cycles()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.h | 171 #define FLASH_MAX_SIZE(nsecs) ((nsecs) * SF_SEC_SIZE) argument
|
/linux-4.1.27/arch/alpha/include/asm/ |
D | delay.h | 7 extern void ndelay(unsigned long nsecs);
|
/linux-4.1.27/arch/s390/include/asm/ |
D | delay.h | 15 void __ndelay(unsigned long long nsecs);
|
/linux-4.1.27/arch/tile/include/asm/ |
D | timex.h | 44 cycles_t ns2cycles(unsigned long nsecs);
|
D | delay.h | 23 extern void __ndelay(unsigned long nsecs);
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | delay_32.h | 24 void __ndelay(unsigned long nsecs, unsigned long lpj);
|
/linux-4.1.27/include/asm-generic/ |
D | delay.h | 9 extern void __ndelay(unsigned long nsecs);
|
/linux-4.1.27/arch/metag/include/asm/ |
D | delay.h | 15 extern void __ndelay(unsigned long nsecs);
|
/linux-4.1.27/fs/omfs/ |
D | inode.c | 206 unsigned long nsecs; in omfs_iget() local 229 nsecs = do_div(ctime, 1000) * 1000L; in omfs_iget() 234 inode->i_atime.tv_nsec = nsecs; in omfs_iget() 235 inode->i_mtime.tv_nsec = nsecs; in omfs_iget() 236 inode->i_ctime.tv_nsec = nsecs; in omfs_iget()
|
/linux-4.1.27/include/linux/ |
D | ktime.h | 50 static inline ktime_t ktime_set(const s64 secs, const unsigned long nsecs) in ktime_set() argument 55 return (ktime_t) { .tv64 = secs * NSEC_PER_SEC + (s64)nsecs }; in ktime_set()
|
/linux-4.1.27/include/linux/spi/ |
D | spi_bitbang.h | 31 unsigned nsecs,
|
/linux-4.1.27/tools/perf/util/scripting-engines/ |
D | trace-event-perl.c | 259 unsigned long long nsecs = sample->time; in perl_process_tracepoint() local 277 s = nsecs / NSECS_PER_SEC; in perl_process_tracepoint() 278 ns = nsecs - s * NSECS_PER_SEC; in perl_process_tracepoint() 325 XPUSHs(sv_2mortal(newSVuv(nsecs))); in perl_process_tracepoint()
|
D | trace-event-python.c | 396 unsigned long long nsecs = sample->time; in python_process_tracepoint() local 419 s = nsecs / NSECS_PER_SEC; in python_process_tracepoint() 420 ns = nsecs - s * NSECS_PER_SEC; in python_process_tracepoint()
|
/linux-4.1.27/net/mac80211/ |
D | rc80211_minstrel_ht.c | 324 unsigned int nsecs = 0; in minstrel_ht_get_tp_avg() local 331 nsecs = 1000 * mi->overhead / MINSTREL_TRUNC(mi->avg_ampdu_len); in minstrel_ht_get_tp_avg() 333 nsecs += minstrel_mcs_groups[group].duration[rate]; in minstrel_ht_get_tp_avg() 342 / nsecs)); in minstrel_ht_get_tp_avg() 344 return MINSTREL_TRUNC(100000 * ((prob_ewma * 1000) / nsecs)); in minstrel_ht_get_tp_avg()
|
/linux-4.1.27/tools/perf/ |
D | builtin-script.c | 345 unsigned long long nsecs; in print_sample_start() local 371 nsecs = sample->time; in print_sample_start() 372 secs = nsecs / NSECS_PER_SEC; in print_sample_start() 373 nsecs -= secs * NSECS_PER_SEC; in print_sample_start() 374 usecs = nsecs / NSECS_PER_USEC; in print_sample_start()
|
D | builtin-sched.c | 185 static void burn_nsecs(struct perf_sched *sched, u64 nsecs) in burn_nsecs() argument 191 } while (T1 + sched->run_measurement_overhead < T0 + nsecs); in burn_nsecs() 194 static void sleep_nsecs(u64 nsecs) in sleep_nsecs() argument 198 ts.tv_nsec = nsecs % 999999999; in sleep_nsecs() 199 ts.tv_sec = nsecs / 999999999; in sleep_nsecs()
|
/linux-4.1.27/arch/um/include/shared/ |
D | os.h | 241 extern void idle_sleep(unsigned long long nsecs);
|
/linux-4.1.27/arch/mips/kernel/ |
D | vpe.c | 481 unsigned int nsecs, struct module *mod) in simplify_symbols() argument 489 for (i = 0; i < nsecs; i++) { in simplify_symbols()
|
/linux-4.1.27/include/xen/interface/ |
D | platform.h | 42 uint32_t nsecs; member
|
/linux-4.1.27/sound/drivers/ |
D | dummy.c | 447 unsigned long nsecs; in dummy_hrtimer_prepare() local 454 nsecs = div_u64((u64)period * 1000000000UL + rate - 1, rate); in dummy_hrtimer_prepare() 455 dpcm->period_time = ktime_set(sec, nsecs); in dummy_hrtimer_prepare()
|
/linux-4.1.27/Documentation/timers/ |
D | timers-howto.txt | 25 ndelay(unsigned long nsecs)
|
/linux-4.1.27/arch/x86/xen/ |
D | time.c | 213 op.u.settime.nsecs = now.tv_nsec; in xen_pvclock_gtod_notify()
|
/linux-4.1.27/drivers/base/power/ |
D | main.c | 208 s64 nsecs; in initcall_debug_report() local 211 nsecs = (s64) ktime_to_ns(ktime_sub(rettime, calltime)); in initcall_debug_report() 215 error, (unsigned long long)nsecs >> 10); in initcall_debug_report()
|
/linux-4.1.27/drivers/ata/ |
D | pata_octeon_cf.c | 74 static unsigned int ns_to_tim_reg(unsigned int tim_mult, unsigned int nsecs) in ns_to_tim_reg() argument 82 val = DIV_ROUND_UP(nsecs * (octeon_get_io_clock_rate() / 1000000), in ns_to_tim_reg()
|
/linux-4.1.27/kernel/trace/ |
D | trace.h | 603 extern unsigned long nsecs_to_usecs(unsigned long nsecs);
|
D | trace.c | 832 unsigned long nsecs_to_usecs(unsigned long nsecs) in nsecs_to_usecs() argument 834 return nsecs / 1000; in nsecs_to_usecs()
|
/linux-4.1.27/tools/lib/traceevent/ |
D | event-parse.c | 5211 unsigned long nsecs; in pevent_print_event() local 5224 nsecs = record->ts - secs * NSECS_PER_SEC; in pevent_print_event() 5252 usecs = nsecs; in pevent_print_event() 5255 usecs = (nsecs + 500) / NSECS_PER_USEC; in pevent_print_event()
|