Lines Matching refs:tg3_readphy
172 static int tg3_readphy(struct tg3 *tp, int reg, uint32_t *val)
265 tg3_readphy(tp, MII_TG3_AUX_CTRL, &val);
284 err = tg3_readphy(tp, MII_BMCR, &phy_control);
307 tg3_readphy(tp, 0x16, &tmp32);
361 tg3_readphy(tp, MII_TG3_DSP_RW_PORT, &low);
362 tg3_readphy(tp, MII_TG3_DSP_RW_PORT, &high);
419 tg3_readphy(tp, MII_TG3_EXT_CTRL, ®32);
428 tg3_readphy(tp, MII_TG3_CTRL, &phy9_orig);
459 tg3_readphy(tp, MII_TG3_EXT_CTRL, ®32);
474 err = tg3_readphy(tp, MII_BMSR, &phy_status);
475 err |= tg3_readphy(tp, MII_BMSR, &phy_status);
693 tg3_readphy(tp, MII_BMSR, &bmsr);
694 tg3_readphy(tp, MII_BMSR, &bmsr);
700 tg3_readphy(tp, MII_BMSR, &bmsr);
701 tg3_readphy(tp, MII_BMSR, &bmsr);
711 tg3_readphy(tp, MII_BMSR, &bmsr);
714 tg3_readphy(tp, MII_BMSR, &bmsr);
741 tg3_readphy(tp, MII_TG3_ISTAT, &dummy);
742 tg3_readphy(tp, MII_TG3_ISTAT, &dummy);
754 tg3_readphy(tp, MII_BMSR, &bmsr);
755 tg3_readphy(tp, MII_BMSR, &bmsr);
760 tg3_readphy(tp, MII_TG3_AUX_STAT, &aux_stat);
763 tg3_readphy(tp, MII_TG3_AUX_STAT, &aux_stat);
771 tg3_readphy(tp, MII_BMCR, &bmcr);
772 tg3_readphy(tp, MII_BMCR, &bmcr);
781 tg3_readphy(tp, MII_TG3_CTRL, &gig_ctrl);
795 tg3_readphy(tp, MII_ADVERTISE, &local_adv);
798 tg3_readphy(tp, MII_LPA, &remote_adv);
816 tg3_readphy(tp, MII_BMSR, &tmp);
817 tg3_readphy(tp, MII_BMSR, &tmp);
2453 err = tg3_readphy(tp, MII_PHYSID1, &hw_phy_id_1);
2454 err |= tg3_readphy(tp, MII_PHYSID2, &hw_phy_id_2);