Home
last modified time | relevance | path

Searched +full:ethernet +full:- +full:pse (Results 1 – 25 of 27) sorted by relevance

12

/linux/Documentation/networking/pse-pd/
H A Dpse-pi.rst1 .. 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 Dintroduction.rst1 .. 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/Documentation/devicetree/bindings/net/pse-pd/
H A Dpse-controller.yaml1 # 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 Dpodl-pse-regulator.yaml1 # 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 …]
H A Dti,tps23881.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/pse-pd/ti,tps23881.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Kory Maincent <kory.maincent@bootlin.com>
13 - $ref: pse-controller.yaml#
18 - ti,tps23881
23 '#pse-cells':
26 reset-gpios:
38 "#address-cells":
[all …]
/linux/arch/arm/boot/dts/st/
H A Dstm32mp151a-prtt1c.dts1 // 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/drivers/net/pse-pd/
H A Dpse_regulator.c1 // 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>
32 ret = regulator_enable(priv->ps); in pse_reg_pi_enable()
36 priv->admin_state = ETHTOOL_PODL_PSE_ADMIN_STATE_ENABLED; in pse_reg_pi_enable()
46 ret = regulator_disable(priv->ps); in pse_reg_pi_disable()
50 priv->admin_state = ETHTOOL_PODL_PSE_ADMIN_STATE_DISABLED; in pse_reg_pi_disable()
59 return regulator_is_enabled(priv->ps); in pse_reg_pi_is_enabled()
70 ret = regulator_is_enabled(priv->ps); in pse_reg_ethtool_get_status()
75 status->podl_pw_status = ETHTOOL_PODL_PSE_PW_D_STATUS_DISABLED; in pse_reg_ethtool_get_status()
[all …]
H A Dpse_core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // Framework for Ethernet Power Sourcing Equipment
10 #include <linux/pse-pd/pse.h>
18 * struct pse_control - a PSE control
19 * @pcdev: a pointer to the PSE controller device
20 * this PSE control belongs to
21 * @ps: PSE PI supply of the PSE control
22 * @list: list entry for the pcdev's PSE controller list
23 * @id: ID of the PSE line in the PSE controller device
42 ret = of_property_read_string_index(node, "pairset-names", in of_load_single_pse_pi_pairset()
[all …]
/linux/include/uapi/linux/
H A Dethtool.h1 /* 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 …]
/linux/Documentation/devicetree/bindings/hwmon/
H A Dti,tps23861.yaml1 # 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 …]
/linux/net/ethtool/
H A Dpse-pd.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // ethtool interface for Ethernet PSE (Power Sourcing Equipment)
10 #include "linux/pse-pd/pse.h"
40 return -EOPNOTSUPP; in pse_get_pse_attributes()
43 if (!phydev->psec) { in pse_get_pse_attributes()
44 NL_SET_ERR_MSG(extack, "No PSE is attached"); in pse_get_pse_attributes()
45 return -EOPNOTSUPP; in pse_get_pse_attributes()
48 memset(&data->status, 0, sizeof(data->status)); in pse_get_pse_attributes()
50 return pse_ethtool_get_status(phydev->psec, extack, &data->status); in pse_get_pse_attributes()
58 struct net_device *dev = reply_base->dev; in pse_prepare_data()
[all …]
/linux/arch/arm/boot/dts/marvell/
H A Darmada-385-clearfog-gtr.dtsi1 // 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/drivers/net/mdio/
H A Dfwnode_mdio.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * fwnode helpers for the MDIO (Ethernet PHY) API
14 #include <linux/pse-pd/pse.h>
18 MODULE_DESCRIPTION("FWNODE MDIO bus (Ethernet PHY) accessors");
34 if (PTR_ERR(psec) == -ENOENT) in fwnode_find_pse_control()
52 if (err == -ENOENT) in fwnode_find_mii_timestamper()
58 mii_ts = ERR_PTR(-EINVAL); in fwnode_find_mii_timestamper()
79 if (rc == -EPROBE_DEFER) in fwnode_mdiobus_phy_device_register()
80 rc = driver_deferred_probe_check_state(&phy->mdio.dev); in fwnode_mdiobus_phy_device_register()
81 if (rc == -EPROBE_DEFER) in fwnode_mdiobus_phy_device_register()
[all …]
/linux/Documentation/networking/
H A Dphy-link-topology.rst1 .. 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 …]
H A Dethtool-netlink.rst27 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
85 ``ETHTOOL_A_HEADER_PHY_INDEX`` identifies the Ethernet PHY the message relates to.
98 representing bit values and mask of affected bits) and bit-by-bit (list of
101 Verbose (bit-by-bit) bitsets allow sending symbolic names for bits together
126 rounded up to a multiple of 32 bits. They consist of 32-bit words in host byte
141 Bit-by-bit form: nested (bitset) attribute contents:
143 +------------------------------------+--------+-----------------------------+
145 +------------------------------------+--------+-----------------------------+
[all …]
/linux/drivers/net/ethernet/amd/
H A Dariadne.c2 * 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 Dariadne.h2 * 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/rust/kernel/net/phy/
H A Dreg.rs1 // SPDX-License-Identifier: GPL-2.0
8 //! Ethernet management interface clauses 22 and 45 register namespaces, as
45 fn read(&self, dev: &mut Device) -> Result<u16>; in read()
48 fn write(&self, dev: &mut Device, val: u16) -> Result; in write()
51 fn read_status(dev: &mut Device) -> Result<u16>; in read_status()
67 /// Auto-negotiation advertisement.
69 /// Auto-negotiation link partner base page ability.
71 /// Auto-negotiation expansion.
73 /// Auto-negotiation next page transmit.
75 /// Auto-negotiation link partner received next page.
[all …]
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.h1 /* 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 */
150 /* PSE Free Queue Flow Control */
[all …]
H A Dmtk_eth_soc.c1 // 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)");
294 __raw_writel(val, eth->base + reg); in mtk_w32()
299 return __raw_readl(eth->base + reg); in mtk_r32()
325 dev_err(eth->dev, "mdio: MDIO timeout\n"); in mtk_mdio_busy_wait()
[all …]
H A Dairoha_eth.c1 // SPDX-License-Identifier: GPL-2.0-only
490 (((_n) < 8) ? 0x0100 + ((_n) << 5) : 0x0b00 + (((_n) - 8) << 5))
493 (((_n) < 8) ? 0x0104 + ((_n) << 5) : 0x0b04 + (((_n) - 8) << 5))
502 (((_n) < 8) ? 0x0108 + ((_n) << 5) : 0x0b08 + (((_n) - 8) << 5))
507 (((_n) < 8) ? 0x010c + ((_n) << 5) : 0x0b0c + (((_n) - 8) << 5))
515 (((_n) < 16) ? 0x0200 + ((_n) << 5) : 0x0e00 + (((_n) - 16) << 5))
518 (((_n) < 16) ? 0x0204 + ((_n) << 5) : 0x0e04 + (((_n) - 16) << 5))
524 (((_n) < 16) ? 0x0208 + ((_n) << 5) : 0x0e08 + (((_n) - 16) << 5))
529 (((_n) < 16) ? 0x020c + ((_n) << 5) : 0x0e0c + (((_n) - 16) << 5))
532 (((_n) < 16) ? 0x0210 + ((_n) << 5) : 0x0e10 + (((_n) - 16) << 5))
[all …]
/linux/drivers/reset/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
12 via GPIOs or SoC-internal reset controller modules.
87 GPIOs. Typically for OF platforms this driver expects "reset-gpios"
90 If compiled as module, it will be called reset-gpio.
132 Support for the Canaan Kendryte K210 RISC-V SoC reset controller.
208 Raspberry Pi 4's co-processor controls some of the board's HW
211 interfacing with RPi4's co-processor and model these firmware
242 - Altera SoCFPGAs
243 - ASPEED BMC SoCs
244 - Bitmain BM1880 SoC
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmmio.c1 // 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 …]
/linux/drivers/net/phy/
H A Dphy_device.c1 // SPDX-License-Identifier: GPL-2.0+
33 #include <linux/pse-pd/pse.h>
252 put_device(&phydev->mdio.dev); in phy_device_free()
266 fwnode_handle_put(dev->fwnode); in phy_device_release()
294 struct device_driver *drv = phydev->mdio.dev.driver; in mdio_bus_phy_may_suspend()
296 struct net_device *netdev = phydev->attached_dev; in mdio_bus_phy_may_suspend()
298 if (!drv || !phydrv->suspend) in mdio_bus_phy_may_suspend()
308 * suspended as part of a prior call to phy_disconnect() -> in mdio_bus_phy_may_suspend()
309 * phy_detach() -> phy_suspend() because the parent netdev might be the in mdio_bus_phy_may_suspend()
315 if (netdev->ethtool->wol_enabled) in mdio_bus_phy_may_suspend()
[all …]
/linux/
H A DMAINTAINERS5 ---------------------------------------------------
21 W: *Web-page* with status/info
23 B: URI for where to file *bugs*. A web-page with detailed bug
28 patches to the given subsystem. This is either an in-tree file,
29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst
46 N: [^a-z]tegra all files whose path contains tegra
64 ----------------
74 F: Documentation/networking/device_drivers/ethernet/3com/vortex.rst
75 F: drivers/net/ethernet/3com/3c59x.c
81 F: drivers/net/ethernet/3com/typhoon*
[all …]

12