Searched refs:tg3_readphy (Results 1 – 1 of 1) sorted by relevance
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | tg3.c | 1163 static int tg3_readphy(struct tg3 *tp, int reg, u32 *val) in tg3_readphy() function 1267 err = tg3_readphy(tp, MII_TG3_MMD_ADDRESS, val); in tg3_phy_cl45_read() 1279 err = tg3_readphy(tp, MII_TG3_DSP_RW_PORT, val); in tg3_phydsp_read() 1303 err = tg3_readphy(tp, MII_TG3_AUX_CTRL, val); in tg3_phy_auxctl_read() 1358 err = tg3_readphy(tp, MII_BMCR, &phy_control); in tg3_bmcr_reset() 1551 if (tg3_readphy(tp, MII_BMCR, ®) || (reg & BMCR_PDOWN)) in tg3_mdio_init() 1666 if (!tg3_readphy(tp, MII_BMCR, ®)) in tg3_phy_gather_ump_data() 1668 if (!tg3_readphy(tp, MII_BMSR, ®)) in tg3_phy_gather_ump_data() 1673 if (!tg3_readphy(tp, MII_ADVERTISE, ®)) in tg3_phy_gather_ump_data() 1675 if (!tg3_readphy(tp, MII_LPA, ®)) in tg3_phy_gather_ump_data() [all …]
|