Lines Matching refs:bmsr
675 uint32_t bmsr, dummy; in tg3_setup_copper_phy() local
693 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
694 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
695 if (!(bmsr & BMSR_LSTATUS)) in tg3_setup_copper_phy()
700 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
701 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
704 bmsr = 0; in tg3_setup_copper_phy()
706 if (!(bmsr & BMSR_LSTATUS)) { in tg3_setup_copper_phy()
711 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()
722 !(bmsr & BMSR_LSTATUS) && in tg3_setup_copper_phy()
754 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
755 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
757 if (bmsr & BMSR_LSTATUS) { in tg3_setup_copper_phy()