Home
last modified time | relevance | path

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

/external/syslinux/gpxe/src/drivers/net/
Dbnx2.c300 u32 bmsr; in bnx2_report_fw_link() local
334 bnx2_read_phy(bp, MII_BMSR, &bmsr); in bnx2_report_fw_link()
335 bnx2_read_phy(bp, MII_BMSR, &bmsr); in bnx2_report_fw_link()
337 if (!(bmsr & BMSR_ANEGCOMPLETE) || in bnx2_report_fw_link()
661 u32 bmsr; in bnx2_set_link() local
671 bnx2_read_phy(bp, MII_BMSR, &bmsr); in bnx2_set_link()
672 bnx2_read_phy(bp, MII_BMSR, &bmsr); in bnx2_set_link()
680 bmsr |= BMSR_LSTATUS; in bnx2_set_link()
682 bmsr &= ~BMSR_LSTATUS; in bnx2_set_link()
685 if (bmsr & BMSR_LSTATUS) { in bnx2_set_link()
[all …]
Dtg3.c694 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()
[all …]
Dtulip.c1997 unsigned int bmsr, lpa, negotiated, new_csr6; in tulip_check_duplex() local
1999 bmsr = mdio_read(nic, tp->phys[0], 1); in tulip_check_duplex()
2005 "%#x.\n", tp->nic_name, bmsr, lpa); in tulip_check_duplex()
2008 if (bmsr == 0xffff) in tulip_check_duplex()
2010 if ((bmsr & 4) == 0) { in tulip_check_duplex()