Searched refs:tg3_readphy (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/broadcom/ |
| D | tg3.c | 1175 static int tg3_readphy(struct tg3 *tp, int reg, u32 *val) in tg3_readphy() function 1279 err = tg3_readphy(tp, MII_TG3_MMD_ADDRESS, val); in tg3_phy_cl45_read() 1291 err = tg3_readphy(tp, MII_TG3_DSP_RW_PORT, val); in tg3_phydsp_read() 1315 err = tg3_readphy(tp, MII_TG3_AUX_CTRL, val); in tg3_phy_auxctl_read() 1370 err = tg3_readphy(tp, MII_BMCR, &phy_control); in tg3_bmcr_reset() 1559 if (tg3_readphy(tp, MII_BMCR, ®) || (reg & BMCR_PDOWN)) in tg3_mdio_init() 1674 if (!tg3_readphy(tp, MII_BMCR, ®)) in tg3_phy_gather_ump_data() 1676 if (!tg3_readphy(tp, MII_BMSR, ®)) in tg3_phy_gather_ump_data() 1681 if (!tg3_readphy(tp, MII_ADVERTISE, ®)) in tg3_phy_gather_ump_data() 1683 if (!tg3_readphy(tp, MII_LPA, ®)) in tg3_phy_gather_ump_data() [all …]
|