Lines Matching refs:tg3_readphy

180 static int tg3_readphy(struct tg3 *tp, int reg, uint32_t *val)  in tg3_readphy()  function
273 tg3_readphy(tp, MII_TG3_AUX_CTRL, &val); in tg3_phy_set_wirespeed()
292 err = tg3_readphy(tp, MII_BMCR, &phy_control); in tg3_bmcr_reset()
315 tg3_readphy(tp, 0x16, &tmp32); in tg3_wait_macro_done()
369 tg3_readphy(tp, MII_TG3_DSP_RW_PORT, &low); in tg3_phy_write_and_check_testpat()
370 tg3_readphy(tp, MII_TG3_DSP_RW_PORT, &high); in tg3_phy_write_and_check_testpat()
427 tg3_readphy(tp, MII_TG3_EXT_CTRL, &reg32); in tg3_phy_reset_5703_4_5()
436 tg3_readphy(tp, MII_TG3_CTRL, &phy9_orig); in tg3_phy_reset_5703_4_5()
467 tg3_readphy(tp, MII_TG3_EXT_CTRL, &reg32); in tg3_phy_reset_5703_4_5()
482 err = tg3_readphy(tp, MII_BMSR, &phy_status); in tg3_phy_reset()
483 err |= tg3_readphy(tp, MII_BMSR, &phy_status); in tg3_phy_reset()
713 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
714 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
720 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
721 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
731 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
734 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
761 tg3_readphy(tp, MII_TG3_ISTAT, &dummy); in tg3_setup_copper_phy()
762 tg3_readphy(tp, MII_TG3_ISTAT, &dummy); in tg3_setup_copper_phy()
774 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
775 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
780 tg3_readphy(tp, MII_TG3_AUX_STAT, &aux_stat); in tg3_setup_copper_phy()
783 tg3_readphy(tp, MII_TG3_AUX_STAT, &aux_stat); in tg3_setup_copper_phy()
791 tg3_readphy(tp, MII_BMCR, &bmcr); in tg3_setup_copper_phy()
792 tg3_readphy(tp, MII_BMCR, &bmcr); in tg3_setup_copper_phy()
801 tg3_readphy(tp, MII_TG3_CTRL, &gig_ctrl); in tg3_setup_copper_phy()
815 tg3_readphy(tp, MII_ADVERTISE, &local_adv); in tg3_setup_copper_phy()
818 tg3_readphy(tp, MII_LPA, &remote_adv); in tg3_setup_copper_phy()
836 tg3_readphy(tp, MII_BMSR, &tmp); in tg3_setup_copper_phy()
837 tg3_readphy(tp, MII_BMSR, &tmp); in tg3_setup_copper_phy()
2537 err = tg3_readphy(tp, MII_PHYSID1, &hw_phy_id_1); in tg3_phy_probe()
2538 err |= tg3_readphy(tp, MII_PHYSID2, &hw_phy_id_2); in tg3_phy_probe()