Lines Matching refs:bmsr
694 uint32_t bmsr, dummy; in tg3_setup_copper_phy() local
713 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
714 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
715 if (!(bmsr & BMSR_LSTATUS)) 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()
724 bmsr = 0; in tg3_setup_copper_phy()
726 if (!(bmsr & BMSR_LSTATUS)) { 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()
735 if (bmsr & BMSR_LSTATUS) { in tg3_setup_copper_phy()
742 !(bmsr & BMSR_LSTATUS) && 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()
777 if (bmsr & BMSR_LSTATUS) { in tg3_setup_copper_phy()