Lines Matching refs:phy_write
213 ret = phy_write(phydev, AT803X_DEBUG_ADDR, reg); in at803x_debug_reg_write()
217 return phy_write(phydev, AT803X_DEBUG_DATA, data); in at803x_debug_reg_write()
224 ret = phy_write(phydev, AT803X_DEBUG_ADDR, reg); in at803x_debug_reg_read()
245 return phy_write(phydev, AT803X_DEBUG_DATA, val); in at803x_debug_reg_mask()
317 phy_write(phydev, MII_BMCR, context->bmcr); in at803x_context_restore()
318 phy_write(phydev, MII_ADVERTISE, context->advertise); in at803x_context_restore()
319 phy_write(phydev, MII_CTRL1000, context->control1000); in at803x_context_restore()
320 phy_write(phydev, AT803X_INTR_ENABLE, context->int_enable); in at803x_context_restore()
321 phy_write(phydev, AT803X_SMART_SPEED, context->smart_speed); in at803x_context_restore()
322 phy_write(phydev, AT803X_LED_CONTROL, context->led_control); in at803x_context_restore()
353 ret = phy_write(phydev, AT803X_INTR_ENABLE, value); in at803x_set_wol()
360 ret = phy_write(phydev, AT803X_INTR_ENABLE, value); in at803x_set_wol()
852 err = phy_write(phydev, AT803X_INTR_ENABLE, value); in at803x_config_intr()
854 err = phy_write(phydev, AT803X_INTR_ENABLE, 0); in at803x_config_intr()
1173 return phy_write(phydev, AT803X_CDT, cdt); in at803x_cdt_start()
1268 phy_write(phydev, MII_BMCR, BMCR_ANENABLE); in at803x_cable_test_start()
1269 phy_write(phydev, MII_ADVERTISE, ADVERTISE_CSMA); in at803x_cable_test_start()
1272 phy_write(phydev, MII_CTRL1000, 0); in at803x_cable_test_start()