| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | fsl-ls1028a-kontron-sl28-var4.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Device Tree file for the Kontron SMARC-sAL28 board. 12 /dts-v1/; 13 #include "fsl-ls1028a-kontron-sl28.dts" 14 #include <dt-bindings/net/qca-ar803x.h> 17 model = "Kontron SMARC-sAL28 (Dual PHY)"; 18 compatible = "kontron,sl28-var4", "kontron,sl28", "fsl,ls1028a"; 22 phy1: ethernet-phy@4 { 24 eee-broken-1000t; 25 eee-broken-100tx; [all …]
|
| H A D | fsl-ls1028a-kontron-sl28-var1.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Device Tree file for the Kontron SMARC-sAL28 board. 15 /dts-v1/; 16 #include "fsl-ls1028a-kontron-sl28.dts" 17 #include <dt-bindings/net/qca-ar803x.h> 20 model = "Kontron SMARC-sAL28 (4 Lanes)"; 21 compatible = "kontron,sl28-var1", "kontron,sl28", "fsl,ls1028a"; 26 /delete-node/ ethernet-phy@5; 28 phy0: ethernet-phy@4 { 30 eee-broken-1000t; [all …]
|
| H A D | fsl-ls1028a-kontron-sl28-var2.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Device Tree file for the Kontron SMARC-sAL28 board. 12 /dts-v1/; 13 #include "fsl-ls1028a-kontron-sl28.dts" 16 model = "Kontron SMARC-sAL28 (TSN-on-module)"; 17 compatible = "kontron,sl28-var2", "kontron,sl28", "fsl,ls1028a"; 21 phy1: ethernet-phy@4 { 23 eee-broken-1000t; 24 eee-broken-100tx; 33 * port instead. Therefore, delete the phy-handle property here. [all …]
|
| H A D | fsl-ls1028a-kontron-sl28.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Device Tree file for the Kontron SMARC-sAL28 board. 9 /dts-v1/; 10 #include "fsl-ls1028a.dtsi" 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/input.h> 16 model = "Kontron SMARC-sAL28"; 33 compatible = "gpio-keys"; 35 power-button { [all …]
|
| H A D | imx93-var-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 12 model = "Variscite VAR-SOM-MX93 module"; 13 compatible = "variscite,var-som-mx93", "fsl,imx93"; 15 mmc_pwrseq: mmc-pwrseq { 16 compatible = "mmc-pwrseq-simple"; 17 post-power-on-delay-ms = <100>; 18 power-off-delay-us = <10000>; 19 reset-gpios = <&gpio4 14 GPIO_ACTIVE_LOW>, /* WIFI_RESET */ 25 pinctrl-names = "default"; [all …]
|
| H A D | imx8mp-debix-som-a-bmb-08.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "imx8mp-debix-som-a.dtsi" 12 model = "Polyhex i.MX8MPlus Debix SOM A on BMB-08"; 13 compatible = "polyhex,imx8mp-debix-som-a-bmb-08", "polyhex,imx8mp-debix-som-a", 22 stdout-path = &uart2; 25 reg_baseboard_vdd3v3: regulator-baseboard-vdd3v3 { 26 compatible = "regulator-fixed"; 27 regulator-min-microvolt = <3300000>; 28 regulator-max-microvolt = <3300000>; [all …]
|
| H A D | imx8mp-msc-sm2s.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 9 #include <dt-bindings/net/ti-dp83867.h> 18 stdout-path = &uart2; 21 reg_usb0_host_vbus: regulator-usb0-vbus { 22 compatible = "regulator-fixed"; 23 regulator-name = "usb0_host_vbus"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&pinctrl_usb0_vbus>; 26 regulator-min-microvolt = <5000000>; [all …]
|
| H A D | imx8mp-verdin.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 #include <dt-bindings/phy/phy-imx8-pcie.h> 7 #include <dt-bindings/pwm/pwm.h> 12 stdout-path = &uart3; 24 compatible = "pwm-backlight"; 25 brightness-levels = <0 45 63 88 119 158 203 255>; 26 default-brightness-level = <4>; 28 enable-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&pinctrl_i2s_2_d_out_dsi_1_bkl_en>; [all …]
|
| /linux/drivers/net/phy/ |
| H A D | phy-core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 #include "phylib-internal.h" 11 #include "phy-caps.h" 14 * phy_speed_to_str - Return a string representing the PHY link speed 29 return "100Mbps"; in phy_speed_to_str() 51 return "100Gbps"; in phy_speed_to_str() 61 return "Unsupported (update phy-core.c)"; in phy_speed_to_str() 67 * phy_duplex_to_str - Return string describing the duplex 79 return "Unsupported (update phy-core.c)"; in phy_duplex_to_str() 84 * phy_rate_matching_to_str - Return a string describing the rate matching [all …]
|
| H A D | phy_device.c | 1 // SPDX-License-Identifier: GPL-2.0+ 33 #include <linux/pse-pd/pse.h> 44 #include "phylib-internal.h" 45 #include "phy-caps.h" 149 /* 10/100 half/full*/ in features_init() 157 /* 100 full, TP */ in features_init() 167 /* 10/100 half/full + 1000 half/full */ in features_init() 178 /* 10/100 half/full + 1000 half/full + fibre*/ in features_init() 190 /* 10/100 half/full + 1000 half/full + 10G full*/ in features_init() 214 put_device(&phydev->mdio.dev); in phy_device_free() [all …]
|
| H A D | phylink.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * technologies such as SFP cages where the PHY is hot-pluggable. 23 #include "phy-caps.h" 38 * struct phylink - internal data type for phylink 55 u8 link_port; /* The current non-phy ethtool port */ 70 /* Serialize updates to pl->phydev with phylink_resolve() */ 100 if ((pl)->config->type == PHYLINK_NETDEV) \ 101 netdev_printk(level, (pl)->netdev, fmt, ##__VA_ARGS__); \ 102 else if ((pl)->config->type == PHYLINK_DEV) \ 103 dev_printk(level, (pl)->dev, fmt, ##__VA_ARGS__); \ [all …]
|
| H A D | micrel.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * Copyright (c) 2010-2013 Micrel, Inc. 14 * 100/10 Phys : ksz8001, ksz8721, ksz8737, ksz8041 129 * The value is calculated as following: (1/1000000)/((2^-32)/4) 135 * The value is calculated as following: (1/1000000)/((2^-32)/8) 554 const struct kszphy_type *type = phydev->drv->driver_data; in kszphy_config_intr() 558 if (type && type->interrupt_level_mask) in kszphy_config_intr() 559 mask = type->interrupt_level_mask; in kszphy_config_intr() 571 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) { in kszphy_config_intr() 634 return -EINVAL; in kszphy_setup_led() [all …]
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | am5729-beagleboneai.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2014-2019 Texas Instruments Incorporated - https://www.ti.com/ 6 /dts-v1/; 9 #include "am57xx-commercial-grade.dtsi" 10 #include "dra74x-mmc-iodelay.dtsi" 11 #include "dra74-ipu-dsp-common.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/pinctrl/dra.h> 18 compatible = "beagle,am5729-beagleboneai", "ti,am5728", [all …]
|
| /linux/arch/arm64/boot/dts/amlogic/ |
| H A D | meson-g12a-x96-max.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12a.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/meson-g12a-gpio.h> 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 14 compatible = "amediatech,x96-max", "amlogic,g12a"; 22 spdif_dit: audio-codec-1 { 23 #sound-dai-cells = <0>; 24 compatible = "linux,spdif-dit"; [all …]
|
| /linux/drivers/net/ethernet/samsung/sxgbe/ |
| H A D | sxgbe_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/dma-mapping.h> 54 static int debug = -1; 73 * sxgbe_verify_args - verify the driver parameters. 86 if (!priv->tx_path_in_lpi_mode) in sxgbe_enable_eee_mode() 87 priv->hw->mac->set_eee_mode(priv->ioaddr); in sxgbe_enable_eee_mode() 92 /* Exit and disable EEE in case of we are in LPI state. */ in sxgbe_disable_eee_mode() 93 priv->hw->mac->reset_eee_mode(priv->ioaddr); in sxgbe_disable_eee_mode() 94 timer_delete_sync(&priv->eee_ctrl_timer); in sxgbe_disable_eee_mode() 95 priv->tx_path_in_lpi_mode = false; in sxgbe_disable_eee_mode() [all …]
|
| /linux/Documentation/networking/dsa/ |
| H A D | dsa.rst | 22 An Ethernet switch typically comprises multiple front-panel ports and one 27 gateways, or even top-of-rack switches. This host Ethernet controller will 36 For each front-panel port, DSA creates specialized network devices which are 37 used as controlling and data-flowing endpoints for use by the Linux networking 46 - what port is this frame coming from 47 - what was the reason why this frame got forwarded 48 - how to send CPU originated traffic to specific ports 52 on Port-based VLAN IDs). 57 - the "cpu" port is the Ethernet switch facing side of the management 61 - the "dsa" port(s) are just conduits between two or more switches, and as such [all …]
|
| /linux/drivers/net/usb/ |
| H A D | lan78xx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 123 #define LAN78XX_TSO_SIZE(dev) ((dev)->tx_urb_size - TX_SKB_MIN_LEN) 193 "RX 65 - 127 Byte Frames", 194 "RX 128 - 255 Byte Frames", 195 "RX 256 - 511 Bytes Frames", 196 "RX 512 - 1023 Byte Frames", 197 "RX 1024 - 1518 Byte Frames", 199 "EEE RX LPI Transitions", 200 "EEE RX LPI Time", 201 "TX FCS Errors", [all …]
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | tg3.c | 7 * Copyright (C) 2005-2016 Broadcom Corporation. 8 * Copyright (C) 2016-2017 Broadcom Limited. 14 * Copyright (C) 2000-2016 Broadcom Corporation. 15 * Copyright (C) 2016-2017 Broadcom Ltd. 52 #include <linux/dma-mapping.h> 56 #include <linux/hwmon-sysfs.h> 94 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags) 96 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags) 98 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags) 121 #define TG3_GRC_LCLCTL_PWRSW_DELAY 100 [all …]
|
| H A D | tg3.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * Copyright (C) 2007-2016 Broadcom Corporation. 9 * Copyright (C) 2016-2017 Broadcom Limited. 21 #define TG3_BDINFO_HOST_ADDR 0x0UL /* 64-bit */ 22 #define TG3_BDINFO_MAXLEN_FLAGS 0x8UL /* 32-bit */ 27 #define TG3_BDINFO_NIC_ADDR 0xcUL /* 32-bit */ 56 #define TG3PCI_DEVICE_TIGON3_5785_F 0x16a0 /* 10/100 only */ 78 /* 0x04 --> 0x2c unused */ 115 /* 0x30 --> 0x64 unused */ 117 /* 0x66 --> 0x68 unused */ [all …]
|
| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | stmmac_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 This is the driver for the ST MAC 10/100/1000 on-chip Ethernet controllers. 6 Copyright(C) 2007-2011 STMicroelectronics Ltd 29 #include <linux/dma-mapping.h> 57 * with fine resolution and binary rollover. This avoid non-monotonic behavior 64 #define TSO_MAX_BUFF_SIZE (SZ_16K - 1) 72 static int debug = -1; 74 MODULE_PARM_DESC(debug, "Message Level (-1: default, 0: no output, 16: all)"); 76 static int phyaddr = -1; 80 #define STMMAC_TX_THRESH(x) ((x)->dma_conf.dma_tx_size / 4) [all …]
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.c | 1 /* Broadcom NetXtreme-C/E network driver. 3 * Copyright (c) 2014-2016 Broadcom Corporation 4 * Copyright (c) 2016-2019 Broadcom Limited 25 #include <linux/dma-mapping.h> 60 #include <linux/pci-tph.h> 95 [BCM57301] = { "Broadcom BCM57301 NetXtreme-C 10Gb Ethernet" }, 96 [BCM57302] = { "Broadcom BCM57302 NetXtreme-C 10Gb/25Gb Ethernet" }, 97 [BCM57304] = { "Broadcom BCM57304 NetXtreme-C 10Gb/25Gb/40Gb/50Gb Ethernet" }, 98 [BCM57417_NPAR] = { "Broadcom BCM57417 NetXtreme-E Ethernet Partition" }, 100 [BCM57311] = { "Broadcom BCM57311 NetXtreme-C 10Gb Ethernet" }, [all …]
|
| /linux/drivers/ata/ |
| H A D | ata_piix.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ata_piix.c - Intel PATA/SATA controllers 6 * Please ALWAYS copy linux-ide@vger.kernel.org 9 * Copyright 2003-2005 Red Hat Inc 10 * Copyright 2003-2005 Jeff Garzik 14 * Copyright (C) 1998-1999 Andrzej Krzysztofowicz, Author and Maintainer 15 * Copyright (C) 1998-2000 Andre Hedrick <andre@linux-ide.org> 19 * as Documentation/driver-api/libata.rst 40 * PIIX4 errata #9 - Only on ultra obscure hw 41 * ICH3 errata #13 - Not observed to affect real hw [all …]
|
| /linux/drivers/net/ethernet/marvell/ |
| H A D | sky2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * of the original driver such as link fail-over and link management because 19 #include <linux/dma-mapping.h> 54 #define RX_MAX_PENDING (RX_LE_SIZE/6 - 2) 70 #define RING_NEXT(x, s) (((x)+1) & ((s)-1)) 77 static int debug = -1; /* defaults above */ 85 static int disable_msi = -1; 94 { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, 0x9000) }, /* SK-9Sxx */ 95 { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, 0x9E00) }, /* SK-9Exx */ 96 { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, 0x9E01) }, /* SK-9E21M */ [all …]
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | igb_main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 56 "Copyright (c) 2007-2014 Intel Corporation."; 208 static int debug = -1; 236 /* TX Registers */ 253 /* igb_regdump - register printout routine */ 260 switch (reginfo->ofs) { in igb_regdump() 310 pr_info("%-15s %08x\n", reginfo->name, rd32(reginfo->ofs)); in igb_regdump() 314 snprintf(rname, 16, "%s%s", reginfo->name, "[0-3]"); in igb_regdump() 315 pr_info("%-15s %08x %08x %08x %08x\n", rname, regs[0], regs[1], in igb_regdump() [all …]
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2024 Intel Corporation. */ 66 "Copyright (c) 1999-2016 Intel Corporation."; 82 /* ixgbe_pci_tbl - PCI Device ID Table 162 …"Maximum number of virtual functions to allocate per physical function - default is zero and maxim… 168 "Allow unsupported and untested SFP+ modules on 82599-based adapters"); 171 static int debug = -1; 193 return dev && (dev->netdev_ops == &ixgbe_netdev_ops); in netif_is_ixgbe() 202 parent_bus = adapter->pdev->bus->parent; in ixgbe_read_pci_cfg_word_parent() 204 return -1; in ixgbe_read_pci_cfg_word_parent() [all …]
|