/openbmc/linux/drivers/net/phy/ |
H A D | vitesse.c | 135 phy_modify(phydev, 0x0c, 0x0300, 0x0200); 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() 216 phy_modify(phydev, 0x08, 0x0200, 0x0200); in vsc739x_config_init() 219 phy_modify(phydev, 0x12, 0xff07, 0x0003); in vsc739x_config_init() 220 phy_modify(phydev, 0x11, 0x00ff, 0x00a2); in vsc739x_config_init() 223 phy_modify(phydev, 0x08, 0x0200, 0x0000); in vsc739x_config_init() 229 phy_modify(phydev, 0x16, 0x0fc0, 0x0240); in vsc739x_config_init() [all …]
|
H A 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()
|
H A D | dp83867.c | 451 return phy_modify(phydev, DP83867_CFG2, in dp83867_set_downshift() 749 ret = phy_modify(phydev, DP83867_CFG2, DP83867_DOWNSHIFT_EN, in dp83867_config_init() 945 err = phy_modify(phydev, MII_DP83867_PHYCTRL, in dp83867_phy_reset() 996 return phy_modify(phydev, MII_BMCR, BMCR_LOOPBACK, in dp83867_loopback() 1015 return phy_modify(phydev, DP83867_LEDCR2, in dp83867_led_brightness_set()
|
H A D | marvell.c | 803 ret = phy_modify(phydev, MII_88E3016_PHY_SPEC_CTRL, in m88e3016_config_init() 819 return phy_modify(phydev, MII_M1111_PHY_EXT_SR, in m88e1111_config_init_hwcfg_mode() 845 return phy_modify(phydev, MII_M1111_PHY_EXT_CR, in m88e1111_config_init_rgmii_delays() 925 err = phy_modify(phydev, MII_M1111_PHY_EXT_SR, in m88e1111_config_init_1000basex() 1015 err = phy_modify(phydev, MII_M1111_PHY_EXT_CR, in m88e1111_set_downshift() 1079 err = phy_modify(phydev, MII_M1011_PHY_SCR, in m88e1011_set_downshift() 1245 err = phy_modify(phydev, MII_88E1510_GEN_CTRL_REG_1, in m88e1510_config_init() 1362 err = phy_modify(phydev, 0x1e, 0x0fc0, in m88e1145_config_init_rgmii() 1491 ret = phy_modify(phydev, MII_88E1540_COPPER_CTRL3, in m88e1540_set_fld() 2022 err = phy_modify(phydev, MII_BMCR, BMCR_LOOPBACK, in m88e1510_loopback() [all …]
|
H A D | dp83869.c | 468 return phy_modify(phydev, DP83869_CFG2, in dp83869_set_downshift() 668 ret = phy_modify(phydev, MII_BMCR, BMCR_ANENABLE, 0); in dp83869_configure_fiber() 797 ret = phy_modify(phydev, DP83869_CFG2, DP83869_DOWNSHIFT_EN, in dp83869_config_init()
|
H A D | at803x.c | 478 ret = phy_modify(phydev, AT803X_INTR_ENABLE, 0, AT803X_INTR_ENABLE_WOL); in at803x_set_wol() 491 ret = phy_modify(phydev, AT803X_INTR_ENABLE, AT803X_INTR_ENABLE_WOL, 0); in at803x_set_wol() 592 phy_modify(phydev, MII_BMCR, 0, value); in at803x_suspend() 599 return phy_modify(phydev, MII_BMCR, BMCR_PDOWN | BMCR_ISOLATE, 0); in at803x_resume() 1067 return phy_modify(phydev, MII_ADVERTISE, MDIO_AN_CTRL1_XNP, 0); in at803x_config_init() 1692 phy_modify(phydev, MII_BMCR, mask, 0); in qca83xx_suspend()
|
H A D | dp83822.c | 423 err = phy_modify(phydev, MII_DP83822_CTRL_2, in dp83822_config_init() 451 err = phy_modify(phydev, MII_BMCR, BMCR_ANENABLE, 0); in dp83822_config_init()
|
H A 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()
|
H A 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()
|
H A D | phy-core.c | 714 int phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set) in phy_modify() function 724 EXPORT_SYMBOL_GPL(phy_modify);
|
H A D | phy_device.c | 2107 return phy_modify(phydev, MII_BMCR, in genphy_setup_forced() 2198 return phy_modify(phydev, MII_BMCR, BMCR_ISOLATE, in genphy_restart_aneg() 2287 err = phy_modify(phydev, MII_BMCR, BMCR_SPEED1000 | BMCR_SPEED100, in genphy_c37_config_aneg() 2590 ret = phy_modify(phydev, MII_BMCR, BMCR_ISOLATE, res); in genphy_soft_reset() 2717 phy_modify(phydev, MII_BMCR, ~0, ctl); in genphy_loopback() 2725 phy_modify(phydev, MII_BMCR, BMCR_LOOPBACK, 0); in genphy_loopback()
|
H A D | intel-xway.c | 227 return phy_modify(phydev, XWAY_MDIO_MIICTRL, in xway_gphy_rgmii_init()
|
H A D | mxl-gpy.c | 390 ret = phy_modify(phydev, PHY_CTL1, PHY_CTL1_AMDIX | PHY_CTL1_MDIAB | in gpy_config_mdix() 801 ret = phy_modify(phydev, MII_BMCR, BMCR_LOOPBACK, set); in gpy_loopback()
|
H A D | micrel.c | 707 return phy_modify(phydev, MII_KSZPHY_CTRL_2, in ksz8081_config_mdix() 1394 return phy_modify(phydev, MII_KSZ9131_AUTO_MDIX, in ksz9131_config_mdix() 1530 ret = phy_modify(phydev, MII_BMCR, in ksz9x31_cable_test_start() 1704 rv = phy_modify(phydev, MII_CTRL1000, in ksz9x31_cable_test_get_status() 1742 return phy_modify(phydev, MII_BMCR, in ksz886x_config_mdix() 2122 return phy_modify(phydev, MII_BMCR, BMCR_ANENABLE | BMCR_SPEED100, in lan8814_cable_test_start() 3542 phy_modify(phydev, LAN8841_OUTPUT_CTRL, in lan8841_config_intr()
|
H A D | microchip_t1.c | 572 ret = phy_modify(phydev, MII_BMCR, BMCR_ANENABLE, 0); in microchip_cable_test_start_common()
|
H A D | motorcomm.c | 566 ret = phy_modify(phydev, YTPHY_INTERRUPT_ENABLE_REG, 0, in yt8531_set_wol() 577 ret = phy_modify(phydev, YTPHY_INTERRUPT_ENABLE_REG, in yt8531_set_wol()
|
H A D | broadcom.c | 848 err = phy_modify(phydev, MII_BRCM_FET_SHDW_AUXMODE4, in brcm_fet_suspend()
|
/openbmc/linux/drivers/net/ethernet/realtek/ |
H A 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() 1082 phy_modify(phydev, 0x17, 0xff00, 0x0800); in rtl8125b_hw_phy_config()
|
/openbmc/linux/include/linux/ |
H A D | phy.h | 1380 int phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set); 1426 return phy_modify(phydev, regnum, 0, val); in phy_set_bits() 1437 return phy_modify(phydev, regnum, val, 0); in phy_clear_bits()
|
/openbmc/linux/drivers/net/phy/mscc/ |
H A D | mscc_main.c | 2103 ret = phy_modify(phydev, MSCC_PHY_EXT_PHY_CNTL_1, MEDIA_OP_MODE_MASK, in vsc8514_config_init()
|