Searched refs:atl1c_write_phy_reg (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_hw.c | 419 int atl1c_write_phy_reg(struct atl1c_hw *hw, u32 reg_addr, u16 phy_data) in atl1c_write_phy_reg() function 442 err = atl1c_write_phy_reg(hw, MII_DBG_ADDR, reg_addr); in atl1c_read_phy_dbg() 455 err = atl1c_write_phy_reg(hw, MII_DBG_ADDR, reg_addr); in atl1c_write_phy_dbg() 459 err = atl1c_write_phy_reg(hw, MII_DBG_DATA, phy_data); in atl1c_write_phy_dbg() 498 if (atl1c_write_phy_reg(hw, MII_ADVERTISE, mii_adv_data) != 0 || in atl1c_phy_setup_adv() 499 atl1c_write_phy_reg(hw, MII_CTRL1000, mii_giga_ctrl_data) != 0) in atl1c_phy_setup_adv() 593 err = atl1c_write_phy_reg(hw, MII_IER, phy_data); in atl1c_phy_reset() 644 ret_val = atl1c_write_phy_reg(hw, MII_BMCR, mii_bmcr_data); in atl1c_phy_init() 764 return atl1c_write_phy_reg(hw, MII_BMCR, mii_bmcr_data); in atl1c_restart_autoneg() 810 if (atl1c_write_phy_reg(hw, MII_IER, IER_LINK_UP) != 0) { in atl1c_power_saving()
|
D | atl1c_hw.h | 46 int atl1c_write_phy_reg(struct atl1c_hw *hw, u32 reg_addr, u16 phy_data);
|
D | atl1c_main.c | 582 atl1c_write_phy_reg(&adapter->hw, reg_num, val); in atl1c_mdio_write() 619 if (atl1c_write_phy_reg(&adapter->hw, in atl1c_mii_ioctl()
|