Home
last modified time | relevance | path

Searched refs:negotiated (Results 1 – 8 of 8) sorted by relevance

/drivers/net/ethernet/dec/tulip/
Dpnic2.c204 int negotiated = ((csr12 >> 16) & 0x01E0) & tp->sym_advertise; in pnic2_lnk_change() local
208 if (negotiated & 0x0100) dev->if_port = 5; in pnic2_lnk_change()
209 else if (negotiated & 0x0080) dev->if_port = 3; in pnic2_lnk_change()
210 else if (negotiated & 0x0040) dev->if_port = 4; in pnic2_lnk_change()
211 else if (negotiated & 0x0020) dev->if_port = 0; in pnic2_lnk_change()
234 negotiated); in pnic2_lnk_change()
D21142.c157 int negotiated = tp->sym_advertise & (csr12 >> 16); in t21142_lnk_change() local
162 else if (negotiated & 0x0100) dev->if_port = 5; in t21142_lnk_change()
163 else if (negotiated & 0x0080) dev->if_port = 3; in t21142_lnk_change()
164 else if (negotiated & 0x0040) dev->if_port = 4; in t21142_lnk_change()
165 else if (negotiated & 0x0020) dev->if_port = 0; in t21142_lnk_change()
179 negotiated); in t21142_lnk_change()
Dmedia.c400 unsigned int bmsr, lpa, negotiated, new_csr6; in tulip_check_duplex() local
419 negotiated = lpa & tp->advertising[0]; in tulip_check_duplex()
420 tp->full_duplex = mii_duplex(tp->full_duplex_lock, negotiated); in tulip_check_duplex()
424 if (negotiated & LPA_100) new_csr6 &= ~TxThreshold; in tulip_check_duplex()
Dwinbond-840.c701 int negotiated; in update_link() local
703 negotiated = mii_reg & np->mii_if.advertising; in update_link()
705 duplex = (negotiated & LPA_100FULL) || ((negotiated & 0x02C0) == LPA_10FULL); in update_link()
706 fasteth = negotiated & 0x380; in update_link()
/drivers/net/ethernet/sgi/
Dmeth.c179 unsigned long negotiated = mii_advertising & mii_partner; in meth_check_link() local
185 speed = (negotiated & 0x0380) ? METH_100MBIT : 0; in meth_check_link()
186 duplex = ((negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040) ? in meth_check_link()
/drivers/net/ethernet/dlink/
Dsundance.c918 int negotiated = mii_lpa & np->mii_if.advertising; in check_duplex() local
930 duplex = (negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040; in check_duplex()
936 duplex ? "full" : "half", np->phys[0], negotiated); in check_duplex()
/drivers/net/ethernet/smsc/
Depic100.c833 int negotiated = mii_lpa & ep->mii.advertising; in check_media() local
834 int duplex = (negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040; in check_media()
/drivers/net/ethernet/packetengines/
Dyellowfin.c666 int negotiated = lpa & yp->advertising; in yellowfin_timer() local
671 yp->full_duplex = mii_duplex(yp->duplex_lock, negotiated); in yellowfin_timer()