Home
last modified time | relevance | path

Searched +full:1000 +full:ns (Results 1 – 25 of 1079) sorted by relevance

12345678910>>...44

/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/
Dnft_zones_many.sh7 ns="ns-$sfx"
18 ip netns del $ns
31 checktool "ip netns add $ns" "create net namespace"
40 ip -net "$ns" link set lo up
45 ip netns exec $ns sysctl -q net.netfilter.nf_conntrack_udp_timeout=3600
46 ip netns exec $ns nft -f /dev/stdin<<EOF
69 ) | ip netns exec $ns nft -f /dev/stdin
78 i=$((i + 1000))
81 …dd if=/dev/zero of=/dev/stdout bs=8k count=1000 2>/dev/null | ip netns exec "$ns" socat STDIN UDP:…
89 echo "PASS: added 1000 entries in $duration ms (now $i total, loop $j)"
[all …]
Dxt_string.sh24 ns="ns-$(mktemp -u XXXXXXXX)"
25 trap 'ip netns del $ns' EXIT
26 ip netns add "$ns"
27 ip -net "$ns" link add d0 type dummy
28 ip -net "$ns" link set d0 up
29 ip -net "$ns" addr add 10.1.2.1/24 dev d0
31 #ip netns exec "$ns" tcpdump -npXi d0 &
33 #trap 'kill $tcpdump_pid; ip netns del $ns' EXIT
36 ip netns exec "$ns" \
41 ip netns exec "$ns" iptables -v -S OUTPUT | grep '^-A'
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_gt_clock_utils.c10 #define MHZ_12 12000000 /* 12MHz (24MHz/2), 83.333ns */
11 #define MHZ_12_5 12500000 /* 12.5MHz (25MHz/2), 80ns */
12 #define MHZ_19_2 19200000 /* 19.2MHz, 52.083ns */
49 gt->clock_frequency / 1000); in intel_gt_init_clock_frequency()
71 return div_u64_roundup(mul_u32_u32(count, 1000 * 1000 * 1000), in intel_gt_clock_interval_to_ns()
80 u32 intel_gt_ns_to_clock_interval(const struct intel_gt *gt, u32 ns) in intel_gt_ns_to_clock_interval() argument
82 return div_u64_roundup(mul_u32_u32(gt->clock_frequency, ns), in intel_gt_ns_to_clock_interval()
83 1000 * 1000 * 1000); in intel_gt_ns_to_clock_interval()
86 u32 intel_gt_ns_to_pm_interval(const struct intel_gt *gt, u32 ns) in intel_gt_ns_to_pm_interval() argument
97 val = DIV_ROUND_UP(intel_gt_ns_to_clock_interval(gt, ns), 16); in intel_gt_ns_to_pm_interval()
/kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/tc-tests/actions/
Dgate.json17 … "cmdUnderTest": "$TC action add action gate priority 1 sched-entry close 100000000ns index 100",
41 …derTest": "$TC action add action gate base-time 200000000000ns sched-entry close 100000000ns index…
65 …t": "$TC action add action gate cycle-time 200000000000ns sched-entry close 100000000ns index 1000
68 "matchPattern": "action order [0-9]*: .*cycle-time 200s.*index 1000 ref",
89 … "$TC action add action gate cycle-time-ext 20000000000ns sched-entry close 100000000ns index 1000
91 "verifyCmd": "$TC action get action gate index 1000",
92 "matchPattern": "action order [0-9]*: .*cycle-time-ext 20s.*index 1000 ref",
113 …"$TC action add action gate base-time 200000000000ns sched-entry open 200000000ns -1 8000000b inde…
119 "cmdUnderTest": "$TC action replace action gate base-time 400000000000ns index 20",
143 …"$TC action add action gate base-time 200000000000ns sched-entry open 200000000ns -1 8000000b inde…
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
Dcmsg_time.sh4 NS=ns
12 ip netns del $NS
18 ip netns add $NS
20 ip netns exec $NS sysctl -w net.ipv4.ping_group_range='0 2147483647' > /dev/null
23 ip -netns $NS link add type dummy
24 ip -netns $NS link set dev dummy0 up
25 ip -netns $NS addr add $IP4 dev dummy0
26 ip -netns $NS addr add $IP6 dev dummy0
29 ip netns exec $NS tc qdisc replace dev dummy0 root fq
52 ts=$(ip netns exec $NS ./cmsg_sender -p $p $i 1234)
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dtegra20-cpu-opp.dtsi9 clock-latency-ns = <400000>;
15 clock-latency-ns = <400000>;
21 clock-latency-ns = <400000>;
27 clock-latency-ns = <400000>;
33 clock-latency-ns = <400000>;
39 clock-latency-ns = <400000>;
46 clock-latency-ns = <400000>;
52 clock-latency-ns = <400000>;
58 clock-latency-ns = <400000>;
64 clock-latency-ns = <400000>;
[all …]
Dtegra30-cpu-opp.dtsi9 clock-latency-ns = <100000>;
15 clock-latency-ns = <100000>;
21 clock-latency-ns = <100000>;
27 clock-latency-ns = <100000>;
33 clock-latency-ns = <100000>;
39 clock-latency-ns = <100000>;
45 clock-latency-ns = <100000>;
51 clock-latency-ns = <100000>;
57 clock-latency-ns = <100000>;
63 clock-latency-ns = <100000>;
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/nvidia/
Dtegra20-cpu-opp.dtsi9 clock-latency-ns = <400000>;
16 clock-latency-ns = <400000>;
23 clock-latency-ns = <400000>;
29 clock-latency-ns = <400000>;
35 clock-latency-ns = <400000>;
41 clock-latency-ns = <400000>;
48 clock-latency-ns = <400000>;
54 clock-latency-ns = <400000>;
60 clock-latency-ns = <400000>;
66 clock-latency-ns = <400000>;
[all …]
Dtegra30-cpu-opp.dtsi9 clock-latency-ns = <100000>;
15 clock-latency-ns = <100000>;
21 clock-latency-ns = <100000>;
27 clock-latency-ns = <100000>;
33 clock-latency-ns = <100000>;
39 clock-latency-ns = <100000>;
45 clock-latency-ns = <100000>;
52 clock-latency-ns = <100000>;
59 clock-latency-ns = <100000>;
66 clock-latency-ns = <100000>;
[all …]
/kernel/linux/linux-5.10/drivers/memory/
Domap-gpmc.c284 rate /= 1000; in gpmc_get_fclk_period()
328 return (time_ns * 1000 + tick_ps - 1) / tick_ps; in gpmc_ns_to_clk_ticks()
349 return ticks * gpmc_get_clk_period(cs, cd) / 1000; in gpmc_clk_ticks_to_ns()
416 * tick format: gpmc,name = <value> /&zwj;* x ns -- y ns; x ticks *&zwj;/
417 * Where x ns -- y ns result in the same tick value.
449 /* DTS tick format for timings in ns */ in get_gpmc_timing_reg()
456 pr_info("gpmc,%s = <%u>; /* %u ns - %u ns; %i ticks%s*/\n", in get_gpmc_timing_reg()
533 GPMC_GET_TICKS(GPMC_CS_CONFIG2, 0, 3, "cs-on-ns"); in gpmc_cs_show_timings()
534 GPMC_GET_TICKS(GPMC_CS_CONFIG2, 8, 12, "cs-rd-off-ns"); in gpmc_cs_show_timings()
535 GPMC_GET_TICKS(GPMC_CS_CONFIG2, 16, 20, "cs-wr-off-ns"); in gpmc_cs_show_timings()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
Dintel_gt_clock_utils.c116 * "The PCU TSC counts 10ns increments; this timestamp in gen6_read_clock_frequency()
117 * reflects bits 38:3 of the TSC (i.e. 80ns granularity, in gen6_read_clock_frequency()
126 * 63:32 increments every 1000 ns in gen5_read_clock_frequency()
129 return 1000000000 / 1000; in gen5_read_clock_frequency()
135 * 63:20 increments every 1/4 ns in g4x_read_clock_frequency()
138 * -> 63:32 increments every 1024 ns in g4x_read_clock_frequency()
154 return RUNTIME_INFO(uncore->i915)->rawclk_freq * 1000; in gen4_read_clock_frequency()
187 gt->clock_frequency / 1000, in intel_gt_init_clock_frequency()
219 u64 intel_gt_ns_to_clock_interval(const struct intel_gt *gt, u64 ns) in intel_gt_ns_to_clock_interval() argument
221 return div_u64_roundup(gt->clock_frequency * ns, NSEC_PER_SEC); in intel_gt_ns_to_clock_interval()
[all …]
/kernel/linux/linux-6.6/drivers/memory/
Domap-gpmc.c298 rate /= 1000; in gpmc_get_fclk_period()
342 return (time_ns * 1000 + tick_ps - 1) / tick_ps; in gpmc_ns_to_clk_ticks()
363 return ticks * gpmc_get_clk_period(cs, cd) / 1000; in gpmc_clk_ticks_to_ns()
430 * tick format: gpmc,name = <value> /&zwj;* x ns -- y ns; x ticks *&zwj;/
431 * Where x ns -- y ns result in the same tick value.
463 /* DTS tick format for timings in ns */ in get_gpmc_timing_reg()
470 pr_info("gpmc,%s = <%u>; /* %u ns - %u ns; %i ticks%s*/\n", in get_gpmc_timing_reg()
547 GPMC_GET_TICKS(GPMC_CS_CONFIG2, 0, 3, "cs-on-ns"); in gpmc_cs_show_timings()
548 GPMC_GET_TICKS(GPMC_CS_CONFIG2, 8, 12, "cs-rd-off-ns"); in gpmc_cs_show_timings()
549 GPMC_GET_TICKS(GPMC_CS_CONFIG2, 16, 20, "cs-wr-off-ns"); in gpmc_cs_show_timings()
[all …]
/kernel/linux/linux-6.6/drivers/video/fbdev/omap/
Dhwa742.c215 if ((width * hwa742.pix_tx_time / 1000) * height < in enable_tearsync()
216 (y + height) * (hwa742.line_upd_time / 1000)) { in enable_tearsync()
640 /* CSOnTime 0, WEOnTime 2 ns, REOnTime 2 ns, in calc_reg_timing()
641 * AccessTime 2 ns + 12.2 ns (regs), in calc_reg_timing()
642 * WEOffTime = WEOnTime + 1 ns, in calc_reg_timing()
643 * REOffTime = REOnTime + 16 ns (regs), in calc_reg_timing()
644 * CSOffTime = REOffTime + 1 ns in calc_reg_timing()
645 * ReadCycle = 2ns + 2*SYSCLK (regs), in calc_reg_timing()
646 * WriteCycle = 2*SYSCLK + 2 ns, in calc_reg_timing()
647 * CSPulseWidth = 10 ns */ in calc_reg_timing()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/omap/
Dhwa742.c207 if ((width * hwa742.pix_tx_time / 1000) * height < in enable_tearsync()
208 (y + height) * (hwa742.line_upd_time / 1000)) { in enable_tearsync()
627 /* CSOnTime 0, WEOnTime 2 ns, REOnTime 2 ns, in calc_reg_timing()
628 * AccessTime 2 ns + 12.2 ns (regs), in calc_reg_timing()
629 * WEOffTime = WEOnTime + 1 ns, in calc_reg_timing()
630 * REOffTime = REOnTime + 16 ns (regs), in calc_reg_timing()
631 * CSOffTime = REOffTime + 1 ns in calc_reg_timing()
632 * ReadCycle = 2ns + 2*SYSCLK (regs), in calc_reg_timing()
633 * WriteCycle = 2*SYSCLK + 2 ns, in calc_reg_timing()
634 * CSPulseWidth = 10 ns */ in calc_reg_timing()
[all …]
/kernel/linux/linux-5.10/drivers/media/i2c/cx25840/
Dcx25840-ir.c125 * (0xffff + 1) * 1000 / 108/2 MHz = 1,213,629.629... ns
139 static inline u16 ns_to_clock_divider(unsigned int ns) in ns_to_clock_divider() argument
142 DIV_ROUND_CLOSEST(CX25840_IR_REFCLK_FREQ / 1000000 * ns, 1000)); in ns_to_clock_divider()
147 /* Period of the Rx or Tx clock in ns */ in clock_divider_to_ns()
148 return DIV_ROUND_CLOSEST((divider + 1) * 1000, in clock_divider_to_ns()
181 * 0xffff * 1000 / 108/2 MHz = 1,213,611.11... ns
193 static inline u16 ns_to_lpf_count(unsigned int ns) in ns_to_lpf_count() argument
196 DIV_ROUND_CLOSEST(CX25840_IR_REFCLK_FREQ / 1000000 * ns, 1000)); in ns_to_lpf_count()
201 /* Duration of the Low Pass Filter rejection window in ns */ in lpf_count_to_ns()
202 return DIV_ROUND_CLOSEST(count * 1000, in lpf_count_to_ns()
[all …]
/kernel/linux/linux-5.10/Documentation/m68k/
Dbuddha-driver.rst23 Rom-vector: $1000
97 $1000-$ffff Buddha-Rom with offset $1000 in the rom
124 A6=1 (for example $840 for port 0, register set 0), a 780ns
142 about 30ns to the clocks on the Zorro bus, that's why the
143 values are no multiple of 71. One clock-cycle is 71ns long
147 497ns Select (7 clock cycles) , IOR/IOW after 172ns (2 clock cycles)
152 639ns Select (9 clock cycles), IOR/IOW after 243ns (3 clock cycles)
155 781ns Select (11 clock cycles), IOR/IOW after 314ns (4 clock cycles)
158 355ns Select (5 clock cycles), IOR/IOW after 101ns (1 clock cycle)
161 355ns Select (5 clock cycles), IOR/IOW after 172ns (2 clock cycles)
[all …]
/kernel/linux/linux-6.6/Documentation/arch/m68k/
Dbuddha-driver.rst23 Rom-vector: $1000
97 $1000-$ffff Buddha-Rom with offset $1000 in the rom
124 A6=1 (for example $840 for port 0, register set 0), a 780ns
142 about 30ns to the clocks on the Zorro bus, that's why the
143 values are no multiple of 71. One clock-cycle is 71ns long
147 497ns Select (7 clock cycles) , IOR/IOW after 172ns (2 clock cycles)
152 639ns Select (9 clock cycles), IOR/IOW after 243ns (3 clock cycles)
155 781ns Select (11 clock cycles), IOR/IOW after 314ns (4 clock cycles)
158 355ns Select (5 clock cycles), IOR/IOW after 101ns (1 clock cycle)
161 355ns Select (5 clock cycles), IOR/IOW after 172ns (2 clock cycles)
[all …]
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
Ddelay.h11 extern void __ndelay(unsigned long ns);
14 #define ndelay(ns) __ndelay(ns) argument
18 #if HZ >= 1000
23 #define MAX_UDELAY_MS (1000 / HZ)
/kernel/linux/linux-5.10/arch/mips/include/asm/
Ddelay.h17 extern void __ndelay(unsigned long ns);
20 #define ndelay(ns) __ndelay(ns) argument
24 #if HZ >= 1000
29 #define MAX_UDELAY_MS (1000 / HZ)
/kernel/linux/linux-6.6/arch/mips/include/asm/
Ddelay.h17 extern void __ndelay(unsigned long ns);
20 #define ndelay(ns) __ndelay(ns) argument
24 #if HZ >= 1000
29 #define MAX_UDELAY_MS (1000 / HZ)
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/i2c/
Di2c-rk3x.yaml82 i2c-scl-rising-time-ns:
83 default: 1000
87 the maximum the specification allows(1000 ns for Standard-mode,
88 300 ns for Fast-mode) which might cause slightly slower communication.
90 i2c-scl-falling-time-ns:
95 be the maximum the specification allows (300 ns) which might cause
98 i2c-sda-falling-time-ns:
138 i2c-scl-falling-time-ns = <100>;
139 i2c-scl-rising-time-ns = <800>;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/
Di2c-rk3x.yaml78 i2c-scl-rising-time-ns:
79 default: 1000
83 the maximum the specification allows(1000 ns for Standard-mode,
84 300 ns for Fast-mode) which might cause slightly slower communication.
86 i2c-scl-falling-time-ns:
91 be the maximum the specification allows (300 ns) which might cause
94 i2c-sda-falling-time-ns:
134 i2c-scl-falling-time-ns = <100>;
135 i2c-scl-rising-time-ns = <800>;
/kernel/linux/linux-6.6/arch/arm/boot/dts/st/
Dstm32mp15xx-dhcor-testbench.dtsi47 st,min-sample-time-ns = <5000>;
51 st,min-sample-time-ns = <5000>;
55 st,min-sample-time-ns = <5000>;
63 st,min-sample-time-ns = <5000>;
67 st,min-sample-time-ns = <5000>;
71 st,min-sample-time-ns = <5000>;
82 max-speed = <1000>;
90 reset-delay-us = <1000>;
91 reset-post-delay-us = <1000>;
Dstm32mp15xx-dhcor-drc-compact.dtsi63 st,min-sample-time-ns = <5000>;
67 st,min-sample-time-ns = <5000>;
71 st,min-sample-time-ns = <5000>;
79 st,min-sample-time-ns = <5000>;
83 st,min-sample-time-ns = <5000>;
87 st,min-sample-time-ns = <5000>;
98 max-speed = <1000>;
106 reset-delay-us = <1000>;
107 reset-post-delay-us = <1000>;
142 /* Timing values are in nS */
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/timers/
Draw_skew.c51 struct timespec nsec_to_ts(long long ns) in nsec_to_ts() argument
55 ts.tv_sec = ns/NSEC_PER_SEC; in nsec_to_ts()
56 ts.tv_nsec = ns%NSEC_PER_SEC; in nsec_to_ts()
129 printf("%lld.%i(est)", eppm/1000, abs((int)(eppm%1000))); in main()
132 ppm = (tx1.freq + tx2.freq) * 1000 / 2; in main()
133 ppm = (long long)tx1.freq * 1000; in main()
135 printf(" %lld.%i(act)", ppm/1000, abs((int)(ppm%1000))); in main()
137 if (llabs(eppm - ppm) > 1000) { in main()

12345678910>>...44