Lines Matching refs:phy_write
169 ret = phy_write(phydev, AT803X_DEBUG_ADDR, reg); in at803x_debug_reg_read()
190 return phy_write(phydev, AT803X_DEBUG_DATA, val); in at803x_debug_reg_mask()
233 phy_write(phydev, MII_BMCR, context->bmcr); in at803x_context_restore()
234 phy_write(phydev, MII_ADVERTISE, context->advertise); in at803x_context_restore()
235 phy_write(phydev, MII_CTRL1000, context->control1000); in at803x_context_restore()
236 phy_write(phydev, AT803X_INTR_ENABLE, context->int_enable); in at803x_context_restore()
237 phy_write(phydev, AT803X_SMART_SPEED, context->smart_speed); in at803x_context_restore()
238 phy_write(phydev, AT803X_LED_CONTROL, context->led_control); in at803x_context_restore()
269 ret = phy_write(phydev, AT803X_INTR_ENABLE, value); in at803x_set_wol()
276 ret = phy_write(phydev, AT803X_INTR_ENABLE, value); in at803x_set_wol()
623 err = phy_write(phydev, AT803X_INTR_ENABLE, value); in at803x_config_intr()
626 err = phy_write(phydev, AT803X_INTR_ENABLE, 0); in at803x_config_intr()
673 phy_write(phydev, AT803X_REG_CHIP_CONFIG, ccr & ~AT803X_BT_BX_REG_SEL); in at803x_aneg_done()
681 phy_write(phydev, AT803X_REG_CHIP_CONFIG, ccr | AT803X_BT_BX_REG_SEL); in at803x_aneg_done()
943 return phy_write(phydev, AT803X_CDT, cdt); in at803x_cdt_start()
1038 phy_write(phydev, MII_BMCR, BMCR_ANENABLE); in at803x_cable_test_start()
1039 phy_write(phydev, MII_ADVERTISE, ADVERTISE_CSMA); in at803x_cable_test_start()
1042 phy_write(phydev, MII_CTRL1000, 0); in at803x_cable_test_start()