Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/broadcom/
Dtg3.c1181 static int tg3_readphy(struct tg3 *tp, int reg, u32 *val) in tg3_readphy() function
1285 err = tg3_readphy(tp, MII_TG3_MMD_ADDRESS, val); in tg3_phy_cl45_read()
1297 err = tg3_readphy(tp, MII_TG3_DSP_RW_PORT, val); in tg3_phydsp_read()
1321 err = tg3_readphy(tp, MII_TG3_AUX_CTRL, val); in tg3_phy_auxctl_read()
1376 err = tg3_readphy(tp, MII_BMCR, &phy_control); in tg3_bmcr_reset()
1565 if (tg3_readphy(tp, MII_BMCR, &reg) || (reg & BMCR_PDOWN)) in tg3_mdio_init()
1680 if (!tg3_readphy(tp, MII_BMCR, &reg)) in tg3_phy_gather_ump_data()
1682 if (!tg3_readphy(tp, MII_BMSR, &reg)) in tg3_phy_gather_ump_data()
1687 if (!tg3_readphy(tp, MII_ADVERTISE, &reg)) in tg3_phy_gather_ump_data()
1689 if (!tg3_readphy(tp, MII_LPA, &reg)) in tg3_phy_gather_ump_data()
[all …]