Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/smsc/
Depic100.c703 int mii_lpa = mdio_read(dev, ep->phys[0], MII_LPA); in epic_open() local
704 if (mii_lpa != 0xffff) { in epic_open()
705 if ((mii_lpa & LPA_100FULL) || (mii_lpa & 0x01C0) == LPA_10FULL) in epic_open()
707 else if (! (mii_lpa & LPA_LPACK)) in epic_open()
713 ep->phys[0], mii_lpa); in epic_open()
827 int mii_lpa = ep->mii_phy_cnt ? mdio_read(dev, ep->phys[0], MII_LPA) : 0; in check_media() local
828 int negotiated = mii_lpa & ep->mii.advertising; in check_media()
833 if (mii_lpa == 0xffff) /* Bogus read */ in check_media()
839 ep->phys[0], mii_lpa); in check_media()
/Linux-v4.19/drivers/net/ethernet/realtek/
D8139too.c1570 int mii_lpa; in rtl8139_thread_iter() local
1572 mii_lpa = mdio_read (dev, tp->phys[0], MII_LPA); in rtl8139_thread_iter()
1574 if (!tp->mii.force_media && mii_lpa != 0xffff) { in rtl8139_thread_iter()
1575 int duplex = ((mii_lpa & LPA_100FULL) || in rtl8139_thread_iter()
1576 (mii_lpa & 0x01C0) == 0x0040); in rtl8139_thread_iter()
1580 if (mii_lpa) { in rtl8139_thread_iter()
1583 tp->phys[0], mii_lpa); in rtl8139_thread_iter()
/Linux-v4.19/drivers/net/ethernet/dlink/
Dsundance.c930 int mii_lpa = mdio_read(dev, np->phys[0], MII_LPA); in check_duplex() local
931 int negotiated = mii_lpa & np->mii_if.advertising; in check_duplex()
935 if (!np->an_enable || mii_lpa == 0xffff) { in check_duplex()
1464 u16 mii_ctl, mii_advertise, mii_lpa; in netdev_error() local
1473 mii_lpa = mdio_read(dev, np->phys[0], MII_LPA); in netdev_error()
1474 mii_advertise &= mii_lpa; in netdev_error()
/Linux-v4.19/drivers/net/ethernet/broadcom/
Dbnx2.c1068 bnx2_read_phy(bp, bp->mii_lpa, &remote_adv); in bnx2_resolve_flow_ctrl()
1201 bnx2_read_phy(bp, bp->mii_lpa, &remote_adv); in bnx2_5706s_linkup()
1242 bnx2_read_phy(bp, bp->mii_lpa, &remote_adv); in bnx2_copper_linkup()
2195 bp->mii_lpa = MII_LPA + 0x10; in bnx2_init_5709s_phy()
2406 bp->mii_lpa = MII_LPA; in bnx2_init_phy()
Dbnx2.h6863 u32 mii_lpa; member