| /linux/Documentation/networking/pse-pd/ |
| H A D | pse-pi.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 PSE Power Interface (PSE PI) Documentation 6 The Power Sourcing Equipment Power Interface (PSE PI) plays a pivotal role in 7 the architecture of Power over Ethernet (PoE) systems. It is essentially a 9 eight-pin modular jack, commonly known as the Ethernet RJ45 port. This 11 over Ethernet cables. 14 --------------------------- 16 The IEEE 802.3 standard provides detailed documentation on the PSE PI. 19 - Section "33.2.3 PI pin assignments" covers the pin assignments for PoE 21 - Section "145.2.4 PSE PI" addresses the configuration for PoE systems that [all …]
|
| H A D | introduction.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 Power Sourcing Equipment (PSE) in IEEE 802.3 Standard 7 -------- 9 Power Sourcing Equipment (PSE) is essential in networks for delivering power 10 along with data over Ethernet cables. It usually refers to devices like 14 PSE vs. PoDL PSE 15 ---------------- 17 PSE in the IEEE 802.3 standard generally refers to equipment that provides 18 power alongside data over Ethernet cables, typically associated with Power over 19 Ethernet (PoE). [all …]
|
| /linux/drivers/net/pse-pd/ |
| 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" 19 Shared core for the Realtek PSE MCU driver. This is selected 23 tristate "Realtek PSE MCU driver (I2C transport)" 27 Driver for the microcontroller (MCU) that fronts the PSE 28 hardware on various Realtek-based managed switches, attached 29 via I2C/SMBus. The MCU exposes a message-based protocol; the actual 30 PSE silicon is not accessed directly. To compile this driver as a 31 module, choose M here: the module will be called realtek-pse-mcu-i2c. [all …]
|
| H A D | pse_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // Framework for Ethernet Power Sourcing Equipment 13 #include <linux/pse-pd/pse.h> 27 * struct pse_control - a PSE control 28 * @pcdev: a pointer to the PSE controller device 29 * this PSE control belongs to 30 * @ps: PSE PI supply of the PSE control 31 * @list: list entry for the pcdev's PSE controller list 32 * @id: ID of the PSE line in the PSE controller device 34 * @attached_phydev: PHY device pointer attached by the PSE control [all …]
|
| /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> 16 - Kory Maincent <kory.maincent@bootlin.com> [all …]
|
| H A D | realtek,pse-mcu-gen1.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/pse-pd/realtek,pse-mcu-gen1.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Realtek PSE MCU 10 - Jonas Jelonek <jelonek.jonas@gmail.com> 13 A microcontroller (MCU) that manages the PSE (Power Sourcing Equipment) 15 this MCU - over I2C/SMBus or UART - using a small message-based protocol; 16 the PSE silicon it drives sits behind the MCU and is never accessed 17 directly. For example, on the Zyxel GS1900-10HP the SoC reaches the MCU [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 …]
|
| /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 …]
|
| /linux/include/uapi/linux/ |
| H A D | ethtool.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 23 * have the same layout for 32-bit and 64-bit userland. 35 * struct ethtool_cmd - DEPRECATED, link control and status 40 * interface supports autonegotiation or auto-detection. 41 * Read-only. 45 * auto-detection. 53 * @autoneg: Enable/disable autonegotiation and auto-detection; 57 * Read-only. 59 * obsoleted by &struct ethtool_coalesce. Read-only; deprecated. 61 * obsoleted by &struct ethtool_coalesce. Read-only; deprecated. [all …]
|
| /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 …]
|
| /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) 15 #include "linux/pse-pd/pse.h" 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() 60 struct net_device *dev = reply_base->dev; in pse_prepare_data() [all …]
|
| /linux/Documentation/networking/ |
| H A D | phy-link-topology.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 the hardware layout for any given Ethernet link. 14 An Ethernet interface from userspace's point of view is nothing but a 19 +-----------------------+ +----------+ +--------------+ 20 | Ethernet Controller / | | Ethernet | | Connector / | 21 | MAC | ------ | PHY | ---- | Port | ---... to LP 22 +-----------------------+ +----------+ +--------------+ 37 +-----+ SGMII +------------+ 38 | MAC | ------- | SFP Module | 39 +-----+ +------------+ [all …]
|
| /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> 57 #define NEXT_DESP_IDX(X, Y) (((X) + 1) & ((Y) - 1)) 62 #define MTK_PP_MAX_BUF_SIZE (PAGE_SIZE - MTK_PP_PAD) 136 /* Unicast Filter MAC Address Register - Low */ 140 /* Unicast Filter MAC Address Register - High */ 152 /* 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> 36 static int mtk_msg_level = - [all...] |
| /linux/rust/kernel/net/phy/ |
| H A D | reg.rs | 1 // SPDX-License-Identifier: GPL-2.0 8 //! Ethernet management interface clauses 22 and 45 register namespaces, as 47 fn read(&self, dev: &mut Device) -> Result<u16>; 50 fn write(&self, dev: &mut Device, val: u16) -> Result; 53 fn read_status(dev: &mut Device) -> Result<u16>; 69 /// Auto-negotiation advertisement. 71 /// Auto-negotiation link partner base page ability. 73 /// Auto-negotiatio [all...] |
| /linux/drivers/reset/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 via GPIOs or SoC-internal reset controller modules. 116 GPIOs. Typically for OF platforms this driver expects "reset-gpios" 119 If compiled as module, it will be called reset-gpio. 168 Support for the Canaan Kendryte K210 RISC-V SoC reset controller. 177 Support for the Canaan Kendryte K230 RISC-V SoC reset controller. 254 Raspberry Pi 4's co-processor controls some of the board's HW 257 interfacing with RPi4's co-processor and model these firmware 298 - Altera SoCFPGAs 299 - ASPEED BMC SoCs [all …]
|
| /linux/drivers/net/ethernet/amd/ |
| 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 …]
|
| /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> 10 #include "dwmac-intel.h" 99 int func = PCI_FUNC(pdev->devfn); in stmmac_pci_find_phy_addr() 104 return -ENODEV; in stmmac_pci_find_phy_addr() 106 dmi_data = dmi_id->driver_data; in stmmac_pci_find_phy_addr() 107 func_data = dmi_data->func; in stmmac_pci_find_phy_addr() 109 for (n = 0; n < dmi_data->nfuncs; n++, func_data++) in stmmac_pci_find_phy_addr() 110 if (func_data->func == func) in stmmac_pci_find_phy_addr() 111 return func_data->phy_addr; in stmmac_pci_find_phy_addr() [all …]
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
| H A D | mmio.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 18 MODULE_PARM_DESC(wed_enable, "Enable Wireless Ethernet Dispatch support"); 285 { 0x820c8000, 0x0c000, 0x02000 }, /* WF_UMAC_TOP (PSE) */ 325 { 0x820c8000, 0x0c000, 0x02000 }, /* WF_UMAC_TOP (PSE) */ 372 { 0x820c8000, 0x40c000, 0x02000 }, /* WF_UMAC_TOP (PSE) */ 422 if (is_mt798x(&dev->mt76)) in mt7915_reg_map_l1() 425 l1_remap = is_mt7915(&dev->mt76) ? in mt7915_reg_map_l1() 428 dev->bus_ops->rmw(&dev->mt76, l1_remap, in mt7915_reg_map_l1() 432 dev->bus_ops->rr(&dev->mt76, l1_remap); in mt7915_reg_map_l1() 441 if (is_mt7915(&dev->mt76)) { in mt7915_reg_map_l2() [all …]
|
| /linux/ |
| H A D | MAINTAINERS | 5 ---------- [all...] |
| /linux/drivers/net/phy/ |
| H A D | phy_device.c | 1 // SPDX-License-Identifier: GPL-2.0+ 34 #include <linux/pse-pd/pse.h> 45 #include "phylib-internal.h" 46 #include "phy-caps.h" 212 put_device(&phydev->mdio.dev); in phy_device_free() 226 fwnode_handle_put(dev->fwnode); in phy_device_release() 254 /* If the PHY is using driver-model based wakeup, use that state. */ in phy_may_wakeup() 256 return device_may_wakeup(&phydev->mdio.dev); in phy_may_wakeup() 264 struct net_device *netdev = phydev->attached_dev; in phy_link_change() 270 phydev->adjust_link(netdev); in phy_link_change() [all …]
|
| /linux/drivers/net/ethernet/airoha/ |
| H A D | airoha_eth.c | 1 // SPDX-License-Identifier: GPL-2.0-only 41 struct airoha_qdma *qdma = irq_bank->qdma; in airoha_qdma_set_irqmask() 42 int bank = irq_bank - &qdma->irq_banks[0]; in airoha_qdma_set_irqmask() 45 if (WARN_ON_ONCE(index >= ARRAY_SIZE(irq_bank->irqmask))) in airoha_qdma_set_irqmask() 48 spin_lock_irqsave(&irq_bank->irq_lock, flags); in airoha_qdma_set_irqmask() 50 irq_bank->irqmask[index] &= ~clear; in airoha_qdma_set_irqmask() 51 irq_bank->irqmask[index] |= set; in airoha_qdma_set_irqmask() 53 irq_bank->irqmask[index]); in airoha_qdma_set_irqmask() 59 spin_unlock_irqrestore(&irq_bank->irq_lock, flags); in airoha_qdma_set_irqmask() 77 struct airoha_eth *eth = dev->eth; in airoha_set_macaddr() [all …]
|
| /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. 279 will be called as370-hwmon. 312 will be called axi-fan-control 321 lm-sensors 2.10.1 for proper userspace support. 391 Only Intel-based Apple's computers are supported (MacBook Pro, 398 the laptop to act as a pinball machine-esque joystick. 424 will be called scmi-hwmon. [all …]
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_nix.c | 1 // SPDX-License-Identifier: GPL-2.0 98 return rvu->nix_blkaddr[blkaddr]; in rvu_get_next_nix_blkaddr() 101 if (rvu->nix_blkaddr[i] == blkaddr) in rvu_get_next_nix_blkaddr() 102 return rvu->nix_blkaddr[i + 1]; in rvu_get_next_nix_blkaddr() 115 if (!pfvf->nixlf || blkaddr < 0) in is_nixlf_attached() 127 block = &rvu->hw->block[blkaddr]; in rvu_get_nixlf_count() 128 max += block->lf.max; in rvu_get_nixlf_count() 137 struct rvu_hwinfo *hw = rvu->hw; in nix_get_nixlf() 141 if (!pfvf->nixlf || blkaddr < 0) in nix_get_nixlf() 144 *nixlf = rvu_get_lf(rvu, &hw->block[blkaddr], pcifunc, 0); in nix_get_nixlf() [all …]
|