Home
last modified time | relevance | path

Searched refs:bmsr (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/drivers/net/
Ddl2k.c1595 BMSR_t bmsr; in mii_wait_link() local
1603 bmsr.image = mii_read (dev, phy_addr, MII_BMSR); in mii_wait_link()
1604 if (bmsr.bits.link_status) in mii_wait_link()
1614 BMSR_t bmsr; in mii_get_media() local
1624 bmsr.image = mii_read (dev, phy_addr, MII_BMSR); in mii_get_media()
1626 if (!bmsr.bits.an_complete) { in mii_get_media()
1699 BMSR_t bmsr; in mii_set_media() local
1709 bmsr.image = mii_read (dev, phy_addr, MII_BMSR); in mii_set_media()
1711 anar.bits.media_100BX_FD = bmsr.bits.media_100BX_FD; in mii_set_media()
1712 anar.bits.media_100BX_HD = bmsr.bits.media_100BX_HD; in mii_set_media()
[all …]
Dsb1250-mac.c2494 int bmsr,bmcr,k1stsr,anlpar; in sbmac_mii_poll() local
2500 bmsr = sbmac_mii_read(s,s->sbm_phys[0],MII_BMSR); in sbmac_mii_poll()
2507 if (bmsr & BMSR_1000BT_XSR) { in sbmac_mii_poll()
2516 if ((bmsr & BMSR_LINKSTAT) == 0) { in sbmac_mii_poll()
2527 if ((s->sbm_phy_oldbmsr != bmsr) || in sbmac_mii_poll()
2533 s->sbm_phy_oldbmsr,bmsr, in sbmac_mii_poll()
2537 s->sbm_phy_oldbmsr = bmsr; in sbmac_mii_poll()
Db44.c499 u32 bmsr, aux; in b44_check_phy() local
501 if (!b44_readphy(bp, MII_BMSR, &bmsr) && in b44_check_phy()
503 (bmsr != 0xffff)) { in b44_check_phy()
514 (bmsr & BMSR_LSTATUS)) { in b44_check_phy()
532 } else if (netif_carrier_ok(bp->dev) && !(bmsr & BMSR_LSTATUS)) { in b44_check_phy()
538 if (bmsr & BMSR_RFAULT) in b44_check_phy()
541 if (bmsr & BMSR_JCD) in b44_check_phy()
Dtg3.c1511 u32 bmsr, dummy; in tg3_setup_copper_phy() local
1538 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
1539 if (!tg3_readphy(tp, MII_BMSR, &bmsr) && in tg3_setup_copper_phy()
1540 !(bmsr & BMSR_LSTATUS)) in tg3_setup_copper_phy()
1547 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
1548 if (tg3_readphy(tp, MII_BMSR, &bmsr) || in tg3_setup_copper_phy()
1550 bmsr = 0; in tg3_setup_copper_phy()
1552 if (!(bmsr & BMSR_LSTATUS)) { in tg3_setup_copper_phy()
1557 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
1560 if (!tg3_readphy(tp, MII_BMSR, &bmsr) && in tg3_setup_copper_phy()
[all …]
Dyellowfin.c714 int bmsr = mdio_read(ioaddr, yp->phys[0], MII_BMSR); in yellowfin_timer() local
720 dev->name, yp->phys[0], bmsr, lpa); in yellowfin_timer()
726 if (bmsr & BMSR_LSTATUS) in yellowfin_timer()
/linux-2.4.37.9/drivers/net/tulip/
Dmedia.c416 unsigned int bmsr, lpa, negotiated, new_csr6; in tulip_check_duplex() local
418 bmsr = tulip_mdio_read(dev, tp->phys[0], MII_BMSR); in tulip_check_duplex()
422 "%4.4x.\n", dev->name, bmsr, lpa); in tulip_check_duplex()
423 if (bmsr == 0xffff) in tulip_check_duplex()
425 if ((bmsr & BMSR_LSTATUS) == 0) { in tulip_check_duplex()
/linux-2.4.37.9/drivers/usb/
Dpegasus.c473 u16 linkpart, bmsr; in enable_net_traffic() local
478 read_mii_word(pegasus, pegasus->phy, MII_BMSR, &bmsr); in enable_net_traffic()
479 read_mii_word(pegasus, pegasus->phy, MII_BMSR, &bmsr); in enable_net_traffic()