Home
last modified time | relevance | path

Searched +full:no +full:- +full:loopback +full:- +full:test (Results 1 – 25 of 239) sorted by relevance

12345678910

/Linux-v5.10/drivers/spi/
Dspi-loopback-test.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * linux/drivers/spi/spi-loopback-test.c
7 * Loopback test driver to test several typical spi_message conditions
23 #include "spi-test.h"
37 /* the device is jumpered for loopback - enabling some rx_buf tests */
38 static int loopback; variable
39 module_param(loopback, int, 0);
40 MODULE_PARM_DESC(loopback,
41 "if set enable loopback mode, where the rx_buf " \
48 "if set controller will be asked to enable test loop mode. " \
[all …]
/Linux-v5.10/arch/arm/boot/dts/
Dimx27-eukrea-cpuimx27.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 /dts-v1/;
18 clk14745600: clk-uart {
19 compatible = "fixed-clock";
20 #clock-cells = <0>;
21 clock-frequency = <14745600>;
26 pinctrl-names = "default";
27 pinctrl-0 = <&pinctrl_fec>;
32 pinctrl-names = "default";
33 pinctrl-0 = <&pinctrl_i2c1>;
[all …]
Dox810se.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * ox810se.dtsi - Device tree file for Oxford Semiconductor OX810SE SoC
8 #include <dt-bindings/clock/oxsemi,ox810se.h>
9 #include <dt-bindings/reset/oxsemi,ox810se.h>
12 #address-cells = <1>;
13 #size-cells = <1>;
17 #address-cells = <0>;
18 #size-cells = <0>;
22 compatible = "arm,arm926ej-s";
35 compatible = "fixed-clock";
[all …]
Daspeed-g6.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/interrupt-controller/aspeed-scu-ic.h>
6 #include <dt-bindings/clock/ast2600-clock.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
13 interrupt-parent = <&gic>;
43 #address-cells = <1>;
44 #size-cells = <0>;
45 enable-method = "aspeed,ast2600-smp";
[all …]
/Linux-v5.10/drivers/net/ethernet/sfc/falcon/
Dselftest.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2005-2006 Fen Systems Ltd.
5 * Copyright 2006-2012 Solarflare Communications Inc.
26 * - All IRQs may be disabled on a CPU for a *long* time by e.g. a
28 * - The PREEMPT_RT patches mostly deal with this, but also allow a
36 * Loopback test packet structure
38 * The self-test should stress every RSS vector, and unfortunately
49 /* Loopback test source MAC address */
55 "Hello world! This is an Efx loopback test in progress!";
60 [EF4_INT_MODE_MSIX] = "MSI-X",
[all …]
Dethtool.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2005-2006 Fen Systems Ltd.
5 * Copyright 2006-2013 Solarflare Communications Inc.
30 /* Initialiser for a struct ef4_sw_stat_desc with type-checking */
36 &((struct ef4_##source_name *)0)->field) ? \
110 efx->type->set_id_led(efx, mode); in ef4_ethtool_phys_id()
120 struct ef4_link_state *link_state = &efx->link_state; in ef4_ethtool_get_link_ksettings()
122 mutex_lock(&efx->mac_lock); in ef4_ethtool_get_link_ksettings()
123 efx->phy_op->get_link_ksettings(efx, cmd); in ef4_ethtool_get_link_ksettings()
124 mutex_unlock(&efx->mac_lock); in ef4_ethtool_get_link_ksettings()
[all …]
/Linux-v5.10/drivers/net/ethernet/sfc/
Dselftest.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2005-2006 Fen Systems Ltd.
5 * Copyright 2006-2012 Solarflare Communications Inc.
29 * - All IRQs may be disabled on a CPU for a *long* time by e.g. a
31 * - The PREEMPT_RT patches mostly deal with this, but also allow a
39 * Loopback test packet structure
41 * The self-test should stress every RSS vector, and unfortunately
52 /* Loopback test source MAC address */
58 "Hello world! This is an Efx loopback test in progress!";
63 [EFX_INT_MODE_MSIX] = "MSI-X",
[all …]
Dethtool_common.c1 // SPDX-License-Identifier: GPL-2.0-only
31 /* Initialiser for a struct efx_sw_stat_desc with type-checking */
37 &((struct efx_##source_name *)0)->field) ? \
108 strlcpy(info->driver, KBUILD_MODNAME, sizeof(info->driver)); in efx_ethtool_get_drvinfo()
109 efx_mcdi_print_fwver(efx, info->fw_version, in efx_ethtool_get_drvinfo()
110 sizeof(info->fw_version)); in efx_ethtool_get_drvinfo()
111 strlcpy(info->bus_info, pci_name(efx->pci_dev), sizeof(info->bus_info)); in efx_ethtool_get_drvinfo()
118 return efx->msg_enable; in efx_ethtool_get_msglevel()
125 efx->msg_enable = msg_enable; in efx_ethtool_set_msglevel()
129 struct ethtool_test *test, u64 *data) in efx_ethtool_self_test() argument
[all …]
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_selftest.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
50 "Link Test",
51 "Speed Test",
52 "Health Test",
54 "Loopback Test",
65 struct mlx5_core_health *health = &priv->mdev->priv.health; in mlx5e_test_health_info()
67 return health->fatal_error ? 1 : 0; in mlx5e_test_health_info()
74 if (!netif_carrier_ok(priv->netdev)) in mlx5e_test_link_state()
[all …]
/Linux-v5.10/arch/mips/boot/dts/loongson/
Dloongson64g-package.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include <dt-bindings/interrupt-controller/irq.h>
6 #address-cells = <2>;
7 #size-cells = <2>;
9 cpuintc: interrupt-controller {
10 #address-cells = <0>;
11 #interrupt-cells = <1>;
12 interrupt-controller;
13 compatible = "mti,cpu-interrupt-controller";
17 compatible = "simple-bus";
[all …]
Dloongson64c-package.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include <dt-bindings/interrupt-controller/irq.h>
6 #address-cells = <2>;
7 #size-cells = <2>;
9 cpuintc: interrupt-controller {
10 #address-cells = <0>;
11 #interrupt-cells = <1>;
12 interrupt-controller;
13 compatible = "mti,cpu-interrupt-controller";
17 compatible = "simple-bus";
[all …]
Dls7a-pch.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 compatible = "simple-bus";
6 #address-cells = <2>;
7 #size-cells = <2>;
13 pic: interrupt-controller@10000000 {
14 compatible = "loongson,pch-pic-1.0";
16 interrupt-controller;
17 interrupt-parent = <&htvec>;
18 loongson,pic-base-vec = <0>;
19 #interrupt-cells = <2>;
[all …]
/Linux-v5.10/drivers/net/ethernet/apple/
Dmace.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * mace.h - definitions for the registers in the Am79C940 MACE
41 REG(utr); /* user test reg */
49 #define AUTO_PAD_XMIT 0x01 /* auto-pad short packets on transmission */
53 #define UFLO 0x40 /* underflow - xmit fifo ran dry */
63 #define RETRY_MASK 0x0f /* number of retries (0 - 15) */
68 #define AUTO_STRIP_RCV 0x01 /* auto-strip short LLC frames on recv */
94 #define JABBER 0x80 /* jabber error - 10baseT xmission too long */
95 #define BABBLE 0x40 /* babble - xmitter xmitting for too long */
96 #define CERR 0x20 /* collision err - no SQE test (heartbeat) */
[all …]
/Linux-v5.10/drivers/staging/greybus/tools/
Dlbtest2 # SPDX-License-Identifier: BSD-3-Clause
22 # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
44 print('Usage: looptest TEST SIZE ITERATIONS PATH\n\n'
45 ' Run TEST for a number of ITERATIONS with operation data SIZE bytes\n'
46 ' TEST may be \'ping\' \'transfer\' or \'sink\'\n'
48 ' ITERATIONS indicates the number of times to execute TEST at SIZE bytes\n'
50 ' initiate an infinite (non terminating) test and exit\n'
52 ' PATH indicates the sysfs path for the loopback greybus entries e.g.\n'
83 # every time the same test with the same parameters is run we will then
84 # append to the same CSV with datestamp - representing each test dataset
[all …]
Dloopback_test.c1 // SPDX-License-Identifier: BSD-3-Clause
3 * Loopback test application
115 for (i = 0; i < t->device_count; i++) { \
118 if (t->devices[i].results.field > max) \
119 max = t->devices[i].results.field; \
129 for (i = 0; i < t->device_count; i++) { \
132 if (t->devices[i].results.field < min) \
133 min = t->devices[i].results.field; \
144 for (i = 0; i < t->device_count; i++) { \
148 val += t->devices[i].results.field; \
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/serial/
D8250.yaml3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - devicetree@vger.kernel.org
13 - $ref: /schemas/serial.yaml#
14 - if:
16 - aspeed,sirq-polarity-sense
20 const: aspeed,ast2500-vuart
21 - if:
24 const: mrvl,mmp-uart
27 reg-shift:
[all …]
/Linux-v5.10/drivers/usb/serial/
Dwhiteheat.h1 /* SPDX-License-Identifier: GPL-2.0+ */
9 * Greg Kroah-Hartman (greg@kroah.com)
11 * See Documentation/usb/usb-serial.rst for more information on using this
38 #define WHITEHEAT_DO_TEST 15 /* perform specified test */
63 #define WHITEHEAT_PAR_NONE 'n' /* no parity */
69 #define WHITEHEAT_SFLOW_NONE 'n' /* no software flow control */
76 #define WHITEHEAT_HFLOW_NONE 0x00 /* no hardware flow control */
90 __le32 baud; /* any value 7 - 460800, firmware calculates
99 __u8 lloop; /* 0/1 turns local loopback mode off/on */
131 * Type DATA: 0x00 - 0xff
[all …]
/Linux-v5.10/drivers/net/fddi/
Ddefza.h1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /* FDDI network adapter driver for DEC FDDIcontroller 700/700-C devices.
36 #define FZA_RESET_CLR 0x0000 /* run self-test and return to work */
43 #define FZA_EVENT_NXM_ERR 0x0080 /* non-existent memory access error;
45 * unsupported partial-word accesses
64 #define FZA_STATUS_TEST_SHIFT 0x0 /* test failure bits */
93 #define FZA_HALT_HOST 0x01 /* host-directed HALT */
95 #define FZA_HALT_NXM 0x03 /* adapter non-existent memory ref. */
98 #define FZA_HALT_PC_TRACE 0x06 /* PC Trace path test */
102 #define FZA_TEST_FATAL 0x00 /* self-test catastrophic failure */
[all …]
/Linux-v5.10/tools/testing/selftests/net/
Dfcnal-test.sh2 # SPDX-License-Identifier: GPL-2.0
9 # 2. client, server, no-server
13 # 6. VRF and non-VRF permutations
16 # ns-A | ns-B
17 # No VRF case:
18 # [ lo ] [ eth1 ]---|---[ eth1 ] [ lo ]
21 # [ red ]---[ eth1 ]---|---[ eth1 ] [ lo ]
23 # ns-A:
30 # ns-B:
35 # ns-A to ns-C connection - only for VRF and same config
[all …]
/Linux-v5.10/drivers/atm/
Dsuni.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * drivers/atm/suni.h - S/UNI PHY driver
6 /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */
21 /* no 0x03 */
26 /* 0x08-0x0F reserved */
29 #define SUNI_RSOP_SBL 0x12 /* RSOP Section BIP-8 LSB */
30 #define SUNI_RSOP_SBM 0x13 /* RSOP Section BIP-8 MSB */
33 /* 0x16-0x17 reserved */
36 #define SUNI_RLOP_LBL 0x1A /* RLOP Line BIP-8/24 LSB */
37 #define SUNI_RLOP_LB 0x1B /* RLOP Line BIP-8/24 */
[all …]
/Linux-v5.10/Documentation/networking/
Dmsg_zerocopy.rst14 -----------------------
39 ---------
42 netdev 2.1. For more in-depth information see that paper and talk,
52 [PATCH net-next v4 0/9] socket sendmsg MSG_ZEROCOPY
53 https://lkml.kernel.org/netdev/20170803202945.70750-1-willemdebruijn.kernel@gmail.com
63 ------------
76 ------------
85 A zerocopy failure will return -1 with errno ENOBUFS. This happens if
100 -------------
107 maintains an internal unsigned 32-bit counter. Each send call with
[all …]
/Linux-v5.10/drivers/nfc/st-nci/
Dst-nci.h1 /* SPDX-License-Identifier: GPL-2.0-only */
20 * ref ISO7816-3 chap 8.1. the initial character TS is followed by a
63 * enum nfc_vendor_cmds - supported nfc vendor commands
65 * @FACTORY_MODE: Allow to set the driver into a mode where no secure element
83 * technology. When using this command to anti-collision is done.
84 * @LOOPBACK: Allow to echo a command and test the Dh to CLF connectivity.
88 * specific CLF command as there is no GPIO for this.
106 LOOPBACK, enumerator
/Linux-v5.10/arch/mips/boot/dts/mti/
Dsead3.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
8 #include <dt-bindings/interrupt-controller/mips-gic.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
13 compatible = "mti,sead-3";
14 model = "MIPS SEAD-3";
17 stdout-path = "serial1:115200";
36 cpu_intc: interrupt-controller {
37 compatible = "mti,cpu-interrupt-controller";
[all …]
/Linux-v5.10/tools/testing/selftests/net/mptcp/
Dmptcp_connect.sh2 # SPDX-License-Identifier: GPL-2.0
26 if [ $tc_loss -eq 100 ];then
28 elif [ $tc_loss -ge 10 ]; then
30 elif [ $tc_loss -ge 1 ]; then
37 echo "Usage: $0 [ -a ]"
38 echo -e "\t-d: tc/netem delay in milliseconds, e.g. \"-d 10\" (default random)"
39 echo -e "\t-l: tc/netem loss percentage, e.g. \"-l 0.02\" (default random)"
40 …echo -e "\t-r: tc/netem reorder mode, e.g. \"-r 25% 50% gap 5\", use "-r 0" to disable reordering …
41 …echo -e "\t-e: ethtool features to disable, e.g.: \"-e tso -e gso\" (default: randomly disable any…
42 echo -e "\t-4: IPv4 only: disable IPv6 tests (default: test both IPv4 and IPv6)"
[all …]
/Linux-v5.10/arch/alpha/kernel/
Dcore_cia.c1 // SPDX-License-Identifier: GPL-2.0
34 * NOTE: Herein lie back-to-back mb instructions. They are magic.
58 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
60 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
70 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
72 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
81 * The function number selects which function of a multi-function device
93 u8 bus = bus_dev->number; in mk_conf_addr()
119 *(vip)CIA_IOC_CIA_ERR; /* re-read to force write */ in conf_read()
173 *(vip)CIA_IOC_CIA_ERR; /* re-read to force write */ in conf_write()
[all …]

12345678910