Home
last modified time | relevance | path

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

/openbmc/linux/Documentation/devicetree/bindings/net/
H A 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 …]
/openbmc/linux/drivers/net/ethernet/realtek/
H A 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 …]
/openbmc/linux/drivers/net/phy/
H A Drealtek.c1 // SPDX-License-Identifier: GPL-2.0+
99 struct device *dev = &phydev->mdio.dev; in rtl821x_probe()
101 u32 phy_id = phydev->drv->phy_id; in rtl821x_probe()
106 return -ENOMEM; in rtl821x_probe()
108 priv->clk = devm_clk_get_optional_enabled(dev, NULL); in rtl821x_probe()
109 if (IS_ERR(priv->clk)) in rtl821x_probe()
110 return dev_err_probe(dev, PTR_ERR(priv->clk), in rtl821x_probe()
117 priv->phycr1 = ret & (RTL8211F_ALDPS_PLL_OFF | RTL8211F_ALDPS_ENABLE | RTL8211F_ALDPS_XTAL_OFF); in rtl821x_probe()
118 if (of_property_read_bool(dev->of_node, "realtek,aldps-enable")) in rtl821x_probe()
119 priv->phycr1 |= RTL8211F_ALDPS_PLL_OFF | RTL8211F_ALDPS_ENABLE | RTL8211F_ALDPS_XTAL_OFF; in rtl821x_probe()
[all …]
/openbmc/linux/drivers/net/usb/
H A Dr8152.c1 // SPDX-License-Identifier: GPL-2.0-only
32 /* Information for net-next */
679 #define RTL_ADV2_5G_F_R BIT(5) /* Advertise 2.5GBASE-T fast-retrain */
762 #define size_to_mtu(s) ((s) - VLAN_ETH_HLEN - ETH_FCS_LEN)
889 int (*enable)(struct r8152 *tp); member
898 void (*autosuspend_en)(struct r8152 *tp, bool enable);
906 u32 aldps:1; member
964 * struct fw_block - block type and total length
975 * struct fw_header - header of the firmware file
1049 * struct fw_mac - a firmware block used by RTL_FW_PLA and RTL_FW_USB.
[all …]
/openbmc/u-boot/cmd/aspeed/nettest/
H A Dphy.c1 // SPDX-License-Identifier: GPL-2.0+
63 //------------------------------------------------------------
65 //------------------------------------------------------------
71 if (eng->env.is_new_mdio_reg[eng->run.mdio_idx]) { in phy_write()
73 MDIO_SET_PHY_ADDR(eng->phy.Adr) | in phy_write()
75 writel(wr_data, eng->run.mdio_base); in phy_write()
76 /* check time-out */ in phy_write()
77 while (readl(eng->run.mdio_base) & MDIO_FIRE_BUSY) { in phy_write()
79 if (!eng->run.tm_tx_only) in phy_write()
81 "[PHY-Write] Time out: %08x\n", in phy_write()
[all …]