Home
last modified time | relevance | path

Searched refs:mii_lpa (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/smsc/
H A Depic100.c710 int mii_lpa = mdio_read(dev, ep->phys[0], MII_LPA); in epic_open() local
711 if (mii_lpa != 0xffff) { in epic_open()
712 if ((mii_lpa & LPA_100FULL) || (mii_lpa & 0x01C0) == LPA_10FULL) in epic_open()
714 else if (! (mii_lpa & LPA_LPACK)) in epic_open()
720 ep->phys[0], mii_lpa); in epic_open()
834 int mii_lpa = ep->mii_phy_cnt ? mdio_read(dev, ep->phys[0], MII_LPA) : 0; in check_media() local
835 int negotiated = mii_lpa & ep->mii.advertising; in check_media()
840 if (mii_lpa == 0xffff) /* Bogus read */ in check_media()
846 ep->phys[0], mii_lpa); in check_media()
/linux/drivers/net/ethernet/realtek/
H A D8139too.c1572 int mii_lpa; in rtl8139_thread_iter() local
1574 mii_lpa = mdio_read (dev, tp->phys[0], MII_LPA); in rtl8139_thread_iter()
1576 if (!tp->mii.force_media && mii_lpa != 0xffff) { in rtl8139_thread_iter()
1577 int duplex = ((mii_lpa & LPA_100FULL) || in rtl8139_thread_iter()
1578 (mii_lpa & 0x01C0) == 0x0040); in rtl8139_thread_iter()
1582 if (mii_lpa) { in rtl8139_thread_iter()
1585 tp->phys[0], mii_lpa); in rtl8139_thread_iter()
/linux/drivers/net/ethernet/broadcom/
H A Dbnx2.c1062 bnx2_read_phy(bp, bp->mii_lpa, &remote_adv); in bnx2_resolve_flow_ctrl()
1195 bnx2_read_phy(bp, bp->mii_lpa, &remote_adv); in bnx2_5706s_linkup()
1236 bnx2_read_phy(bp, bp->mii_lpa, &remote_adv); in bnx2_copper_linkup()
2189 bp->mii_lpa = MII_LPA + 0x10; in bnx2_init_5709s_phy()
2400 bp->mii_lpa = MII_LPA; in bnx2_init_phy()
H A Dbnx2.h6862 u32 mii_lpa; member