Home
last modified time | relevance | path

Searched refs:phy_modify (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/phy/
Dvitesse.c130 phy_modify(phydev, 0x0c, 0x0300, 0x0200); in vsc73xx_config_init()
134 phy_modify(phydev, MII_TPISTATUS, 0xff00, 0x0061); in vsc73xx_config_init()
146 phy_modify(phydev, 0x08, 0x0200, 0x0200); in vsc738x_config_init()
149 phy_modify(phydev, 0x12, 0xff07, 0x0003); in vsc738x_config_init()
150 phy_modify(phydev, 0x11, 0x00ff, 0x00a2); in vsc738x_config_init()
153 phy_modify(phydev, 0x08, 0x0200, 0x0000); in vsc738x_config_init()
163 phy_modify(phydev, 0x08, 0x0200, 0x0200); in vsc738x_config_init()
173 phy_modify(phydev, 0x08, 0x0200, 0x0000); in vsc738x_config_init()
188 phy_modify(phydev, 0x16, 0x0fc0, 0x0240); in vsc738x_config_init()
189 phy_modify(phydev, 0x14, 0x6000, 0x4000); in vsc738x_config_init()
[all …]
Dicplus.c243 err = phy_modify(phydev, IP101G_DIGITAL_IO_SPEC_CTRL, in ip101a_g_config_init()
250 err = phy_modify(phydev, IP101G_DIGITAL_IO_SPEC_CTRL, in ip101a_g_config_init()
Dnxp-tja11xx.c106 ret = phy_modify(phydev, reg, mask, set); in phy_modify_check()
155 ret = phy_modify(phydev, MII_ECTRL, MII_ECTRL_POWER_MODE_MASK, in tja11xx_wakeup()
263 ret = phy_modify(phydev, MII_CFG1, in tja11xx_config_init()
285 ret = phy_modify(phydev, MII_CFG2, MII_CFG2_SLEEP_REQUEST_TO, in tja11xx_config_init()
Dmarvell.c711 ret = phy_modify(phydev, MII_88E3016_PHY_SPEC_CTRL, in m88e3016_config_init()
727 return phy_modify(phydev, MII_M1111_PHY_EXT_SR, in m88e1111_config_init_hwcfg_mode()
748 return phy_modify(phydev, MII_M1111_PHY_EXT_CR, in m88e1111_config_init_rgmii_delays()
876 err = phy_modify(phydev, MII_M1111_PHY_EXT_CR, in m88e1111_set_downshift()
940 err = phy_modify(phydev, MII_M1011_PHY_SCR, in m88e1011_set_downshift()
1037 err = phy_modify(phydev, MII_88E1510_GEN_CTRL_REG_1, in m88e1510_config_init()
1044 err = phy_modify(phydev, MII_88E1510_GEN_CTRL_REG_1, 0, in m88e1510_config_init()
1158 err = phy_modify(phydev, 0x1e, 0x0fc0, in m88e1145_config_init_rgmii()
1284 ret = phy_modify(phydev, MII_88E1540_COPPER_CTRL3, in m88e1540_set_fld()
1926 ret = phy_modify(phydev, MII_BMCR, BMCR_ANENABLE, 0); in marvell_cable_test_start_common()
Ddp83867.c406 return phy_modify(phydev, DP83867_CFG2, in dp83867_set_downshift()
613 ret = phy_modify(phydev, DP83867_CFG2, DP83867_DOWNSHIFT_EN, in dp83867_config_init()
801 return phy_modify(phydev, MII_DP83867_PHYCTRL, in dp83867_phy_reset()
Ddp83869.c433 return phy_modify(phydev, DP83869_CFG2, in dp83869_set_downshift()
636 ret = phy_modify(phydev, MII_BMCR, BMCR_ANENABLE, 0); in dp83869_configure_fiber()
753 ret = phy_modify(phydev, DP83869_CFG2, DP83869_DOWNSHIFT_EN, in dp83869_config_init()
Ddp83822.c393 err = phy_modify(phydev, MII_DP83822_CTRL_2, in dp83822_config_init()
421 err = phy_modify(phydev, MII_BMCR, BMCR_ANENABLE, 0); in dp83822_config_init()
Dadin.c326 rc = phy_modify(phydev, ADIN1300_PHY_CTRL3, in adin_set_downshift()
379 return phy_modify(phydev, ADIN1300_PHY_CTRL_STATUS2, in adin_set_edpd()
Dbcm54140.c479 ret = phy_modify(phydev, MII_BMCR, 0, BMCR_PDOWN); in bcm54140_b0_workaround()
483 ret = phy_modify(phydev, MII_BMCR, BMCR_PDOWN, 0); in bcm54140_b0_workaround()
Dphy-core.c630 int phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set) in phy_modify() function
640 EXPORT_SYMBOL_GPL(phy_modify);
Dphy_device.c1951 return phy_modify(phydev, MII_BMCR, in genphy_setup_forced()
2047 return phy_modify(phydev, MII_BMCR, BMCR_ISOLATE, in genphy_restart_aneg()
2133 err = phy_modify(phydev, MII_BMCR, BMCR_SPEED1000 | BMCR_SPEED100, in genphy_c37_config_aneg()
2432 ret = phy_modify(phydev, MII_BMCR, BMCR_ISOLATE, res); in genphy_soft_reset()
2535 return phy_modify(phydev, MII_BMCR, BMCR_LOOPBACK, in genphy_loopback()
Dat803x.c311 phy_modify(phydev, MII_BMCR, 0, value); in at803x_suspend()
318 return phy_modify(phydev, MII_BMCR, BMCR_PDOWN | BMCR_ISOLATE, 0); in at803x_resume()
/kernel/linux/linux-5.10/drivers/net/ethernet/realtek/
Dr8169_phy_config.c468 phy_modify(phydev, 0x0b, 0x00ef, 0x0010); in rtl8168d_1_hw_phy_config()
469 phy_modify(phydev, 0x0c, 0x5d00, 0xa200); in rtl8168d_1_hw_phy_config()
503 phy_modify(phydev, 0x02, 0x0600, 0x0100); in rtl8168d_1_hw_phy_config()
541 phy_modify(phydev, 0x02, 0x0600, 0x0100); in rtl8168d_2_hw_phy_config()
1281 phy_modify(phydev, 0x17, 0xff00, 0x0800); in rtl8125b_hw_phy_config()
/kernel/linux/linux-5.10/include/linux/
Dphy.h1079 int phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set);
1125 return phy_modify(phydev, regnum, 0, val); in phy_set_bits()
1136 return phy_modify(phydev, regnum, val, 0); in phy_clear_bits()
/kernel/linux/linux-5.10/drivers/net/phy/mscc/
Dmscc_main.c2003 ret = phy_modify(phydev, MSCC_PHY_EXT_PHY_CNTL_1, MEDIA_OP_MODE_MASK, in vsc8514_config_init()