Searched refs:mii_lpa (Results 1 - 5 of 5) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/smsc/ |
H A D | epic100.c | 708 int mii_lpa = mdio_read(dev, ep->phys[0], MII_LPA); epic_open() local 709 if (mii_lpa != 0xffff) { epic_open() 710 if ((mii_lpa & LPA_100FULL) || (mii_lpa & 0x01C0) == LPA_10FULL) epic_open() 712 else if (! (mii_lpa & LPA_LPACK)) epic_open() 718 ep->phys[0], mii_lpa); epic_open() 834 int mii_lpa = ep->mii_phy_cnt ? mdio_read(dev, ep->phys[0], MII_LPA) : 0; check_media() local 835 int negotiated = mii_lpa & ep->mii.advertising; check_media() 840 if (mii_lpa == 0xffff) /* Bogus read */ check_media() 846 ep->phys[0], mii_lpa); check_media()
|
/linux-4.4.14/drivers/net/ethernet/dlink/ |
H A D | sundance.c | 930 int mii_lpa = mdio_read(dev, np->phys[0], MII_LPA); check_duplex() local 931 int negotiated = mii_lpa & np->mii_if.advertising; check_duplex() 935 if (!np->an_enable || mii_lpa == 0xffff) { check_duplex() 1464 u16 mii_ctl, mii_advertise, mii_lpa; netdev_error() local 1473 mii_lpa = mdio_read(dev, np->phys[0], MII_LPA); netdev_error() 1474 mii_advertise &= mii_lpa; netdev_error()
|
/linux-4.4.14/drivers/net/ethernet/realtek/ |
H A D | 8139too.c | 1578 int mii_lpa; rtl8139_thread_iter() local 1580 mii_lpa = mdio_read (dev, tp->phys[0], MII_LPA); rtl8139_thread_iter() 1582 if (!tp->mii.force_media && mii_lpa != 0xffff) { rtl8139_thread_iter() 1583 int duplex = ((mii_lpa & LPA_100FULL) || rtl8139_thread_iter() 1584 (mii_lpa & 0x01C0) == 0x0040); rtl8139_thread_iter() 1588 if (mii_lpa) { rtl8139_thread_iter() 1591 tp->phys[0], mii_lpa); rtl8139_thread_iter()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
H A D | bnx2.c | 1064 bnx2_read_phy(bp, bp->mii_lpa, &remote_adv); bnx2_resolve_flow_ctrl() 1197 bnx2_read_phy(bp, bp->mii_lpa, &remote_adv); bnx2_5706s_linkup() 1238 bnx2_read_phy(bp, bp->mii_lpa, &remote_adv); bnx2_copper_linkup() 2191 bp->mii_lpa = MII_LPA + 0x10; bnx2_init_5709s_phy() 2402 bp->mii_lpa = MII_LPA;
|
H A D | bnx2.h | 6863 u32 mii_lpa; member in struct:bnx2
|
Completed in 396 milliseconds