Searched refs:negotiated (Results 1 – 8 of 8) sorted by relevance
204 int negotiated = ((csr12 >> 16) & 0x01E0) & tp->sym_advertise; in pnic2_lnk_change() local208 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()
157 int negotiated = tp->sym_advertise & (csr12 >> 16); in t21142_lnk_change() local162 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()
400 unsigned int bmsr, lpa, negotiated, new_csr6; in tulip_check_duplex() local419 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()
701 int negotiated; in update_link() local703 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()
179 unsigned long negotiated = mii_advertising & mii_partner; in meth_check_link() local185 speed = (negotiated & 0x0380) ? METH_100MBIT : 0; in meth_check_link()186 duplex = ((negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040) ? in meth_check_link()
918 int negotiated = mii_lpa & np->mii_if.advertising; in check_duplex() local930 duplex = (negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040; in check_duplex()936 duplex ? "full" : "half", np->phys[0], negotiated); in check_duplex()
833 int negotiated = mii_lpa & ep->mii.advertising; in check_media() local834 int duplex = (negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040; in check_media()
666 int negotiated = lpa & yp->advertising; in yellowfin_timer() local671 yp->full_duplex = mii_duplex(yp->duplex_lock, negotiated); in yellowfin_timer()