Lines Matching refs:phy_write
91 ret = phy_write(phydev, AT803X_DEBUG_ADDR, reg); in at803x_debug_reg_read()
112 return phy_write(phydev, AT803X_DEBUG_DATA, val); in at803x_debug_reg_mask()
155 phy_write(phydev, MII_BMCR, context->bmcr); in at803x_context_restore()
156 phy_write(phydev, MII_ADVERTISE, context->advertise); in at803x_context_restore()
157 phy_write(phydev, MII_CTRL1000, context->control1000); in at803x_context_restore()
158 phy_write(phydev, AT803X_INTR_ENABLE, context->int_enable); in at803x_context_restore()
159 phy_write(phydev, AT803X_SMART_SPEED, context->smart_speed); in at803x_context_restore()
160 phy_write(phydev, AT803X_LED_CONTROL, context->led_control); in at803x_context_restore()
191 ret = phy_write(phydev, AT803X_INTR_ENABLE, value); in at803x_set_wol()
198 ret = phy_write(phydev, AT803X_INTR_ENABLE, value); in at803x_set_wol()
306 err = phy_write(phydev, AT803X_INTR_ENABLE, value); in at803x_config_intr()
309 err = phy_write(phydev, AT803X_INTR_ENABLE, 0); in at803x_config_intr()
356 phy_write(phydev, AT803X_REG_CHIP_CONFIG, ccr & ~AT803X_BT_BX_REG_SEL); in at803x_aneg_done()
364 phy_write(phydev, AT803X_REG_CHIP_CONFIG, ccr | AT803X_BT_BX_REG_SEL); in at803x_aneg_done()