Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/broadcom/
Dtg3.c1169 static int tg3_readphy(struct tg3 *tp, int reg, u32 *val) in tg3_readphy() function
1273 err = tg3_readphy(tp, MII_TG3_MMD_ADDRESS, val); in tg3_phy_cl45_read()
1285 err = tg3_readphy(tp, MII_TG3_DSP_RW_PORT, val); in tg3_phydsp_read()
1309 err = tg3_readphy(tp, MII_TG3_AUX_CTRL, val); in tg3_phy_auxctl_read()
1364 err = tg3_readphy(tp, MII_BMCR, &phy_control); in tg3_bmcr_reset()
1553 if (tg3_readphy(tp, MII_BMCR, &reg) || (reg & BMCR_PDOWN)) in tg3_mdio_init()
1668 if (!tg3_readphy(tp, MII_BMCR, &reg)) in tg3_phy_gather_ump_data()
1670 if (!tg3_readphy(tp, MII_BMSR, &reg)) in tg3_phy_gather_ump_data()
1675 if (!tg3_readphy(tp, MII_ADVERTISE, &reg)) in tg3_phy_gather_ump_data()
1677 if (!tg3_readphy(tp, MII_LPA, &reg)) in tg3_phy_gather_ump_data()
[all …]