• Home
  • Raw
  • Download

Lines Matching refs:bmsr

4776 	u32 bmsr, val;  in tg3_setup_copper_phy()  local
4799 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
4800 if (!tg3_readphy(tp, MII_BMSR, &bmsr) && in tg3_setup_copper_phy()
4801 !(bmsr & BMSR_LSTATUS)) in tg3_setup_copper_phy()
4808 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
4809 if (tg3_readphy(tp, MII_BMSR, &bmsr) || in tg3_setup_copper_phy()
4811 bmsr = 0; in tg3_setup_copper_phy()
4813 if (!(bmsr & BMSR_LSTATUS)) { in tg3_setup_copper_phy()
4818 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
4821 if (!tg3_readphy(tp, MII_BMSR, &bmsr) && in tg3_setup_copper_phy()
4822 (bmsr & BMSR_LSTATUS)) { in tg3_setup_copper_phy()
4830 !(bmsr & BMSR_LSTATUS) && in tg3_setup_copper_phy()
4884 bmsr = 0; in tg3_setup_copper_phy()
4886 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
4887 if (!tg3_readphy(tp, MII_BMSR, &bmsr) && in tg3_setup_copper_phy()
4888 (bmsr & BMSR_LSTATUS)) in tg3_setup_copper_phy()
4893 if (bmsr & BMSR_LSTATUS) { in tg3_setup_copper_phy()
4983 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
4984 if ((!tg3_readphy(tp, MII_BMSR, &bmsr) && (bmsr & BMSR_LSTATUS)) || in tg3_setup_copper_phy()
5813 u32 bmsr, bmcr; in tg3_setup_fiber_mii_phy() local
5869 err |= tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_fiber_mii_phy()
5870 err |= tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_fiber_mii_phy()
5873 bmsr |= BMSR_LSTATUS; in tg3_setup_fiber_mii_phy()
5875 bmsr &= ~BMSR_LSTATUS; in tg3_setup_fiber_mii_phy()
5938 err |= tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_fiber_mii_phy()
5939 err |= tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_fiber_mii_phy()
5942 bmsr |= BMSR_LSTATUS; in tg3_setup_fiber_mii_phy()
5944 bmsr &= ~BMSR_LSTATUS; in tg3_setup_fiber_mii_phy()
5950 if (bmsr & BMSR_LSTATUS) { in tg3_setup_fiber_mii_phy()
15601 u32 bmsr, dummy; in tg3_phy_probe() local
15603 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_phy_probe()
15604 if (!tg3_readphy(tp, MII_BMSR, &bmsr) && in tg3_phy_probe()
15605 (bmsr & BMSR_LSTATUS)) in tg3_phy_probe()