/linux-6.1.9/drivers/net/phy/ |
D | vitesse.c | 135 phy_modify(phydev, 0x0c, 0x0300, 0x0200); in vsc73xx_config_init() 139 phy_modify(phydev, MII_TPISTATUS, 0xff00, 0x0061); in vsc73xx_config_init() 151 phy_modify(phydev, 0x08, 0x0200, 0x0200); in vsc738x_config_init() 154 phy_modify(phydev, 0x12, 0xff07, 0x0003); in vsc738x_config_init() 155 phy_modify(phydev, 0x11, 0x00ff, 0x00a2); in vsc738x_config_init() 158 phy_modify(phydev, 0x08, 0x0200, 0x0000); in vsc738x_config_init() 168 phy_modify(phydev, 0x08, 0x0200, 0x0200); in vsc738x_config_init() 178 phy_modify(phydev, 0x08, 0x0200, 0x0000); in vsc738x_config_init() 193 phy_modify(phydev, 0x16, 0x0fc0, 0x0240); in vsc738x_config_init() 194 phy_modify(phydev, 0x14, 0x6000, 0x4000); in vsc738x_config_init() [all …]
|
D | nxp-tja11xx.c | 121 ret = phy_modify(phydev, reg, mask, set); in phy_modify_check() 170 ret = phy_modify(phydev, MII_ECTRL, MII_ECTRL_POWER_MODE_MASK, in tja11xx_wakeup() 315 ret = phy_modify(phydev, MII_CFG1, reg_mask, reg_val); in tja11xx_config_init() 326 ret = phy_modify(phydev, MII_CFG1, reg_mask, reg_val); in tja11xx_config_init() 343 ret = phy_modify(phydev, MII_CFG2, MII_CFG2_SLEEP_REQUEST_TO, in tja11xx_config_init()
|
D | marvell.c | 799 ret = phy_modify(phydev, MII_88E3016_PHY_SPEC_CTRL, in m88e3016_config_init() 815 return phy_modify(phydev, MII_M1111_PHY_EXT_SR, in m88e1111_config_init_hwcfg_mode() 841 return phy_modify(phydev, MII_M1111_PHY_EXT_CR, in m88e1111_config_init_rgmii_delays() 921 err = phy_modify(phydev, MII_M1111_PHY_EXT_SR, in m88e1111_config_init_1000basex() 1011 err = phy_modify(phydev, MII_M1111_PHY_EXT_CR, in m88e1111_set_downshift() 1075 err = phy_modify(phydev, MII_M1011_PHY_SCR, in m88e1011_set_downshift() 1241 err = phy_modify(phydev, MII_88E1510_GEN_CTRL_REG_1, in m88e1510_config_init() 1358 err = phy_modify(phydev, 0x1e, 0x0fc0, in m88e1145_config_init_rgmii() 1487 ret = phy_modify(phydev, MII_88E1540_COPPER_CTRL3, in m88e1540_set_fld() 2018 err = phy_modify(phydev, MII_BMCR, BMCR_LOOPBACK, in m88e1510_loopback() [all …]
|
D | dp83867.c | 442 return phy_modify(phydev, DP83867_CFG2, in dp83867_set_downshift() 717 ret = phy_modify(phydev, DP83867_CFG2, DP83867_DOWNSHIFT_EN, in dp83867_config_init() 913 return phy_modify(phydev, MII_DP83867_PHYCTRL, in dp83867_phy_reset()
|
D | dp83869.c | 468 return phy_modify(phydev, DP83869_CFG2, in dp83869_set_downshift() 671 ret = phy_modify(phydev, MII_BMCR, BMCR_ANENABLE, 0); in dp83869_configure_fiber() 788 ret = phy_modify(phydev, DP83869_CFG2, DP83869_DOWNSHIFT_EN, in dp83869_config_init()
|
D | at803x.c | 470 ret = phy_modify(phydev, AT803X_INTR_ENABLE, 0, AT803X_INTR_ENABLE_WOL); in at803x_set_wol() 480 ret = phy_modify(phydev, AT803X_INTR_ENABLE, AT803X_INTR_ENABLE_WOL, 0); in at803x_set_wol() 581 phy_modify(phydev, MII_BMCR, 0, value); in at803x_suspend() 588 return phy_modify(phydev, MII_BMCR, BMCR_PDOWN | BMCR_ISOLATE, 0); in at803x_resume() 1088 return phy_modify(phydev, MII_ADVERTISE, MDIO_AN_CTRL1_XNP, 0); in at803x_config_init() 1713 phy_modify(phydev, MII_BMCR, mask, 0); in qca83xx_suspend()
|
D | dp83822.c | 418 err = phy_modify(phydev, MII_DP83822_CTRL_2, in dp83822_config_init() 446 err = phy_modify(phydev, MII_BMCR, BMCR_ANENABLE, 0); in dp83822_config_init()
|
D | bcm54140.c | 479 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()
|
D | phy_device.c | 2046 return phy_modify(phydev, MII_BMCR, in genphy_setup_forced() 2137 return phy_modify(phydev, MII_BMCR, BMCR_ISOLATE, in genphy_restart_aneg() 2223 err = phy_modify(phydev, MII_BMCR, BMCR_SPEED1000 | BMCR_SPEED100, in genphy_c37_config_aneg() 2526 ret = phy_modify(phydev, MII_BMCR, BMCR_ISOLATE, res); in genphy_soft_reset() 2648 phy_modify(phydev, MII_BMCR, ~0, ctl); in genphy_loopback() 2656 phy_modify(phydev, MII_BMCR, BMCR_LOOPBACK, 0); in genphy_loopback()
|
D | adin.c | 361 rc = phy_modify(phydev, ADIN1300_PHY_CTRL3, in adin_set_downshift() 414 return phy_modify(phydev, ADIN1300_PHY_CTRL_STATUS2, in adin_set_edpd()
|
D | phy-core.c | 700 int phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set) in phy_modify() function 710 EXPORT_SYMBOL_GPL(phy_modify);
|
D | intel-xway.c | 227 return phy_modify(phydev, XWAY_MDIO_MIICTRL, in xway_gphy_rgmii_init()
|
D | micrel.c | 673 return phy_modify(phydev, MII_KSZPHY_CTRL_2, in ksz8081_config_mdix() 1387 ret = phy_modify(phydev, MII_BMCR, in ksz9x31_cable_test_start() 1561 rv = phy_modify(phydev, MII_CTRL1000, in ksz9x31_cable_test_get_status() 1599 return phy_modify(phydev, MII_BMCR, in ksz886x_config_mdix() 1824 return phy_modify(phydev, MII_BMCR, BMCR_ANENABLE | BMCR_SPEED100, in lan8814_cable_test_start()
|
D | microchip_t1.c | 535 ret = phy_modify(phydev, MII_BMCR, BMCR_ANENABLE, 0); in microchip_cable_test_start_common()
|
D | mxl-gpy.c | 687 ret = phy_modify(phydev, MII_BMCR, BMCR_LOOPBACK, in gpy_loopback()
|
D | broadcom.c | 792 err = phy_modify(phydev, MII_BRCM_FET_SHDW_AUXMODE4, in brcm_fet_suspend()
|
/linux-6.1.9/drivers/net/ethernet/realtek/ |
D | r8169_phy_config.c | 482 phy_modify(phydev, 0x0b, 0x00ef, 0x0010); in rtl8168d_1_hw_phy_config() 483 phy_modify(phydev, 0x0c, 0x5d00, 0xa200); in rtl8168d_1_hw_phy_config() 499 phy_modify(phydev, 0x02, 0x0600, 0x0100); in rtl8168d_1_hw_phy_config() 520 phy_modify(phydev, 0x02, 0x0600, 0x0100); in rtl8168d_2_hw_phy_config() 1078 phy_modify(phydev, 0x17, 0xff00, 0x0800); in rtl8125b_hw_phy_config()
|
/linux-6.1.9/include/linux/ |
D | phy.h | 1179 int phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set); 1225 return phy_modify(phydev, regnum, 0, val); in phy_set_bits() 1236 return phy_modify(phydev, regnum, val, 0); in phy_clear_bits()
|
/linux-6.1.9/drivers/net/phy/mscc/ |
D | mscc_main.c | 2090 ret = phy_modify(phydev, MSCC_PHY_EXT_PHY_CNTL_1, MEDIA_OP_MODE_MASK, in vsc8514_config_init()
|