Home
last modified time | relevance | path

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

12345678910>>...12

/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/u-boot/cmd/aspeed/nettest/
H A Dphy.c1 // SPDX-License-Identifier: GPL-2.0+
63 //------------------------------------------------------------
65 //------------------------------------------------------------
71 if (eng->env.is_new_mdio_reg[eng->run.mdio_idx]) { in phy_write()
73 MDIO_SET_PHY_ADDR(eng->phy.Adr) | in phy_write()
75 writel(wr_data, eng->run.mdio_base); in phy_write()
76 /* check time-out */ in phy_write()
77 while (readl(eng->run.mdio_base) & MDIO_FIRE_BUSY) { in phy_write()
79 if (!eng->run.tm_tx_only) in phy_write()
81 "[PHY-Write] Time out: %08x\n", in phy_write()
[all …]
/openbmc/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 …]
/openbmc/u-boot/doc/device-tree-bindings/serial/
H A D8250.txt4 - compatible : one of:
5 - "ns8250"
6 - "ns16450"
7 - "ns16550a"
8 - "ns16550"
9 - "ns16750"
10 - "ns16850"
11 - For Tegra20, must contain "nvidia,tegra20-uart"
12 - For other Tegra, must contain '"nvidia,<chip>-uart",
13 "nvidia,tegra20-uart"' where <chip> is tegra30, tegra114, tegra124,
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dast2600.dtsi1 // SPDX-License-Identifier: GPL-2.0+
2 #include <dt-bindings/interrupt-controller/arm-gic.h>
3 #include <dt-bindings/gpio/aspeed-gpio.h>
9 #address-cells = <1>;
10 #size-cells = <1>;
11 interrupt-parent = <&gic>;
46 #address-cells = <1>;
47 #size-cells = <0>;
48 enable-method = "aspeed,ast2600-smp";
51 compatible = "arm,cortex-a7";
[all …]
/openbmc/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 …]
/openbmc/linux/tools/testing/selftests/net/
H A Dsetup_loopback.sh2 # SPDX-License-Identifier: GPL-2.0
10 local -r dev="$1"
14 if [[ "${carrier}" -ne 1 ]] ; then
25 # Assumes that there is no existing ipvlan device on the physical device
29 # Fail hard if cannot turn on loopback mode for current NIC
30 ethtool -K "${dev}" loopback on || exit 1
35 if [[ "${carrier}" -ne 1 ]] ; then
42 local -r link_dev="$1"
43 local -r ns_name="$2"
44 local -r ns_dev="$3"
[all …]
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 …]
/openbmc/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 …]
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/
H A Dncsi_fsm.c8 * http://www.apache.org/licenses/LICENSE-2.0
28 // TODO - This state machine needs to be rewritten, now that we have a
30 // The NC-SI related states of the state machine are currently organized in
32 // this resulted in more hard-coded pairs which worked okay for X
36 // the second channel is supported (1) or not (3 - skip over the second channel
39 do { *variable += (ncsi_state->channel_count == 1)\
52 network_debug->ncsi.fail_count++; in ncsi_fsm_fail()
53 memcpy(&network_debug->ncsi.state_that_failed, ncsi_state, in ncsi_fsm_fail()
54 sizeof(network_debug->ncsi.state_that_failed)); in ncsi_fsm_fail()
60 if (!network_debug->ncsi.enabled) { in ncsi_fsm_connection_state()
[all …]
/openbmc/qemu/tests/qtest/
H A Dxlnx-can-test.c6 * Written-by: Vikram Garhwal<fnu.vikram@xilinx.com>
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
129 * This test will be transferring data from CAN0 and CAN1 through canbus. CAN0
130 * initiate the data transfer to can-bus, CAN1 receives the data. Test compares
140 QTestState *qts = qtest_init("-machine xlnx-zcu102" in test_can_bus()
141 " -object can-bus,id=canbus" in test_can_bus()
142 " -machine canbus0=canbus" in test_can_bus()
143 " -machine canbus1=canbus" in test_can_bus()
168 * This test is performing loopback mode on CAN0 and CAN1. Data sent from TX of
177 QTestState *qts = qtest_init("-machine xlnx-zcu102" in test_can_loopback()
[all …]
/openbmc/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 …]
/openbmc/u-boot/doc/
H A DREADME.POST1 Power-On-Self-Test support in U-Boot
2 ------------------------------------
4 This project is to support Power-On-Self-Test (POST) in U-Boot.
6 1. High-level requirements
11 and running Power-On-Self-Test in U-Boot. This framework shall
21 The framework shall allow run-time configuration of the lists
22 of tests running on normal/power-fail booting.
31 3) The following POST tests shall be developed for MPC823E-based
34 o) CPU test
35 o) Cache test
[all …]

12345678910>>...12