Searched refs:alx_read_phy_reg (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/net/ethernet/atheros/alx/ |
H A D | hw.c | 171 int alx_read_phy_reg(struct alx_hw *hw, u16 reg, u16 *phy_data) in alx_read_phy_reg() function 252 alx_read_phy_reg(hw, ALX_MII_DBG_ADDR, &phy_val); in alx_get_phy_config() 871 err = alx_read_phy_reg(hw, MII_BMSR, &bmsr); in alx_read_phy_link() 875 err = alx_read_phy_reg(hw, MII_BMSR, &bmsr); in alx_read_phy_link() 886 err = alx_read_phy_reg(hw, ALX_MII_GIGA_PSSR, &giga); in alx_read_phy_link() 920 return alx_read_phy_reg(hw, ALX_MII_ISR, &isr); in alx_clear_phy_intr() 1052 if (alx_read_phy_reg(hw, MII_PHYSID1, &hw->phy_id[0]) || in alx_get_phy_info() 1053 alx_read_phy_reg(hw, MII_PHYSID2, &hw->phy_id[1])) in alx_get_phy_info()
|
H A D | hw.h | 552 int alx_read_phy_reg(struct alx_hw *hw, u16 reg, u16 *phy_data);
|
H A D | main.c | 1599 err = alx_read_phy_reg(hw, addr, &val); in alx_mdio_read()
|