Home
last modified time | relevance | path

Searched +full:aldps +full:- +full:enable (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/net/
Drealtek,rtl82xx.yaml1 # SPDX-License-Identifier: GPL-2.0+
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andrew Lunn <andrew@lunn.ch>
11 - Florian Fainelli <f.fainelli@gmail.com>
12 - Heiner Kallweit <hkallweit1@gmail.com>
18 - $ref: ethernet-phy.yaml#
21 realtek,clkout-disable:
27 realtek,aldps-enable:
30 Enable ALDPS mode, ALDPS mode default is disabled after hardware reset.
[all …]
/Linux-v6.1/drivers/net/phy/
Drealtek.c1 // SPDX-License-Identifier: GPL-2.0+
97 struct device *dev = &phydev->mdio.dev; in rtl821x_probe()
99 u32 phy_id = phydev->drv->phy_id; in rtl821x_probe()
104 return -ENOMEM; in rtl821x_probe()
110 priv->phycr1 = ret & (RTL8211F_ALDPS_PLL_OFF | RTL8211F_ALDPS_ENABLE | RTL8211F_ALDPS_XTAL_OFF); in rtl821x_probe()
111 if (of_property_read_bool(dev->of_node, "realtek,aldps-enable")) in rtl821x_probe()
112 priv->phycr1 |= RTL8211F_ALDPS_PLL_OFF | RTL8211F_ALDPS_ENABLE | RTL8211F_ALDPS_XTAL_OFF; in rtl821x_probe()
114 priv->has_phycr2 = !(phy_id == RTL_8211FVD_PHYID); in rtl821x_probe()
115 if (priv->has_phycr2) { in rtl821x_probe()
120 priv->phycr2 = ret & RTL8211F_CLKOUT_EN; in rtl821x_probe()
[all …]
/Linux-v6.1/drivers/net/ethernet/realtek/
Dr8169_phy_config.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (c) 2003 - 2007 Francois Romieu <romieu@fr.zoreil.com>
63 while (len-- > 0) { in __rtl_writephy_batch()
64 __phy_write(phydev, regs->reg, regs->val); in __rtl_writephy_batch()
554 /* Enable Delay cap */ in rtl8168e_1_hw_phy_config()
564 /* DCO enable for 10M IDLE Power */ in rtl8168e_1_hw_phy_config()
588 /* Enable Delay cap */ in rtl8168e_2_hw_phy_config()
599 /* For 4-corner performance improve */ in rtl8168e_2_hw_phy_config()
612 /* Improve 2-pair detection performance */ in rtl8168e_2_hw_phy_config()
628 /* For 4-corner performance improve */ in rtl8168f_hw_phy_config()
[all …]
/Linux-v6.1/drivers/net/usb/
Dr8152.c1 // SPDX-License-Identifier: GPL-2.0-only
31 /* Information for net-next */
674 #define RTL_ADV2_5G_F_R BIT(5) /* Advertise 2.5GBASE-T fast-retrain */
757 #define size_to_mtu(s) ((s) - VLAN_ETH_HLEN - ETH_FCS_LEN)
881 int (*enable)(struct r8152 *tp); member
890 void (*autosuspend_en)(struct r8152 *tp, bool enable);
898 u32 aldps:1; member
954 * struct fw_block - block type and total length
965 * struct fw_header - header of the firmware file
1039 * struct fw_mac - a firmware block used by RTL_FW_PLA and RTL_FW_USB.
[all …]