Home
last modified time | relevance | path

Searched refs:nsecs (Results 1 – 25 of 63) sorted by relevance

123

/linux/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
H A DUtil.pm
/linux/drivers/spi/
H A Dspi-gpio.c87 #define spidelay(nsecs) do {} while (0) argument
106 unsigned int nsecs, u32 word, u8 bits, unsigned int flags) in spi_gpio_txrx_word_mode0() argument
109 return bitbang_txrx_le_cpha0(spi, nsecs, 0, flags, word, bits); in spi_gpio_txrx_word_mode0()
111 return bitbang_txrx_be_cpha0(spi, nsecs, 0, flags, word, bits); in spi_gpio_txrx_word_mode0()
115 unsigned int nsecs, u32 word, u8 bits, unsigned int flags) in spi_gpio_txrx_word_mode1() argument
118 return bitbang_txrx_le_cpha1(spi, nsecs, 0, flags, word, bits); in spi_gpio_txrx_word_mode1()
120 return bitbang_txrx_be_cpha1(spi, nsecs, 0, flags, word, bits); in spi_gpio_txrx_word_mode1()
124 unsigned int nsecs, u32 word, u8 bits, unsigned int flags) in spi_gpio_txrx_word_mode2() argument
127 return bitbang_txrx_le_cpha0(spi, nsecs, 1, flags, word, bits); in spi_gpio_txrx_word_mode2()
129 return bitbang_txrx_be_cpha0(spi, nsecs, in spi_gpio_txrx_word_mode2()
133 spi_gpio_txrx_word_mode3(struct spi_device * spi,unsigned int nsecs,u32 word,u8 bits,unsigned int flags) spi_gpio_txrx_word_mode3() argument
152 spi_gpio_spec_txrx_word_mode0(struct spi_device * spi,unsigned int nsecs,u32 word,u8 bits,unsigned int flags) spi_gpio_spec_txrx_word_mode0() argument
162 spi_gpio_spec_txrx_word_mode1(struct spi_device * spi,unsigned int nsecs,u32 word,u8 bits,unsigned int flags) spi_gpio_spec_txrx_word_mode1() argument
172 spi_gpio_spec_txrx_word_mode2(struct spi_device * spi,unsigned int nsecs,u32 word,u8 bits,unsigned int flags) spi_gpio_spec_txrx_word_mode2() argument
182 spi_gpio_spec_txrx_word_mode3(struct spi_device * spi,unsigned int nsecs,u32 word,u8 bits,unsigned int flags) spi_gpio_spec_txrx_word_mode3() argument
[all...]
H A Dspi-bitbang-txrx.h50 unsigned nsecs, unsigned cpol, unsigned flags, in bitbang_txrx_be_cpha0() argument
66 spidelay(nsecs); /* T(setup) */ in bitbang_txrx_be_cpha0()
69 spidelay(nsecs); in bitbang_txrx_be_cpha0()
82 unsigned nsecs, unsigned cpol, unsigned flags, in bitbang_txrx_be_cpha1() argument
99 spidelay(nsecs); /* T(setup) */ in bitbang_txrx_be_cpha1()
102 spidelay(nsecs); in bitbang_txrx_be_cpha1()
114 unsigned int nsecs, unsigned int cpol, unsigned int flags, in bitbang_txrx_le_cpha0() argument
131 spidelay(nsecs); /* T(setup) */ in bitbang_txrx_le_cpha0()
134 spidelay(nsecs); in bitbang_txrx_le_cpha0()
147 unsigned int nsecs, unsigned int cpol, unsigned int flags, in bitbang_txrx_le_cpha1() argument
[all …]
/linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DUtil.py
H A DCore.py
/linux/arch/um/os-Linux/
H A Dtime.c61 int os_timer_set_interval(int cpu, unsigned long long nsecs) in os_timer_set_interval() argument
65 its.it_value.tv_sec = nsecs / UM_NSEC_PER_SEC; in os_timer_set_interval()
66 its.it_value.tv_nsec = nsecs % UM_NSEC_PER_SEC; in os_timer_set_interval()
68 its.it_interval.tv_sec = nsecs / UM_NSEC_PER_SEC; in os_timer_set_interval()
69 its.it_interval.tv_nsec = nsecs % UM_NSEC_PER_SEC; in os_timer_set_interval()
77 int os_timer_one_shot(int cpu, unsigned long long nsecs) in os_timer_one_shot() argument
80 .it_value.tv_sec = nsecs / UM_NSEC_PER_SEC, in os_timer_one_shot()
81 .it_value.tv_nsec = nsecs % UM_NSEC_PER_SEC, in os_timer_one_shot()
/linux/arch/s390/lib/
H A Ddelay.c40 void __ndelay(unsigned long nsecs) in __ndelay() argument
42 nsecs <<= 9; in __ndelay()
43 do_div(nsecs, 125); in __ndelay()
44 delay_loop(nsecs); in __ndelay()
/linux/arch/um/include/asm/
H A Ddelay.h7 static inline void um_ndelay(unsigned long nsecs) in um_ndelay() argument
11 time_travel_ndelay(nsecs); in um_ndelay()
14 ndelay(nsecs); in um_ndelay()
/linux/arch/alpha/lib/
H A Dudelay.c51 ndelay(unsigned long nsecs) in ndelay() argument
53 nsecs *= (((unsigned long)HZ << 32) / 1000000000) * LPJ; in ndelay()
54 __delay((long)nsecs >> 32); in ndelay()
/linux/tools/perf/scripts/python/
H A Dnetdev-times.py
H A Dcompaction-times.py
H A Dpowerpc-hcalls.py
H A Dfutex-contention.py
H A Dcheck-perf-trace.py
/linux/tools/perf/Documentation/
H A Dperf-script-perl.txt
/linux/block/
H A Dgenhd.c118 stat->nsecs[group] += ptr->nsecs[group]; in part_stat_read_all()
1090 (unsigned int)div_u64(stat.nsecs[STAT_READ], NSEC_PER_MSEC), in part_stat_show()
1094 (unsigned int)div_u64(stat.nsecs[STAT_WRITE], NSEC_PER_MSEC), in part_stat_show()
1097 (unsigned int)div_u64(stat.nsecs[STAT_READ] + in part_stat_show()
1098 stat.nsecs[STAT_WRITE] + in part_stat_show()
1099 stat.nsecs[STAT_DISCARD] + in part_stat_show()
1100 stat.nsecs[STAT_FLUSH], in part_stat_show()
1105 (unsigned int)div_u64(stat.nsecs[STAT_DISCARD], NSEC_PER_MSEC), in part_stat_show()
1107 (unsigned int)div_u64(stat.nsecs[STAT_FLUS in part_stat_show()
[all...]
/linux/arch/sh/lib/
H A Ddelay.c50 void __ndelay(unsigned long nsecs) in __ndelay() argument
52 __const_udelay(nsecs * 0x00000005); in __ndelay()
/linux/arch/x86/um/
H A Ddelay.c53 void __ndelay(unsigned long nsecs) in __ndelay() argument
55 __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
/linux/arch/csky/lib/
H A Ddelay.c35 void __ndelay(unsigned long nsecs) in __ndelay() argument
37 __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
/linux/arch/nios2/lib/
H A Ddelay.c36 void __ndelay(unsigned long nsecs) in __ndelay() argument
38 __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
/linux/arch/arm/mach-omap1/
H A Dtimer32k.c193 unsigned long long nsecs; in omap_read_persistent_clock64() local
199 nsecs = clocksource_cyc2ns(cycles - last_cycles, in omap_read_persistent_clock64()
202 timespec64_add_ns(&persistent_ts, nsecs); in omap_read_persistent_clock64()
/linux/arch/arm64/lib/
H A Ddelay.c80 void __ndelay(unsigned long nsecs) in __ndelay() argument
82 __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
/linux/tools/perf/util/
H A Ddebug.c123 u64 secs, usecs, nsecs = t; in veprintf_time() local
125 secs = nsecs / NSEC_PER_SEC; in veprintf_time()
126 nsecs -= secs * NSEC_PER_SEC; in veprintf_time()
127 usecs = nsecs / NSEC_PER_USEC; in veprintf_time()
/linux/tools/perf/scripts/perl/
H A Dwakeup-latency.pl
H A Dcheck-perf-trace.pl

123