Home
last modified time | relevance | path

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

12345678910

/linux/drivers/spi/
H A 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/arch/arm/boot/dts/nxp/imx/
H A 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 …]
/linux/drivers/net/ethernet/sfc/falcon/
H A 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
42 char pad[2]; /* Ensures ip is 4-byte aligned */
54 /* Loopback test source MAC address */
60 "Hello world! This is an Efx loopback test in progress!";
[all …]
H A 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/drivers/net/ethernet/sfc/
H A 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.
44 char pad[2]; /* Ensures ip is 4-byte aligned */
56 /* Loopback test source MAC address */
62 "Hello world! This is an Efx loopback test in progress!";
[all …]
H A 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) ? \
109 strscpy(info->driver, KBUILD_MODNAME, sizeof(info->driver)); in efx_ethtool_get_drvinfo()
110 efx_mcdi_print_fwver(efx, info->fw_version, in efx_ethtool_get_drvinfo()
111 sizeof(info->fw_version)); in efx_ethtool_get_drvinfo()
112 strscpy(info->bus_info, pci_name(efx->pci_dev), sizeof(info->bus_info)); in efx_ethtool_get_drvinfo()
119 return efx->msg_enable; in efx_ethtool_get_msglevel()
126 efx->msg_enable = msg_enable; in efx_ethtool_set_msglevel()
130 struct ethtool_test *test, u64 *data) in efx_ethtool_self_test() argument
[all …]
/linux/drivers/net/ethernet/sfc/siena/
H A 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
45 char pad[2]; /* Ensures ip is 4-byte aligned */
57 /* Loopback test source MAC address */
63 "Hello world! This is an Efx loopback test in progress!";
[all …]
H A 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 strscpy(info->driver, KBUILD_MODNAME, sizeof(info->driver)); in efx_siena_ethtool_get_drvinfo()
109 efx_siena_mcdi_print_fwver(efx, info->fw_version, in efx_siena_ethtool_get_drvinfo()
110 sizeof(info->fw_version)); in efx_siena_ethtool_get_drvinfo()
111 strscpy(info->bus_info, pci_name(efx->pci_dev), sizeof(info->bus_info)); in efx_siena_ethtool_get_drvinfo()
118 return efx->msg_enable; in efx_siena_ethtool_get_msglevel()
125 efx->msg_enable = msg_enable; in efx_siena_ethtool_set_msglevel()
133 pause->rx_pause = !!(efx->wanted_fc & EFX_FC_RX); in efx_siena_ethtool_get_pauseparam()
[all …]
/linux/arch/arm/boot/dts/aspeed/
H A 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>;
47 #address-cells = <1>;
48 #size-cells = <0>;
49 enable-method = "aspeed,ast2600-smp";
[all …]
/linux/arch/mips/boot/dts/realtek/
H A Drtl83xx.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause
4 #address-cells = <1>;
5 #size-cells = <1>;
13 compatible = "mti,cpu-interrupt-controller";
14 #address-cells = <0>;
15 #interrupt-cells = <1>;
16 interrupt-controller;
20 compatible = "simple-bus";
21 #address-cells = <1>;
22 #size-cells = <1>;
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A 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
42 struct mlx5_core_health *health = &priv->mdev->priv.health; in mlx5e_test_health_info()
44 return health->fatal_error ? 1 : 0; in mlx5e_test_health_info()
51 if (!netif_carrier_ok(priv->netdev)) in mlx5e_test_link_state()
54 port_state = mlx5_query_vport_state(priv->mdev, MLX5_VPORT_STATE_OP_MOD_VNIC_VPORT, 0); in mlx5e_test_link_state()
62 if (!netif_carrier_ok(priv->netdev)) in mlx5e_test_link_speed()
65 return mlx5e_port_linkspeed(priv->mdev, &speed); in mlx5e_test_link_speed()
74 /* loopback test */
[all …]
/linux/arch/mips/boot/dts/loongson/
H A 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 …]
H A 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 …]
H A 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/drivers/net/ethernet/apple/
H A 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/Documentation/devicetree/bindings/serial/
H A D8250.yaml3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - devicetree@vger.kernel.org
13 - $ref: serial.yaml#
14 - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml#
15 - if:
17 - required:
18 - aspeed,lpc-io-reg
19 - required:
20 - aspeed,lpc-interrupts
[all …]
/linux/drivers/usb/serial/
H A 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/tools/testing/selftests/net/
H A 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 …]
H A Dsetup_loopback.sh2 # SPDX-License-Identifier: GPL-2.0
8 readonly server_ns=$(mktemp -u server-XXXXXXXX)
9 readonly client_ns=$(mktemp -u client-XXXXXXXX)
12 local -r dev="$1"
16 if [[ "${carrier}" -ne 1 ]] ; then
27 # Assumes that there is no existing ipvlan device on the physical device
31 # Fail hard if cannot turn on loopback mode for current NIC
32 ethtool -K "${dev}" loopback on || exit 1
37 if [[ "${carrier}" -ne 1 ]] ; then
44 local -r link_dev="$1"
[all …]
/linux/tools/testing/selftests/net/netfilter/
H A Dconntrack_reverse_clash.sh2 # SPDX-License-Identifier: GPL-2.0
11 checktool "nft --version" "run test without nft"
12 checktool "conntrack --version" "run test without conntrack"
18 # make loopback connections get nat null bindings assigned
19 ip netns exec "$ns0" nft -f - <<EOF
36 while [ $now -lt $end ];do
37 ip netns exec "$ns0" conntrack -F 2>/dev/null
45 echo "PASS: No SNAT performed for null bindings"
/linux/drivers/net/fddi/
H A 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/drivers/atm/
H A 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/arch/arm/boot/dts/intel/ixp/
H A Dintel-ixp4xx.dtsi1 // SPDX-License-Identifier: ISC
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/gpio/gpio.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
14 compatible = "simple-bus";
15 interrupt-parent = <&intcon>;
22 /* compatible and reg filled in by per-soc device tree */
23 native-endian;
24 #address-cells = <2>;
[all …]
/linux/Documentation/networking/
H A Dmsg_zerocopy.rst15 -----------------------
40 ---------
43 netdev 2.1. For more in-depth information see that paper and talk,
53 [PATCH net-next v4 0/9] socket sendmsg MSG_ZEROCOPY
54 https://lore.kernel.org/netdev/20170803202945.70750-1-willemdebruijn.kernel@gmail.com
64 ------------
77 ------------
86 A zerocopy failure will return -1 with errno ENOBUFS. This happens if
101 -------------
108 maintains an internal unsigned 32-bit counter. Each send call with
[all …]
/linux/drivers/nfc/st-nci/
H A 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

12345678910