Home
last modified time | relevance | path

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

12345678910>>...15

/linux/tools/testing/selftests/drivers/net/netdevsim/
H A 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 …]
/linux/kernel/time/
H A 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 …]
/linux/drivers/ufs/core/
H A Dufs_trace.h173 TP_printk("%s: %s: took %lld usecs, err %d",
194 TP_PROTO(const char *dev_name, int err, s64 usecs,
197 TP_ARGS(dev_name, err, usecs, dev_state, link_state),
200 __field(s64, usecs)
208 __entry->usecs = usecs;
216 "%s: took %lld usecs, dev_state: %s, link_state: %s, err %d",
218 __entry->usecs,
226 TP_PROTO(const char *dev_name, int err, s64 usecs,
228 TP_ARGS(dev_name, err, usecs, dev_state, link_state));
231 TP_PROTO(const char *dev_name, int err, s64 usecs,
[all …]
/linux/arch/parisc/include/asm/
H A 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()
/linux/Documentation/trace/
H A 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)
/linux/drivers/media/cec/core/
H A 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 …]
/linux/include/linux/
H A 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()
H A 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
/linux/Documentation/networking/device_drivers/ethernet/intel/
H A Didpf.rst101 - Setting rx-usecs and tx-usecs to 80 will limit interrupts to about
104 # ethtool -C <ethX> adaptive-rx off adaptive-tx off rx-usecs 80
105 tx-usecs 80
108 - Disable adaptive ITR and ITR by setting rx-usecs and tx-usecs to 0
111 # ethtool -C <ethX> adaptive-rx off adaptive-tx off rx-usecs 0
112 tx-usecs 0
122 rx-usecs 10
H A Di40e.rst565 # ethtool -C ethX rx-usecs-high N
568 interrupts per second. The value of rx-usecs-high can be set independently of
569 rx-usecs and tx-usecs in the same ethtool command, and is also independent of
576 # ethtool -C ethX adaptive-rx off adaptive-tx off rx-usecs-high 20 rx-usecs \
577 5 tx-usecs 5
582 limits total interrupts per second to 50,000 via the rx-usecs-high parameter.
630 - Setting rx-usecs and tx-usecs to 125 will limit interrupts to about 8000
635 # ethtool -C <interface> adaptive-rx off adaptive-tx off rx-usecs 125 \
636 tx-usecs 125
641 - Setting rx-usecs and tx-usecs to 250 will limit interrupts to about 4000
[all …]
/linux/drivers/net/wireless/ath/
H A 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
/linux/Documentation/netlink/specs/
H A Dethtool.yaml472 name: rx-usecs
478 name: rx-usecs-irq
484 name: tx-usecs
490 name: tx-usecs-irq
496 name: stats-block-usecs
508 name: rx-usecs-low
514 name: tx-usecs-low
523 name: rx-usecs-high
529 name: tx-usecs-high
550 name: tx-aggr-time-usecs
[all …]
/linux/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
H A 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_…
H A Dtrigger-field-variable-support.tc14 echo 'hist:keys=comm:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_waking/trigger
15 echo 'hist:keys=next_comm:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).wakeup…
27 echo '!hist:keys=next_comm:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).wakeu…
/linux/arch/arc/include/asm/
H A 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()
/linux/arch/sh/include/asm/
H A Dwatchdog.h43 * 1/32 (initial value) 41 usecs
44 * 1/64 82 usecs
45 * 1/128 164 usecs
46 * 1/256 328 usecs
47 * 1/512 656 usecs
/linux/arch/hexagon/include/asm/
H A Ddelay.h12 extern void __udelay(unsigned long usecs);
14 #define udelay(usecs) __udelay((usecs)) argument
/linux/Documentation/userspace-api/media/cec/
H A Dcec-pin-error-inj.rst53 # tx-custom-low-usecs <usecs> define the 'low' time for the custom pulse
54 # tx-custom-high-usecs <usecs> define the 'high' time for the custom pulse
76 # <usecs> microseconds (0-10000000, default 1000)
310 ``tx-custom-low-usecs <usecs>``
314 ``tx-custom-high-usecs <usecs>``
318 ``tx-custom-low-usecs + tx-custom-high-usecs``.
/linux/drivers/usb/host/
H A Dehci-sched.c203 ps->usecs, ps->c_usecs, ps->cs_mask); in bandwidth_dbg()
211 int usecs = qh->ps.usecs; in reserve_release_intr_bandwidth() local
223 usecs = -usecs; in reserve_release_intr_bandwidth()
231 ehci->bandwidth[i] += usecs; in reserve_release_intr_bandwidth()
334 * periodic transfer of the specified length (usecs), starting at the
362 unsigned usecs = ps->tt_usecs; in tt_available() local
372 if (tt->bandwidth[frame] + usecs > 900) in tt_available()
387 if (usecs > 125) { in tt_available()
388 int ufs = (usecs / 125); in tt_available()
395 tt_usecs[uframe] += usecs; in tt_available()
[all …]
/linux/fs/ocfs2/cluster/
H A Dnetdebug.c135 " sock acquiry: %lld usecs ago\n" in nst_seq_show()
136 " send start: %lld usecs ago\n" in nst_seq_show()
137 " wait start: %lld usecs ago\n", in nst_seq_show()
322 " timer: %lld usecs\n" in sc_show_sock_container()
323 " data ready: %lld usecs\n" in sc_show_sock_container()
324 " advance start: %lld usecs\n" in sc_show_sock_container()
325 " advance stop: %lld usecs\n" in sc_show_sock_container()
326 " func start: %lld usecs\n" in sc_show_sock_container()
327 " func stop: %lld usecs\n" in sc_show_sock_container()
/linux/arch/um/include/asm/
H A Ddelay.h19 static inline void um_udelay(unsigned long usecs) in um_udelay() argument
23 time_travel_ndelay(1000 * usecs); in um_udelay()
26 udelay(usecs); in um_udelay()
/linux/arch/riscv/lib/
H A Ddelay.c85 void udelay(unsigned long usecs) in udelay() argument
87 u64 ucycles = (u64)usecs * lpj_fine * UDELAY_MULT; in udelay()
90 if (unlikely(usecs > MAX_UDELAY_US)) { in udelay()
91 n = (u64)usecs * riscv_timebase; in udelay()
/linux/arch/alpha/lib/
H A Dudelay.c43 udelay(unsigned long usecs) in udelay() argument
45 usecs *= (((unsigned long)HZ << 32) / 1000000) * LPJ; in udelay()
46 __delay((long)usecs >> 32); in udelay()
/linux/drivers/spi/
H A Dspi-lp8841-rtc.c67 unsigned usecs, unsigned cpol, unsigned flags, in bitbang_txrx_be_cpha0_lsb() argument
80 usleep_range(usecs, usecs + 1); /* T(setup) */ in bitbang_txrx_be_cpha0_lsb()
88 usleep_range(usecs, usecs + 1); in bitbang_txrx_be_cpha0_lsb()
/linux/kernel/
H A Dlatencytop.c162 * @usecs - the duration of the latency in microseconds
176 __account_scheduler_latency(struct task_struct *tsk, int usecs, int inter) in __account_scheduler_latency() argument
183 if (inter && usecs > 5000) in __account_scheduler_latency()
188 if (usecs <= 0) in __account_scheduler_latency()
193 lat.time = usecs; in __account_scheduler_latency()
194 lat.max = usecs; in __account_scheduler_latency()

12345678910>>...15