/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | ethtool_lanes.sh | 2 # SPDX-License-Identifier: GPL-2.0 21 ip link set dev $swp1 up 22 ip link set dev $swp2 up 28 if [[ -z $lanes_exist ]]; then 33 ip link set dev $swp2 down 34 ip link set dev $swp1 down 61 if [[ $autoneg -eq 0 ]]; then 65 ethtool -s $swp1 speed $max_speed lanes $unsupported_lanes $autoneg_str &> /dev/null 75 local -a lanes_arr 76 local -a speeds_arr [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pci/ |
H A D | ti,j721e-pci-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ 4 --- 5 $id: http://devicetree.org/schemas/pci/ti,j721e-pci-ep.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Kishon Vijay Abraham I <kishon@ti.com> 14 - $ref: cdns-pcie-ep.yaml# 19 - const: ti,j721e-pcie-ep 20 - description: PCIe EP controller in AM64 22 - const: ti,am64-pcie-ep [all …]
|
H A D | baikal,bt1-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/baikal,bt1-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Baikal-T1 PCIe Root Port Controller 10 - Serge Semin <fancer.lancer@gmail.com> 13 Embedded into Baikal-T1 SoC Root Complex controller with a single port 14 activated. It's based on the DWC RC PCIe v4.60a IP-core, which is configured 16 link up to Gen.3 speed on x4 lanes. It doesn't have embedded clock and reset 18 performed by software. There four in- and four outbound iATU regions [all …]
|
H A D | ti,j721e-pci-host.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/ 4 --- 5 $id: http://devicetree.org/schemas/pci/ti,j721e-pci-host.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Kishon Vijay Abraham I <kishon@ti.com> 14 - $ref: cdns-pcie-host.yaml# 19 - const: ti,j721e-pcie-host 20 - description: PCIe controller in AM64 22 - const: ti,am64-pcie-host [all …]
|
H A D | ti,am65-pci-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2021 Texas Instruments Incorporated - http://www.ti.com/ 4 --- 5 $id: http://devicetree.org/schemas/pci/ti,am65-pci-ep.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Kishon Vijay Abraham I <kishon@ti.com> 14 - $ref: pci-ep.yaml# 19 - ti,am654-pcie-ep 24 reg-names: 26 - const: app [all …]
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | mad.h | 1 /* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */ 3 * Copyright(c) 2015 - 2017 Intel Corporation. 38 #define OPA_NOTICE_TRAP_LWDE_CHG 0x08 /* Link Width Downgrade Enable 41 #define OPA_NOTICE_TRAP_LSE_CHG 0x04 /* Link Speed Enable changed */ 42 #define OPA_NOTICE_TRAP_LWE_CHG 0x02 /* Link Width Enable changed */ 147 * The default link width is multiplied by 1000 282 __be16 ccti_limit; /* max CCTI for cc table */ 287 u16 ccti_limit; /* max CCTI for cc table */ 295 u16 ccti_limit; /* max CCTI for cc table */ 300 * struct cc_state combines the (active) per-port congestion control [all …]
|
H A D | pcie.c | 1 // SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause 3 * Copyright(c) 2015 - 2019 Intel Corporation. 27 struct pci_dev *pdev = dd->pcidev; in hfi1_pcie_init() 43 dd_dev_err(dd, "pci enable failed: error %d\n", -ret); in hfi1_pcie_init() 49 dd_dev_err(dd, "pci_request_regions fails: err %d\n", -ret); in hfi1_pcie_init() 53 ret = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); in hfi1_pcie_init() 60 ret = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); in hfi1_pcie_init() 90 * fields required to re-initialize after a chip reset, or for 111 return -EINVAL; in hfi1_pcie_ddinit() 114 dd->kregbase1 = ioremap(addr, RCV_ARRAY); in hfi1_pcie_ddinit() [all …]
|
/openbmc/linux/tools/net/ynl/ |
H A D | ethtool.py | 2 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 14 Verify and convert command-line arguments to the ynl-compatible request. 17 valid_attrs.remove('header') # not user-provided 41 Pretty-print a set of fields from the reply. desc specifies the 66 Print out the speed-like strings from the value dict. 68 speed_re = re.compile(r'[0-9]+base[^/]+/.+') 69 speed = [ k for k, v in value.items() if v and speed_re.match(k) ] 70 print(f'{name}: {" ".join(speed)}') 78 'dev-name': args.device, 95 if msg['header']['dev-name'] == args.device: [all …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | fsl-lx2160a-bluebox3.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 // Copyright 2020-2021 NXP 7 /dts-v1/; 9 #include "fsl-lx2160a.dtsi" 13 compatible = "fsl,lx2160a-bluebox3", "fsl,lx2160a"; 23 stdout-path = "serial0:115200n8"; 26 sb_3v3: regulator-sb3v3 { 27 compatible = "regulator-fixed"; 28 regulator-name = "MC34717-3.3VSB"; 29 regulator-min-microvolt = <3300000>; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-sm1-h96-max.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-sm1-ac2xx.dtsi" 10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 13 compatible = "haochuangyi,h96-max", "amlogic,sm1"; 14 model = "Shenzhen Haochuangyi Technology Co., Ltd H96 Max"; 17 compatible = "amlogic,axg-sound-card"; 18 model = "H96-MAX"; 19 audio-aux-devs = <&tdmout_b>; 20 audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1", [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_param.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2006 Intel Corporation. */ 12 #define OPTION_UNSET -1 30 * Valid Range: 80-256 for 82542 and 82543 gigabit ethernet controllers 31 * Valid Range: 80-4096 for 82544 and newer 39 * Valid Range: 80-256 for 82542 and 82543 gigabit ethernet controllers 40 * Valid Range: 80-4096 for 82544 and newer 46 /* User Specified Speed Override 49 * - 0 - auto-negotiate at all supported speeds 50 * - 10 - only link at 10 Mbps [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | pci_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 * Copyright 1997--1999 Martin Mares <mj@ucw.cz> 18 * The HyperTransport I/O Link Specification 25 * Conventional PCI and PCI-X Mode 1 devices have 256 bytes of 26 * configuration space. PCI-X Mode 2 and PCIe devices have 4096 bytes of 50 #define PCI_COMMAND_FAST_BACK 0x200 /* Enable back-to-back writes */ 59 #define PCI_STATUS_FAST_BACK 0x80 /* Accept fast-back to back */ 123 /* 0x35-0x3b are reserved */ 129 /* Header type 1 (PCI-to-PCI bridges) */ 157 /* 0x35-0x3b is reserved */ [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | apq8096-db820c.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. 6 /dts-v1/; 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 15 #include <dt-bindings/sound/qcom,q6afe.h> 16 #include <dt-bindings/sound/qcom,q6asm.h> 17 #include <dt-bindings/sound/qcom,wcd9335.h> [all …]
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | pci_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 * Copyright 1997--1999 Martin Mares <mj@ucw.cz> 18 * The HyperTransport I/O Link Specification 25 * Conventional PCI and PCI-X Mode 1 devices have 256 bytes of 26 * configuration space. PCI-X Mode 2 and PCIe devices have 4096 bytes of 50 #define PCI_COMMAND_FAST_BACK 0x200 /* Enable back-to-back writes */ 59 #define PCI_STATUS_FAST_BACK 0x80 /* Accept fast-back to back */ 83 #define PCI_HEADER_TYPE_MFD 0x80 /* Multi-Function Device (possible) */ 124 /* 0x35-0x3b are reserved */ 130 /* Header type 1 (PCI-to-PCI bridges) */ [all …]
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | kirkwood-l-50.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Check Point L-50 Board Description 7 /dts-v1/; 10 #include "kirkwood-6281.dtsi" 13 model = "Check Point L-50"; 14 compatible = "checkpoint,l-50", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 23 stdout-path = &uart0; 27 pinctrl: pin-controller@10000 { 28 pinctrl-0 = <&pmx_led38 &pmx_sysrst &pmx_button29>; 29 pinctrl-names = "default"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | ethernet-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/ethernet-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David S. Miller <davem@davemloft.net> 20 local-mac-address: 23 $ref: /schemas/types.yaml#/definitions/uint8-array 27 mac-address: 32 local-mac-address property. 33 $ref: /schemas/types.yaml#/definitions/uint8-array [all …]
|
/openbmc/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_param.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 1999 - 2010 Intel Corporation. 12 #define OPTION_UNSET -1 17 * TxDescriptors - Transmit Descriptor Count 18 * @Valid Range: PCH_GBE_MIN_TXD - PCH_GBE_MAX_TXD 26 * RxDescriptors -Receive Descriptor Count 27 * @Valid Range: PCH_GBE_MIN_RXD - PCH_GBE_MAX_RXD 35 * Speed - User Specified Speed Override 37 * - 0: auto-negotiate at all supported speeds 38 * - 10: only link at 10 Mbps [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | armada-3720-uDPU.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Based on Marvell Armada 3720 development board (DB-88F3720-DDR3) 12 /dts-v1/; 14 #include "armada-37xx.dtsi" 15 #include "armada-3720-uDPU-u-boot.dtsi" 22 stdout-path = "serial0:115200n8"; 38 #address-cells = <1>; 39 #size-cells = <0>; 40 ethphy0: ethernet-phy@0 { 43 ethphy1: ethernet-phy@1 { [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/vf/ |
H A D | vf610-zii-dev-rev-b.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 7 #include "vf610-zii-dev.dtsi" 11 compatible = "zii,vf610dev-b", "zii,vf610dev", "fsl,vf610"; 13 mdio-mux { 14 compatible = "mdio-mux-gpio"; 15 pinctrl-0 = <&pinctrl_mdio_mux>; 16 pinctrl-names = "default"; 21 mdio-parent-bus = <&mdio1>; 22 #address-cells = <1>; [all …]
|
H A D | vf610-zii-scu4-aib.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 // Copyright (C) 2016-2018 Zodiac Inflight Innovations 5 /dts-v1/; 10 compatible = "zii,vf610scu4-aib", "zii,vf610dev", "fsl,vf610"; 13 stdout-path = &uart0; 21 gpio-leds { 22 compatible = "gpio-leds"; 23 pinctrl-0 = <&pinctrl_leds_debug>; 24 pinctrl-names = "default"; 26 led-debug { [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/dsa/ |
H A D | microchip,ksz.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marek Vasut <marex@denx.de> 11 - Woojung Huh <Woojung.Huh@microchip.com> 14 - $ref: dsa.yaml#/$defs/ethernet-ports 15 - $ref: /schemas/spi/spi-peripheral-props.yaml# 22 - microchip,ksz8765 23 - microchip,ksz8794 24 - microchip,ksz8795 [all …]
|
H A D | microchip,lan937x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - UNGLinuxDriver@microchip.com 13 - $ref: dsa.yaml#/$defs/ethernet-ports 18 - microchip,lan9370 19 - microchip,lan9371 20 - microchip,lan9372 21 - microchip,lan9373 22 - microchip,lan9374 [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx51-zii-scu3-esb.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 13 compatible = "zii,imx51-scu3-esb", "fsl,imx51"; 16 stdout-path = &uart1; 25 usb_vbus: regulator-usb-vbus { 26 compatible = "regulator-fixed"; 27 regulator-name = "usb_vbus"; 28 regulator-min-microvolt = <5000000>; 29 regulator-max-microvolt = <5000000>; 31 pinctrl-names = "default"; [all …]
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | xhci.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * Based on xHCI host controller driver in linux-kernel 29 /* Max number of USB devices for any host controller - limit in section 6.1 */ 31 /* Section 5.3.3 - MaxPorts */ 42 * connect status, over-current status, port speed, and device removable. 43 * connect status and port speed are also sticky - meaning they're in 50 * link state, port power, port indicator state, "wake on" enable state 64 * over-current, reset, link state, and L1 change 68 * Bit 16 is RW, and writing a '1' to it causes the link state control to be 91 /* bits 7:0 - how long is the Capabilities register */ [all …]
|
/openbmc/linux/arch/arm/boot/dts/mediatek/ |
H A D | mt7623n-bananapi-bpi-r2.dts | 2 * Copyright 2017-2018 Sean Wang <sean.wang@mediatek.com> 4 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/input/input.h> 13 model = "Bananapi BPI-R2"; 14 compatible = "bananapi,bpi-r2", "mediatek,mt7623"; 21 stdout-path = "serial2:115200n8"; 25 compatible = "hdmi-connector"; 28 ddc-i2c-bus = <&hdmiddc0>; 32 remote-endpoint = <&hdmi0_out>; [all …]
|