/openbmc/linux/Documentation/devicetree/bindings/net/pse-pd/ |
H A D | pse-controller.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/pse-pd/pse-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Power Sourcing Equipment (PSE). 9 description: Binding for the Power Sourcing Equipment (PSE) as defined in the 11 power over twisted pair/ethernet cable. The ethernet-pse nodes should be 12 used to describe PSE controller and referenced by the ethernet-phy node. 15 - Oleksij Rempel <o.rempel@pengutronix.de> 19 pattern: "^ethernet-pse(@.*|-([0-9]|[1-9][0-9]+))?$" [all …]
|
H A D | podl-pse-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/pse-pd/podl-pse-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Oleksij Rempel <o.rempel@pengutronix.de> 12 description: Regulator based PoDL PSE controller. The device must be referenced 13 by the PHY node to control power injection to the Ethernet cable. 16 - $ref: pse-controller.yaml# 20 const: podl-pse-regulator 22 '#pse-cells': [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp151a-prtt1c.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 /dts-v1/; 8 #include "stm32mp151a-prtt1l.dtsi" 14 clock_ksz9031: clock-ksz9031 { 15 compatible = "fixed-clock"; 16 #clock-cells = <0>; 17 clock-frequency = <25000000>; 20 clock_sja1105: clock-sja1105 { 21 compatible = "fixed-clock"; 22 #clock-cells = <0>; [all …]
|
/openbmc/linux/drivers/net/pse-pd/ |
H A D | pse_regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // Driver for the regulator based Ethernet Power Sourcing Equipment, without 12 #include <linux/pse-pd/pse.h> 34 if (priv->admin_state == config->admin_cotrol) in pse_reg_ethtool_set_config() 37 switch (config->admin_cotrol) { in pse_reg_ethtool_set_config() 39 ret = regulator_enable(priv->ps); in pse_reg_ethtool_set_config() 42 ret = regulator_disable(priv->ps); in pse_reg_ethtool_set_config() 45 dev_err(pcdev->dev, "Unknown admin state %i\n", in pse_reg_ethtool_set_config() 46 config->admin_cotrol); in pse_reg_ethtool_set_config() 47 ret = -ENOTSUPP; in pse_reg_ethtool_set_config() [all …]
|
H A D | pse_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // Framework for Ethernet Power Sourcing Equipment 10 #include <linux/pse-pd/pse.h> 16 * struct pse_control - a PSE control 17 * @pcdev: a pointer to the PSE controller device 18 * this PSE control belongs to 19 * @list: list entry for the pcdev's PSE controller list 20 * @id: ID of the PSE line in the PSE controller device 31 * of_pse_zero_xlate - dummy function for controllers with one only control 32 * @pcdev: a pointer to the PSE controller device [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Ethernet Power Sourcing Equipment drivers 7 bool "Ethernet Power Sourcing Equipment Support" 16 tristate "Regulator based PSE controller" 19 This module provides support for simple regulator based Ethernet Power
|
/openbmc/linux/net/ethtool/ |
H A D | pse-pd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // ethtool interface for Ethernet PSE (Power Sourcing Equipment) 10 #include "linux/pse-pd/pse.h" 38 struct phy_device *phydev = dev->phydev; in pse_get_pse_attributes() 42 return -EOPNOTSUPP; in pse_get_pse_attributes() 45 if (!phydev->psec) { in pse_get_pse_attributes() 46 NL_SET_ERR_MSG(extack, "No PSE is attached"); in pse_get_pse_attributes() 47 return -EOPNOTSUPP; in pse_get_pse_attributes() 50 memset(&data->status, 0, sizeof(data->status)); in pse_get_pse_attributes() 52 return pse_ethtool_get_status(phydev->psec, extack, &data->status); in pse_get_pse_attributes() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | ti,tps23861.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: TI TPS23861 PoE PSE 11 - Robert Marko <robert.marko@sartura.hr> 14 The TPS23861 is a IEEE 802.3at Quad Port Power-over-Ethernet PSE Controller. 23 - ti,tps23861 28 shunt-resistor-micro-ohms: 35 - compatible 36 - reg [all …]
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | armada-385-clearfog-gtr.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 * Rabeeh Khoury <rabeeh@solid-run.com>, based on Russell King clearfog work 9 SERDES mapping - 10 0. SATA1 on CON18, or optionally mini PCIe CON3 - PCIe0 12 2. SATA0 on CON17, or optionally mini PCIe CON4 - PCIe1 14 4. mini PCIe CON2 - PCIe2 15 5. SFP connector, or optionally SGMII Ethernet 1512 PHY 17 USB 2.0 mapping - 18 0. USB 2.0 - 0 USB pins header CON12 19 1. USB 2.0 - 1 mini PCIe CON2 [all …]
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | ethtool.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 19 #include "standard-headers/linux/const.h" 20 #include "standard-headers/linux/types.h" 21 #include "standard-headers/linux/if_ether.h" 26 * have the same layout for 32-bit and 64-bit userland. 38 * struct ethtool_cmd - DEPRECATED, link control and status 43 * interface supports autonegotiation or auto-detection. 44 * Read-only. 48 * auto-detection. 56 * @autoneg: Enable/disable autonegotiation and auto-detection; [all …]
|
/openbmc/linux/drivers/net/mdio/ |
H A D | fwnode_mdio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * fwnode helpers for the MDIO (Ethernet PHY) API 13 #include <linux/pse-pd/pse.h> 32 if (PTR_ERR(psec) == -ENOENT) in fwnode_find_pse_control() 50 if (err == -ENOEN in fwnode_find_mii_timestamper() [all...] |
/openbmc/linux/include/uapi/linux/ |
H A D | ethtool.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 26 * have the same layout for 32-bit and 64-bit userland. 38 * struct ethtool_cmd - DEPRECATED, link control and status 43 * interface supports autonegotiation or auto-detection. 44 * Read-only. 48 * auto-detection. 56 * @autoneg: Enable/disable autonegotiation and auto-detection; 60 * Read-only. 62 * obsoleted by &struct ethtool_coalesce. Read-only; deprecated. 64 * obsoleted by &struct ethtool_coalesce. Read-only; deprecated. [all …]
|
/openbmc/linux/drivers/net/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 9 obj-$(CONFIG_BONDING) += bonding/ 10 obj-$(CONFIG_IPVLAN) += ipvlan/ 11 obj-$(CONFIG_IPVTAP) += ipvlan/ 12 obj-$(CONFIG_DUMMY) += dummy.o 13 obj-$(CONFIG_WIREGUARD) += wireguard/ 14 obj-$(CONFIG_EQUALIZER) += eql.o 15 obj-$(CONFIG_IFB) += ifb.o 16 obj-$(CONFIG_MACSEC) += macsec.o 17 obj-$(CONFIG_AMT) += amt.o [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 25 # All the following symbols are dependent on NETDEVICES - do not repeat 47 Say 'Y' or 'M' if you wish to be able to 'bond' multiple Ethernet 63 This is essentially a bit-bucket device (i.e. traffic you send to 131 section 6.2 of the NET-3-HOWTO, available from 167 tristate "MAC-VLAN support" 173 iproute2 package starting with the iproute2-2.6.23 release: 181 tristate "MAC-VLAN based tap driver" 187 on the MAC-VLAN network interface, called macvtap. A macvtap device 201 tristate "IP-VLAN support" [all …]
|
/openbmc/linux/drivers/net/ethernet/amd/ |
H A D | ariadne.c | 2 * Amiga Linux/m68k Ariadne Ethernet Driver 4 * © Copyright 1995-2003 by Geert Uytterhoeven (geert@linux-m68k.org) 7 * --------------------------------------------------------------------------- 11 * lance.c: An AMD LANCE ethernet driver for linux. 12 * Written 1993-94 by Donald Becker. 14 * Am79C960: PCnet(tm)-ISA Single-Chip Ethernet Controller 21 * --------------------------------------------------------------------------- 27 * --------------------------------------------------------------------------- 29 * The Ariadne is a Zorro-II board made by Village Tronic. It contains: 31 * - an Am79C960 PCnet-ISA Single-Chip Ethernet Controller with both [all …]
|
H A D | ariadne.h | 2 * Amiga Linux/m68k Ariadne Ethernet Driver 4 * © Copyright 1995 by Geert Uytterhoeven (geert@linux-m68k.org) 8 * ---------------------------------------------------------------------------------- 12 * lance.c: An AMD LANCE ethernet driver for linux. 13 * Written 1993-94 by Donald Becker. 15 * Am79C960: PCnet(tm)-ISA Single-Chip Ethernet Controller 22 * ---------------------------------------------------------------------------------- 28 * ---------------------------------------------------------------------------------- 30 * The Ariadne is a Zorro-II board made by Village Tronic. It contains: 32 * - an Am79C960 PCnet-ISA Single-Chip Ethernet Controller with both [all …]
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org> 5 * Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org> 6 * Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com> 12 #include <linux/dma-mapping.h> 55 #define NEXT_DESP_IDX(X, Y) (((X) + 1) & ((Y) - 1)) 60 #define MTK_PP_MAX_BUF_SIZE (PAGE_SIZE - MTK_PP_PAD) 134 /* Unicast Filter MAC Address Register - Low */ 138 /* Unicast Filter MAC Address Register - High */ 148 /* PSE Free Queue Flow Control */ [all …]
|
H A D | mtk_eth_soc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org> 5 * Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org> 6 * Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com> 24 #include <linux/pcs/pcs-mtk-lynxi.h> 34 static int mtk_msg_level = -1; 36 MODULE_PARM_DESC(msg_level, "Message level (-1=defaults,0=none,...,16=all)"); 284 __raw_writel(val, eth->base + reg); in mtk_w32() 289 return __raw_readl(eth->base + reg); in mtk_r32() 315 dev_err(eth->dev, "mdio: MDIO timeout\n"); in mtk_mdio_busy_wait() [all …]
|
/openbmc/linux/drivers/reset/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 via GPIOs or SoC-internal reset controller modules. 101 Support for the Canaan Kendryte K210 RISC-V SoC reset controller. 191 Raspberry Pi 4's co-processor controls some of the board's HW 194 interfacing with RPi4's co-processor and model these firmware 225 - Altera SoCFPGAs 226 - ASPEED BMC SoCs 227 - Bitmain BM1880 SoC 228 - Realtek SoCs 229 - RCC reset controller in STM32 MCUs [all …]
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac-intel.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <linux/clk-provider.h> 8 #include "dwmac-intel.h" 44 int func = PCI_FUNC(pdev->devfn); in stmmac_pci_find_phy_addr() 49 return -ENODEV; in stmmac_pci_find_phy_addr() 51 dmi_data = dmi_id->driver_data; in stmmac_pci_find_phy_addr() 52 func_data = dmi_data->func; in stmmac_pci_find_phy_addr() 54 for (n = 0; n < dmi_data->nfuncs; n++, func_data++) in stmmac_pci_find_phy_addr() 55 if (func_data->func == func) in stmmac_pci_find_phy_addr() 56 return func_data->phy_addr; in stmmac_pci_find_phy_addr() [all …]
|
/openbmc/linux/Documentation/networking/ |
H A D | ethtool-netlink.rst | 27 wake-on-lan password) omitted. 37 number 1 but any non-zero value should be understood as "true" by recipient. 44 Attributes that need to be filled-in by device drivers and that are dumped to 91 representing bit values and mask of affected bits) and bit-by-bit (list of 94 Verbose (bit-by-bit) bitsets allow sending symbolic names for bits together 119 rounded up to a multiple of 32 bits. They consist of 32-bit words in host byte 134 Bit-by-bit form: nested (bitset) attribute contents: 136 +------------------------------------+--------+-----------------------------+ 138 +------------------------------------+--------+-----------------------------+ 140 +------------------------------------+--------+-----------------------------+ [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mmio.c | 1 // SPDX-License-Identifier: ISC 18 MODULE_PARM_DESC(wed_enable, "Enable Wireless Ethernet Dispatch support"); 283 { 0x820c8000, 0x0c000, 0x02000 }, /* WF_UMAC_TOP (PSE) */ 323 { 0x820c8000, 0x0c000, 0x02000 }, /* WF_UMAC_TOP (PSE) */ 370 { 0x820c8000, 0x40c000, 0x02000 }, /* WF_UMAC_TOP (PSE) */ 420 if (is_mt798x(&dev->mt76)) in mt7915_reg_map_l1() 423 l1_remap = is_mt7915(&dev->mt76) ? in mt7915_reg_map_l1() 426 dev->bus_ops->rmw(&dev->mt76, l1_remap, in mt7915_reg_map_l1() 430 dev->bus_ops->rr(&dev->mt76, l1_remap); in mt7915_reg_map_l1() 439 if (is_mt7915(&dev->mt76)) { in mt7915_reg_map_l2() [all …]
|
/openbmc/linux/drivers/net/phy/ |
H A D | phy_device.c | 1 // SPDX-License-Identifier: GPL-2.0+ 32 #include <linux/pse-pd/pse.h> 240 put_device(&phydev->mdio.dev); in phy_device_free() 254 fwnode_handle_put(dev->fwnode); in phy_device_release() 273 struct device_driver *drv = phydev->mdio.dev.driver; in mdio_bus_phy_may_suspend() 275 struct net_device *netdev = phydev->attached_dev; in mdio_bus_phy_may_suspend() 277 if (!drv || !phydrv->suspend) in mdio_bus_phy_may_suspend() 281 * suspended as part of a prior call to phy_disconnect() -> in mdio_bus_phy_may_suspend() 282 * phy_detach() -> phy_suspend() because the parent netdev might be the in mdio_bus_phy_may_suspend() 288 if (netdev->wol_enabled) in mdio_bus_phy_may_suspend() [all …]
|
/openbmc/linux/ |
H A D | MAINTAINERS | 5 ---------- [all...] |
/openbmc/linux/drivers/hwmon/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 sensors-detect script from the lm_sensors package. Read 21 <file:Documentation/hwmon/userspace-tools.rst> for details. 76 with SMpro co-processor. 290 will be called as370-hwmon. 313 will be called axi-fan-control 322 lm-sensors 2.10.1 for proper userspace support. 361 Only Intel-based Apple's computers are supported (MacBook Pro, 368 the laptop to act as a pinball machine-esque joystick. 383 will be called scmi-hwmon. [all …]
|