Home
last modified time | relevance | path

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

12345678910>>...30

/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-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()
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()
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()
224 u64 intel_gt_ns_to_pm_interval(const struct intel_gt *gt, u64 ns) in intel_gt_ns_to_pm_interval() argument
229 * Make these a multiple of magic 25 to avoid SNB (eg. Dell XPS in intel_gt_ns_to_pm_interval()
235 val = div_u64_roundup(intel_gt_ns_to_clock_interval(gt, ns), 16); in intel_gt_ns_to_pm_interval()
[all …]
Dintel_rc6.c73 intel_uncore_write_fw(uncore, GEN6_RC_EVALUATION_INTERVAL, 125000); /* 12500 * 1280ns */ in gen11_rc6_enable()
74 intel_uncore_write_fw(uncore, GEN6_RC_IDLE_HYSTERSIS, 25); /* 25 * 1280ns */ in gen11_rc6_enable()
88 * Bspec's guidance is to use 25us (really 25 * 1280ns) here. What we in gen11_rc6_enable()
168 intel_uncore_write_fw(uncore, GEN6_RC_EVALUATION_INTERVAL, 125000); /* 12500 * 1280ns */ in gen9_rc6_enable()
169 intel_uncore_write_fw(uncore, GEN6_RC_IDLE_HYSTERSIS, 25); /* 25 * 1280ns */ in gen9_rc6_enable()
180 * Bspec's guidance is to use 25us (really 25 * 1280ns) here. What we in gen9_rc6_enable()
226 intel_uncore_write_fw(uncore, GEN6_RC_EVALUATION_INTERVAL, 125000); /* 12500 * 1280ns */ in gen8_rc6_enable()
227 intel_uncore_write_fw(uncore, GEN6_RC_IDLE_HYSTERSIS, 25); /* 25 * 1280ns */ in gen8_rc6_enable()
253 intel_uncore_write_fw(uncore, GEN6_RC_IDLE_HYSTERSIS, 25); in gen6_rc6_enable()
377 intel_uncore_write_fw(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/linux/linux-6.6/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_LOW>;
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 …]
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 …]
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>;
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>;
/kernel/linux/linux-6.6/arch/arm/boot/dts/ti/omap/
Domap3-cm-t3x.dtsi229 interrupts = <25 0>; /* gpio_57 */
230 pendown-gpio = <&gpio2 25 GPIO_ACTIVE_LOW>;
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 …]
Dlogicpd-som-lv.dtsi59 gpmc,cs-on-ns = <0>;
60 gpmc,cs-rd-off-ns = <44>;
61 gpmc,cs-wr-off-ns = <44>;
62 gpmc,adv-on-ns = <6>;
63 gpmc,adv-rd-off-ns = <34>;
64 gpmc,adv-wr-off-ns = <44>;
65 gpmc,we-off-ns = <40>;
66 gpmc,oe-off-ns = <54>;
67 gpmc,access-ns = <64>;
68 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 …]
Dlogicpd-torpedo-baseboard.dtsi123 gpmc,cs-on-ns = <0>;
124 gpmc,cs-rd-off-ns = <45>;
125 gpmc,cs-wr-off-ns = <45>;
126 gpmc,adv-on-ns = <0>;
127 gpmc,adv-rd-off-ns = <0>;
128 gpmc,adv-wr-off-ns = <0>;
129 gpmc,oe-on-ns = <0>;
130 gpmc,oe-off-ns = <45>;
131 gpmc,we-on-ns = <0>;
132 gpmc,we-off-ns = <25>;
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/microchip/
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 …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/intel/socfpga/
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>;
/kernel/linux/linux-6.6/arch/alpha/include/asm/
Djensen.h48 * EISA "Host Address Extension" address (bits 25-31 of the EISA address)
94 /* hae on the Jensen is bits 31:25 shifted right */ in jensen_set_hae()
95 addr >>= 25; in jensen_set_hae()
321 #define IOPORT(OS, NS) \ argument
322 __EXTERN_INLINE u##NS jensen_ioread##NS(const void __iomem *xaddr) \
329 __EXTERN_INLINE void jensen_iowrite##NS(u##NS b, void __iomem *xaddr) \
/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.
332 * 25MHz for 100Mbit/s and 2.5MHz for 10Mbit/s). in meson8b_init_prg_eth()
349 /* invert internal clk_rmii_i to generate 25/2.5 tx_rx_clk */ in meson8b_init_prg_eth()
402 /* use 2ns as fallback since this value was previously hardcoded */ in meson8b_dwmac_probe()
403 if (of_property_read_u32(pdev->dev.of_node, "amlogic,tx-delay-ns", in meson8b_dwmac_probe()
407 /* use 0ns as fallback since this is what most boards actually use */ in meson8b_dwmac_probe()
408 if (of_property_read_u32(pdev->dev.of_node, "amlogic,rx-delay-ns", in meson8b_dwmac_probe()
414 "The only allowed RX delays values are: 0ns, 2ns"); in meson8b_dwmac_probe()
/kernel/linux/linux-6.6/arch/arm/boot/dts/intel/pxa/
Dpxa25x.dtsi40 interrupts = <25>;
100 clock-latency-ns = <20>;
105 clock-latency-ns = <20>;
110 clock-latency-ns = <20>;
115 clock-latency-ns = <20>;
Dpxa27x.dtsi14 interrupts = <25>;
155 clock-latency-ns = <20>;
160 clock-latency-ns = <20>;
165 clock-latency-ns = <20>;
170 clock-latency-ns = <20>;
175 clock-latency-ns = <20>;
180 clock-latency-ns = <20>;
185 clock-latency-ns = <20>;
/kernel/linux/linux-6.6/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()
/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()

12345678910>>...30