Home
last modified time | relevance | path

Searched refs:alx_write_phy_reg (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/atheros/alx/
H A Dhw.c182 int alx_write_phy_reg(struct alx_hw *hw, u16 reg, u16 phy_data) in alx_write_phy_reg() function
555 alx_write_phy_reg(hw, ALX_MII_IER, ALX_IER_LINK_UP | ALX_IER_LINK_DOWN); in alx_reset_phy()
728 alx_write_phy_reg(hw, ALX_MII_DBG_ADDR, 0); in alx_setup_speed_duplex()
751 if (alx_write_phy_reg(hw, MII_ADVERTISE, adv) || in alx_setup_speed_duplex()
752 alx_write_phy_reg(hw, MII_CTRL1000, giga) || in alx_setup_speed_duplex()
753 alx_write_phy_reg(hw, MII_BMCR, cr)) in alx_setup_speed_duplex()
764 err = alx_write_phy_reg(hw, MII_BMCR, cr); in alx_setup_speed_duplex()
768 alx_write_phy_reg(hw, ALX_MII_DBG_ADDR, ALX_PHY_INITED); in alx_setup_speed_duplex()
H A Dhw.h553 int alx_write_phy_reg(struct alx_hw *hw, u16 reg, u16 phy_data);
H A Dmain.c1618 return alx_write_phy_reg(hw, addr, val); in alx_mdio_write()