Home
last modified time | relevance | path

Searched full:usecs (Results 1 – 25 of 721) sorted by relevance

12345678910>>...29

/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/netdevsim/
Dethtool-coalesce.sh34 ["rx-usecs"]="rx-usecs"
36 ["rx-usecs-irq"]="rx-usecs-irq"
38 ["tx-usecs"]="tx-usecs"
40 ["tx-usecs-irq"]="tx-usecs-irq"
42 ["stats-block-usecs"]="stats-block-usecs"
44 ["rx-usecs-low"]="rx-usecs-low"
45 ["tx-usecs-low"]="tx-usecs-low"
47 ["rx-usecs-high"]="rx-usecs-high"
48 ["tx-usecs-high"]="tx-usecs-high"
57 ["rx-usecs"]=""
[all …]
/kernel/linux/linux-5.10/kernel/time/
Dtest_udelay.c6 * Tests are configured by writing: USECS ITERATIONS
8 * Specifying usecs of 0 or negative values will run multiples tests.
28 static int udelay_test_single(struct seq_file *s, int usecs, uint32_t iters) in udelay_test_single() argument
35 int allowed_error_ns = usecs * 5; in udelay_test_single()
42 udelay(usecs); in udelay_test_single()
50 if ((time_passed + allowed_error_ns) / 1000 < usecs) in udelay_test_single()
58 seq_printf(s, "%d usecs x %d: exp=%d allowed=%d min=%d avg=%lld max=%d", in udelay_test_single()
59 usecs, iters, usecs * 1000, in udelay_test_single()
60 (usecs * 1000) - allowed_error_ns, min, avg, max); in udelay_test_single()
70 int usecs; in udelay_test_show() local
[all …]
/kernel/linux/linux-6.6/kernel/time/
Dtest_udelay.c6 * Tests are configured by writing: USECS ITERATIONS
8 * Specifying usecs of 0 or negative values will run multiples tests.
27 static int udelay_test_single(struct seq_file *s, int usecs, uint32_t iters) in udelay_test_single() argument
34 int allowed_error_ns = usecs * 5; in udelay_test_single()
41 udelay(usecs); in udelay_test_single()
49 if ((time_passed + allowed_error_ns) / 1000 < usecs) in udelay_test_single()
57 seq_printf(s, "%d usecs x %d: exp=%d allowed=%d min=%d avg=%lld max=%d", in udelay_test_single()
58 usecs, iters, usecs * 1000, in udelay_test_single()
59 (usecs * 1000) - allowed_error_ns, min, avg, max); in udelay_test_single()
69 int usecs; in udelay_test_show() local
[all …]
/kernel/linux/linux-6.6/include/trace/events/
Dufs.h172 TP_printk("%s: %s: took %lld usecs, err %d",
193 TP_PROTO(const char *dev_name, int err, s64 usecs,
196 TP_ARGS(dev_name, err, usecs, dev_state, link_state),
199 __field(s64, usecs)
207 __entry->usecs = usecs;
215 "%s: took %lld usecs, dev_state: %s, link_state: %s, err %d",
217 __entry->usecs,
225 TP_PROTO(const char *dev_name, int err, s64 usecs,
227 TP_ARGS(dev_name, err, usecs, dev_state, link_state));
230 TP_PROTO(const char *dev_name, int err, s64 usecs,
[all …]
/kernel/linux/linux-5.10/arch/s390/lib/
Ddelay.c34 static void __udelay_disabled(unsigned long long usecs) in __udelay_disabled() argument
40 end = get_tod_clock() + (usecs << 12); in __udelay_disabled()
55 static void __udelay_enabled(unsigned long long usecs) in __udelay_enabled() argument
59 end = get_tod_clock_fast() + (usecs << 12); in __udelay_enabled()
73 * Waits for 'usecs' microseconds using the TOD clock comparator.
75 void __udelay(unsigned long long usecs) in __udelay() argument
82 __udelay_disabled(usecs); in __udelay()
87 __udelay_disabled(usecs); in __udelay()
89 __udelay_enabled(usecs); in __udelay()
94 __udelay_disabled(usecs); in __udelay()
[all …]
/kernel/linux/linux-5.10/arch/nds32/include/asm/
Ddelay.h20 static inline void __udelay(unsigned long usecs, unsigned long lpj) in __udelay() argument
22 usecs *= (unsigned long)(((0x8000000000000000ULL / (500000 / HZ)) + in __udelay()
24 usecs = (unsigned long)(((unsigned long long)usecs * lpj) >> 32); in __udelay()
25 __delay(usecs); in __udelay()
28 #define udelay(usecs) __udelay((usecs), loops_per_jiffy) argument
30 /* make sure "usecs *= ..." in udelay do not overflow. */
/kernel/linux/linux-6.6/arch/parisc/include/asm/
Ddelay.h13 extern void __udelay(unsigned long usecs);
14 extern void __udelay_bad(unsigned long usecs);
16 static inline void udelay(unsigned long usecs) in udelay() argument
18 if (__builtin_constant_p(usecs) && (usecs) > 20000) in udelay()
19 __udelay_bad(usecs); in udelay()
20 __udelay(usecs); in udelay()
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Ddelay.h13 extern void __udelay(unsigned long usecs);
14 extern void __udelay_bad(unsigned long usecs);
16 static inline void udelay(unsigned long usecs) in udelay() argument
18 if (__builtin_constant_p(usecs) && (usecs) > 20000) in udelay()
19 __udelay_bad(usecs); in udelay()
20 __udelay(usecs); in udelay()
/kernel/linux/linux-5.10/include/trace/events/
Dufs.h138 TP_printk("%s: %s: took %lld usecs, err %d",
159 TP_PROTO(const char *dev_name, int err, s64 usecs,
162 TP_ARGS(dev_name, err, usecs, dev_state, link_state),
165 __field(s64, usecs)
173 __entry->usecs = usecs;
181 "%s: took %lld usecs, dev_state: %s, link_state: %s, err %d",
183 __entry->usecs,
191 TP_PROTO(const char *dev_name, int err, s64 usecs,
193 TP_ARGS(dev_name, err, usecs, dev_state, link_state));
196 TP_PROTO(const char *dev_name, int err, s64 usecs,
[all …]
/kernel/linux/linux-5.10/Documentation/trace/
Dhwlat_detector.rst50 - width - time period to sample with CPUs held (usecs)
52 - window - total period of sampling, width being inside (usecs)
55 for every 1,000,000 usecs (1s) the hwlat detector will spin for 500,000 usecs
57 change to a default of 10 usecs. If any latencies that exceed the threshold is
74 - tracing_threshold - minimum latency value to be considered (usecs)
75 - tracing_max_latency - maximum hardware latency actually observed (usecs)
77 - hwlat_detector/width - specified amount of time to spin within window (usecs)
78 - hwlat_detector/window - amount of time between (width) runs (usecs)
/kernel/linux/linux-6.6/Documentation/trace/
Dhwlat_detector.rst50 - width - time period to sample with CPUs held (usecs)
52 - window - total period of sampling, width being inside (usecs)
55 for every 1,000,000 usecs (1s) the hwlat detector will spin for 500,000 usecs
57 change to a default of 10 usecs. If any latencies that exceed the threshold is
74 - tracing_threshold - minimum latency value to be considered (usecs)
75 - tracing_max_latency - maximum hardware latency actually observed (usecs)
77 - hwlat_detector/width - specified amount of time to spin within window (usecs)
78 - hwlat_detector/window - amount of time between (width) runs (usecs)
/kernel/linux/linux-5.10/include/linux/
Ddelay.h69 static inline void fsleep(unsigned long usecs) in fsleep() argument
71 if (usecs <= 10) in fsleep()
72 udelay(usecs); in fsleep()
73 else if (usecs <= 20000) in fsleep()
74 usleep_range(usecs, 2 * usecs); in fsleep()
76 msleep(DIV_ROUND_UP(usecs, 1000)); in fsleep()
Dlatencytop.h31 void __account_scheduler_latency(struct task_struct *task, int usecs, int inter);
33 account_scheduler_latency(struct task_struct *task, int usecs, int inter) in account_scheduler_latency() argument
36 __account_scheduler_latency(task, usecs, inter); in account_scheduler_latency()
47 account_scheduler_latency(struct task_struct *task, int usecs, int inter) in account_scheduler_latency() argument
/kernel/linux/linux-6.6/include/linux/
Ddelay.h82 static inline void fsleep(unsigned long usecs) in fsleep() argument
84 if (usecs <= 10) in fsleep()
85 udelay(usecs); in fsleep()
86 else if (usecs <= 20000) in fsleep()
87 usleep_range(usecs, 2 * usecs); in fsleep()
89 msleep(DIV_ROUND_UP(usecs, 1000)); in fsleep()
Dlatencytop.h31 void __account_scheduler_latency(struct task_struct *task, int usecs, int inter);
33 account_scheduler_latency(struct task_struct *task, int usecs, int inter) in account_scheduler_latency() argument
36 __account_scheduler_latency(task, usecs, inter); in account_scheduler_latency()
44 account_scheduler_latency(struct task_struct *task, int usecs, int inter) in account_scheduler_latency() argument
/kernel/linux/linux-5.10/drivers/media/cec/core/
Dcec-pin-error-inj.c128 if (!strcmp(token, "tx-custom-low-usecs")) { in cec_pin_error_inj_parse_line()
129 u32 usecs; in cec_pin_error_inj_parse_line() local
131 if (kstrtou32(p, 0, &usecs) || usecs > 10000000) in cec_pin_error_inj_parse_line()
133 pin->tx_custom_low_usecs = usecs; in cec_pin_error_inj_parse_line()
136 if (!strcmp(token, "tx-custom-high-usecs")) { in cec_pin_error_inj_parse_line()
137 u32 usecs; in cec_pin_error_inj_parse_line() local
139 if (kstrtou32(p, 0, &usecs) || usecs > 10000000) in cec_pin_error_inj_parse_line()
141 pin->tx_custom_high_usecs = usecs; in cec_pin_error_inj_parse_line()
284 …seq_puts(sf, "# tx-custom-low-usecs <usecs> define the 'low' time for the custom pulse\n"… in cec_pin_error_inj_show()
285 …seq_puts(sf, "# tx-custom-high-usecs <usecs> define the 'high' time for the custom pulse\n… in cec_pin_error_inj_show()
[all …]
/kernel/linux/linux-6.6/drivers/media/cec/core/
Dcec-pin-error-inj.c128 if (!strcmp(token, "tx-custom-low-usecs")) { in cec_pin_error_inj_parse_line()
129 u32 usecs; in cec_pin_error_inj_parse_line() local
131 if (kstrtou32(p, 0, &usecs) || usecs > 10000000) in cec_pin_error_inj_parse_line()
133 pin->tx_custom_low_usecs = usecs; in cec_pin_error_inj_parse_line()
136 if (!strcmp(token, "tx-custom-high-usecs")) { in cec_pin_error_inj_parse_line()
137 u32 usecs; in cec_pin_error_inj_parse_line() local
139 if (kstrtou32(p, 0, &usecs) || usecs > 10000000) in cec_pin_error_inj_parse_line()
141 pin->tx_custom_high_usecs = usecs; in cec_pin_error_inj_parse_line()
284 …seq_puts(sf, "# tx-custom-low-usecs <usecs> define the 'low' time for the custom pulse\n"… in cec_pin_error_inj_show()
285 …seq_puts(sf, "# tx-custom-high-usecs <usecs> define the 'high' time for the custom pulse\n… in cec_pin_error_inj_show()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/
Ddfs_pri_detector.h27 * @pri: pulse repetition interval (PRI) in usecs
28 * @dur: duration of sequence in usecs
31 * @first_ts: time stamp of first pulse in usecs
32 * @last_ts: time stamp of last pulse in usecs
52 * @last_ts: last pulse time stamp considered for this element in usecs
57 * @window_size: window size back from newest pulse time stamp in usecs
/kernel/linux/linux-6.6/drivers/net/wireless/ath/
Ddfs_pri_detector.h27 * @pri: pulse repetition interval (PRI) in usecs
28 * @dur: duration of sequence in usecs
31 * @first_ts: time stamp of first pulse in usecs
32 * @last_ts: time stamp of last pulse in usecs
52 * @last_ts: last pulse time stamp considered for this element in usecs
57 * @window_size: window size back from newest pulse time stamp in usecs
/kernel/linux/linux-6.6/Documentation/netlink/specs/
Dethtool.yaml425 name: rx-usecs
431 name: rx-usecs-irq
437 name: tx-usecs
443 name: tx-usecs-irq
449 name: stats-block-usecs
461 name: rx-usecs-low
467 name: tx-usecs-low
476 name: rx-usecs-high
482 name: tx-usecs-high
503 name: tx-aggr-time-usecs
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
Dtrigger-inter-event-combined-hist.tc20 echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_waking/trigger
21 echo 'hist:keys=pid:waking_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).waking_laten…
25 echo 'hist:keys=pid:ts1=common_timestamp.usecs if comm=="ping"' >> events/sched/sched_wakeup/trigger
26 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts1:onmatch(sched.sched_wakeup).wakeup_…
/kernel/linux/linux-6.6/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
Dtrigger-inter-event-combined-hist.tc20 echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_waking/trigger
21 echo 'hist:keys=pid:waking_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).waking_laten…
25 echo 'hist:keys=pid:ts1=common_timestamp.usecs if comm=="ping"' >> events/sched/sched_wakeup/trigger
26 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts1:onmatch(sched.sched_wakeup).wakeup_…
/kernel/linux/linux-5.10/arch/hexagon/include/asm/
Ddelay.h12 extern void __udelay(unsigned long usecs);
14 #define udelay(usecs) __udelay((usecs)) argument
/kernel/linux/linux-6.6/arch/hexagon/include/asm/
Ddelay.h12 extern void __udelay(unsigned long usecs);
14 #define udelay(usecs) __udelay((usecs)) argument
/kernel/linux/linux-5.10/arch/arc/include/asm/
Ddelay.h37 * Normal Math for computing loops in "N" usecs
40 * loops per "N" usecs = ((loops_per_jiffy * HZ / 1000000) * N)
54 static inline void __udelay(unsigned long usecs) in __udelay() argument
61 loops = ((u64) usecs * 4295 * HZ * loops_per_jiffy) >> 32; in __udelay()

12345678910>>...29