Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/smsc/
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-v6.6/drivers/net/ethernet/realtek/
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-v6.6/drivers/net/ethernet/dlink/
Dsundance.c919 int mii_lpa = mdio_read(dev, np->phys[0], MII_LPA); in check_duplex() local
920 int negotiated = mii_lpa & np->mii_if.advertising; in check_duplex()
924 if (!np->an_enable || mii_lpa == 0xffff) { in check_duplex()
1449 u16 mii_ctl, mii_advertise, mii_lpa; in netdev_error() local
1458 mii_lpa = mdio_read(dev, np->phys[0], MII_LPA); in netdev_error()
1459 mii_advertise &= mii_lpa; in netdev_error()
/Linux-v6.6/drivers/net/ethernet/broadcom/
Dbnx2.c1061 bnx2_read_phy(bp, bp->mii_lpa, &remote_adv); in bnx2_resolve_flow_ctrl()
1194 bnx2_read_phy(bp, bp->mii_lpa, &remote_adv); in bnx2_5706s_linkup()
1235 bnx2_read_phy(bp, bp->mii_lpa, &remote_adv); in bnx2_copper_linkup()
2188 bp->mii_lpa = MII_LPA + 0x10; in bnx2_init_5709s_phy()
2399 bp->mii_lpa = MII_LPA; in bnx2_init_phy()
Dbnx2.h6862 u32 mii_lpa; member