Home
last modified time | relevance | path

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

12345678910>>...26

/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 */
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()
86 u32 intel_gt_ns_to_pm_interval(const struct intel_gt *gt, u32 ns) in intel_gt_ns_to_pm_interval() argument
91 * Make these a multiple of magic 25 to avoid SNB (eg. Dell XPS in intel_gt_ns_to_pm_interval()
97 val = DIV_ROUND_UP(intel_gt_ns_to_clock_interval(gt, ns), 16); in intel_gt_ns_to_pm_interval()
99 val = roundup(val, 25); in intel_gt_ns_to_pm_interval()
Dintel_rc6.c70 set(uncore, GEN6_RC_EVALUATION_INTERVAL, 125000); /* 12500 * 1280ns */ in gen11_rc6_enable()
71 set(uncore, GEN6_RC_IDLE_HYSTERSIS, 25); /* 25 * 1280ns */ in gen11_rc6_enable()
84 * Bspec's guidance is to use 25us (really 25 * 1280ns) here. What we in gen11_rc6_enable()
143 set(uncore, GEN6_RC_EVALUATION_INTERVAL, 125000); /* 12500 * 1280ns */ in gen9_rc6_enable()
144 set(uncore, GEN6_RC_IDLE_HYSTERSIS, 25); /* 25 * 1280ns */ in gen9_rc6_enable()
155 * Bspec's guidance is to use 25us (really 25 * 1280ns) here. What we in gen9_rc6_enable()
202 set(uncore, GEN6_RC_EVALUATION_INTERVAL, 125000); /* 12500 * 1280ns */ in gen8_rc6_enable()
203 set(uncore, GEN6_RC_IDLE_HYSTERSIS, 25); /* 25 * 1280ns */ in gen8_rc6_enable()
229 set(uncore, GEN6_RC_IDLE_HYSTERSIS, 25); in gen6_rc6_enable()
353 set(uncore, GEN6_RC_EVALUATION_INTERVAL, 125000); /* 12500 * 1280ns */ in chv_rc6_enable()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Dfib_offload_lib.sh7 local ns=$1; shift
13 ip -n $ns -j -p -$family route show $route \
29 local ns=$1; shift
34 busywait 5000 __fib_trap_check $ns $family "$route" $should_fail
39 local ns=$1; shift
43 fib_trap_check $ns 4 "$route" $should_fail
48 local ns=$1; shift
52 fib_trap_check $ns 6 "$route" $should_fail
57 local ns=$1; shift
63 ip -n $ns link add name dummy$i type dummy
[all …]
/kernel/liteos_a/testsuites/unittest/libc/time/clock/full/
Dclock_test_010.cpp64 …gPrintln("slept time (expected --> actual): %" PRId64 "ns --> %" PRId64 "ns, delta: %" PRId64 "ns\… in SleepTest()
75 (void)SleepTest(2); // 2, ns. in ClockTestThread()
76 (void)SleepTest(3); // 3, ns. in ClockTestThread()
79 (void)SleepTest(50e3 + 1); // 50us+1ns in ClockTestThread()
84 (void)SleepTest(10e6 + 1); // 10ms+1ns in ClockTestThread()
85 (void)SleepTest(25e6); // 25ms in ClockTestThread()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Domap3-cm-t3x.dtsi229 interrupts = <25 0>; /* gpio_57 */
230 pendown-gpio = <&gpio2 25 GPIO_ACTIVE_HIGH>;
279 gpmc,cs-on-ns = <0>;
280 gpmc,cs-rd-off-ns = <120>;
281 gpmc,cs-wr-off-ns = <120>;
283 gpmc,adv-on-ns = <0>;
284 gpmc,adv-rd-off-ns = <120>;
285 gpmc,adv-wr-off-ns = <120>;
287 gpmc,we-on-ns = <6>;
288 gpmc,we-off-ns = <90>;
[all …]
Dsama5d3xcm.dtsi65 atmel,smc-ncs-rd-setup-ns = <0>;
66 atmel,smc-ncs-wr-setup-ns = <0>;
67 atmel,smc-nwe-setup-ns = <8>;
68 atmel,smc-nrd-setup-ns = <16>;
69 atmel,smc-ncs-rd-pulse-ns = <84>;
70 atmel,smc-ncs-wr-pulse-ns = <84>;
71 atmel,smc-nrd-pulse-ns = <76>;
72 atmel,smc-nwe-pulse-ns = <76>;
73 atmel,smc-nrd-cycle-ns = <107>;
74 atmel,smc-nwe-cycle-ns = <84>;
[all …]
Dsocfpga_cyclone5_socrates.dts69 gpios = <&portb 25 1>;
88 cdns,tshsl-ns = <50>;
89 cdns,tsd2d-ns = <50>;
90 cdns,tchsh-ns = <4>;
91 cdns,tslch-ns = <4>;
Dlogicpd-som-lv.dtsi57 gpmc,cs-on-ns = <0>;
58 gpmc,cs-rd-off-ns = <44>;
59 gpmc,cs-wr-off-ns = <44>;
60 gpmc,adv-on-ns = <6>;
61 gpmc,adv-rd-off-ns = <34>;
62 gpmc,adv-wr-off-ns = <44>;
63 gpmc,we-off-ns = <40>;
64 gpmc,oe-off-ns = <54>;
65 gpmc,access-ns = <64>;
66 gpmc,rd-cycle-ns = <82>;
[all …]
Domap4-duovero-parlor.dts35 gpios = <&gpio4 25 GPIO_ACTIVE_LOW>; /* gpio_121 */
146 gpmc,cs-on-ns = <10>;
147 gpmc,cs-rd-off-ns = <50>;
148 gpmc,cs-wr-off-ns = <50>;
149 gpmc,adv-on-ns = <0>;
150 gpmc,adv-rd-off-ns = <10>;
151 gpmc,adv-wr-off-ns = <10>;
152 gpmc,oe-on-ns = <15>;
153 gpmc,oe-off-ns = <50>;
154 gpmc,we-on-ns = <15>;
[all …]
Dpxa25x.dtsi40 interrupts = <25>;
97 clock-latency-ns = <20>;
102 clock-latency-ns = <20>;
107 clock-latency-ns = <20>;
112 clock-latency-ns = <20>;
Dpxa27x.dtsi14 interrupts = <25>;
152 clock-latency-ns = <20>;
157 clock-latency-ns = <20>;
162 clock-latency-ns = <20>;
167 clock-latency-ns = <20>;
172 clock-latency-ns = <20>;
177 clock-latency-ns = <20>;
182 clock-latency-ns = <20>;
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Domap3-cm-t3x.dtsi229 interrupts = <25 0>; /* gpio_57 */
230 pendown-gpio = <&gpio2 25 GPIO_ACTIVE_HIGH>;
279 gpmc,cs-on-ns = <0>;
280 gpmc,cs-rd-off-ns = <120>;
281 gpmc,cs-wr-off-ns = <120>;
283 gpmc,adv-on-ns = <0>;
284 gpmc,adv-rd-off-ns = <120>;
285 gpmc,adv-wr-off-ns = <120>;
287 gpmc,we-on-ns = <6>;
288 gpmc,we-off-ns = <90>;
[all …]
Dsama5d3xcm.dtsi66 atmel,smc-ncs-rd-setup-ns = <0>;
67 atmel,smc-ncs-wr-setup-ns = <0>;
68 atmel,smc-nwe-setup-ns = <8>;
69 atmel,smc-nrd-setup-ns = <16>;
70 atmel,smc-ncs-rd-pulse-ns = <84>;
71 atmel,smc-ncs-wr-pulse-ns = <84>;
72 atmel,smc-nrd-pulse-ns = <76>;
73 atmel,smc-nwe-pulse-ns = <76>;
74 atmel,smc-nrd-cycle-ns = <107>;
75 atmel,smc-nwe-cycle-ns = <84>;
[all …]
Dlogicpd-som-lv.dtsi61 gpmc,cs-on-ns = <0>;
62 gpmc,cs-rd-off-ns = <44>;
63 gpmc,cs-wr-off-ns = <44>;
64 gpmc,adv-on-ns = <6>;
65 gpmc,adv-rd-off-ns = <34>;
66 gpmc,adv-wr-off-ns = <44>;
67 gpmc,we-off-ns = <40>;
68 gpmc,oe-off-ns = <54>;
69 gpmc,access-ns = <64>;
70 gpmc,rd-cycle-ns = <82>;
[all …]
Domap4-duovero-parlor.dts38 gpios = <&gpio4 25 GPIO_ACTIVE_LOW>; /* gpio_121 */
149 gpmc,cs-on-ns = <10>;
150 gpmc,cs-rd-off-ns = <50>;
151 gpmc,cs-wr-off-ns = <50>;
152 gpmc,adv-on-ns = <0>;
153 gpmc,adv-rd-off-ns = <10>;
154 gpmc,adv-wr-off-ns = <10>;
155 gpmc,oe-on-ns = <15>;
156 gpmc,oe-off-ns = <50>;
157 gpmc,we-on-ns = <15>;
[all …]
Dsocfpga_cyclone5_socrates.dts76 gpios = <&portb 25 1>;
95 cdns,tshsl-ns = <50>;
96 cdns,tsd2d-ns = <50>;
97 cdns,tchsh-ns = <4>;
98 cdns,tslch-ns = <4>;
Dpxa27x.dtsi14 interrupts = <25>;
152 clock-latency-ns = <20>;
157 clock-latency-ns = <20>;
162 clock-latency-ns = <20>;
167 clock-latency-ns = <20>;
172 clock-latency-ns = <20>;
177 clock-latency-ns = <20>;
182 clock-latency-ns = <20>;
Dpxa25x.dtsi46 interrupts = <25>;
103 clock-latency-ns = <20>;
108 clock-latency-ns = <20>;
113 clock-latency-ns = <20>;
118 clock-latency-ns = <20>;
/kernel/linux/linux-4.19/arch/mips/vdso/
Dgettimeofday.c37 "$14", "$15", "$24", "$25", "hi", "lo", "memory"); in gettimeofday_fallback()
58 "$14", "$15", "$24", "$25", "hi", "lo", "memory"); in clock_gettime_fallback()
168 u64 ns; in do_realtime() local
177 ns = get_ns(data); in do_realtime()
181 timespec_add_ns(ts, ns); in do_realtime()
190 u64 ns; in do_monotonic() local
201 ns = get_ns(data); in do_monotonic()
209 timespec_add_ns(ts, ns + to_mono_nsec); in do_monotonic()
/kernel/linux/linux-4.19/net/x25/
Dx25_in.c2 * X.25 Packet Layer release 002
17 * X.25 001 Jonathan Naylor Started coding.
18 * X.25 002 Jonathan Naylor Centralised disconnection code.
204 static int x25_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype, int ns, int nr, … in x25_state3_machine() argument
257 if ((ns != x25->vr) || !x25_validate_nr(sk, nr)) { in x25_state3_machine()
270 if (ns == x25->vr) { in x25_state3_machine()
385 int queued = 0, frametype, ns, nr, q, d, m; in x25_process_rx_frame() local
390 frametype = x25_decode(sk, skb, &ns, &nr, &q, &d, &m); in x25_process_rx_frame()
400 queued = x25_state3_machine(sk, skb, frametype, ns, nr, q, d, m); in x25_process_rx_frame()
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-meson8b.c35 /* TX clock delay in ns = "8ns / 4 * tx_dly_val" (where 8ns are exactly one
37 * 0ns = 0x0, 2ns = 0x1, 4ns = 0x2, 6ns = 0x3
67 * ...) can be configured to be 1 to compensate for a delay of about 1ns.
334 * 25MHz for 100Mbit/s and 2.5MHz for 10Mbit/s). in meson8b_init_prg_eth()
351 /* invert internal clk_rmii_i to generate 25/2.5 tx_rx_clk */ in meson8b_init_prg_eth()
404 /* use 2ns as fallback since this value was previously hardcoded */ in meson8b_dwmac_probe()
405 if (of_property_read_u32(pdev->dev.of_node, "amlogic,tx-delay-ns", in meson8b_dwmac_probe()
409 /* use 0ns as fallback since this is what most boards actually use */ in meson8b_dwmac_probe()
410 if (of_property_read_u32(pdev->dev.of_node, "amlogic,rx-delay-ns", in meson8b_dwmac_probe()
416 "The only allowed RX delays values are: 0ns, 2ns"); in meson8b_dwmac_probe()
/kernel/linux/linux-4.19/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-meson8b.c257 /* TX clock delay in ns = "8ns / 4 * tx_dly_val" (where in meson8b_init_prg_eth()
258 * 8ns are exactly one cycle of the 125MHz RGMII TX clock): in meson8b_init_prg_eth()
259 * 0ns = 0x0, 2ns = 0x1, 4ns = 0x2, 6ns = 0x3 in meson8b_init_prg_eth()
276 * 25MHz for 100Mbit/s and 2.5MHz for 10Mbit/s). in meson8b_init_prg_eth()
298 /* invert internal clk_rmii_i to generate 25/2.5 tx_rx_clk */ in meson8b_init_prg_eth()
365 /* use 2ns as fallback since this value was previously hardcoded */ in meson8b_dwmac_probe()
366 if (of_property_read_u32(pdev->dev.of_node, "amlogic,tx-delay-ns", in meson8b_dwmac_probe()
/kernel/linux/linux-5.10/net/x25/
Dx25_in.c3 * X.25 Packet Layer release 002
12 * X.25 001 Jonathan Naylor Started coding.
13 * X.25 002 Jonathan Naylor Centralised disconnection code.
208 static int x25_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype, int ns, int nr, … in x25_state3_machine() argument
261 if ((ns != x25->vr) || !x25_validate_nr(sk, nr)) { in x25_state3_machine()
274 if (ns == x25->vr) { in x25_state3_machine()
418 int queued = 0, frametype, ns, nr, q, d, m; in x25_process_rx_frame() local
423 frametype = x25_decode(sk, skb, &ns, &nr, &q, &d, &m); in x25_process_rx_frame()
433 queued = x25_state3_machine(sk, skb, frametype, ns, nr, q, d, m); in x25_process_rx_frame()
Dx25_subr.c3 * X.25 Packet Layer release 002
12 * X.25 001 Jonathan Naylor Started coding.
13 * X.25 002 Jonathan Naylor Centralised disconnection processing.
258 * Unpick the contents of the passed X.25 Packet Layer frame.
260 int x25_decode(struct sock *sk, struct sk_buff *skb, int *ns, int *nr, int *q, in x25_decode() argument
270 *ns = *nr = *q = *d = *m = 0; in x25_decode()
319 *ns = (frame[2] >> 1) & 0x7F; in x25_decode()
328 *ns = (frame[2] >> 1) & 0x07; in x25_decode()
/kernel/linux/linux-5.10/drivers/net/ethernet/xscale/
Dptp_ixp46x.c24 #define MASTER_IRQ 25
44 u64 ns; in ixp_systime_read() local
50 ns = ((u64) hi) << 32; in ixp_systime_read()
51 ns |= lo; in ixp_systime_read()
52 ns <<= TICKS_NS_SHIFT; in ixp_systime_read()
54 return ns; in ixp_systime_read()
57 static void ixp_systime_write(struct ixp46x_ts_regs *regs, u64 ns) in ixp_systime_write() argument
61 ns >>= TICKS_NS_SHIFT; in ixp_systime_write()
62 hi = ns >> 32; in ixp_systime_write()
63 lo = ns & 0xffffffff; in ixp_systime_write()
[all …]

12345678910>>...26