negotiated 157 drivers/net/ethernet/dec/tulip/21142.c int negotiated = tp->sym_advertise & (csr12 >> 16); negotiated 162 drivers/net/ethernet/dec/tulip/21142.c else if (negotiated & 0x0100) dev->if_port = 5; negotiated 163 drivers/net/ethernet/dec/tulip/21142.c else if (negotiated & 0x0080) dev->if_port = 3; negotiated 164 drivers/net/ethernet/dec/tulip/21142.c else if (negotiated & 0x0040) dev->if_port = 4; negotiated 165 drivers/net/ethernet/dec/tulip/21142.c else if (negotiated & 0x0020) dev->if_port = 0; negotiated 179 drivers/net/ethernet/dec/tulip/21142.c negotiated); negotiated 405 drivers/net/ethernet/dec/tulip/media.c unsigned int bmsr, lpa, negotiated, new_csr6; negotiated 424 drivers/net/ethernet/dec/tulip/media.c negotiated = lpa & tp->advertising[0]; negotiated 425 drivers/net/ethernet/dec/tulip/media.c tp->full_duplex = mii_duplex(tp->full_duplex_lock, negotiated); negotiated 429 drivers/net/ethernet/dec/tulip/media.c if (negotiated & LPA_100) new_csr6 &= ~TxThreshold; negotiated 204 drivers/net/ethernet/dec/tulip/pnic2.c int negotiated = ((csr12 >> 16) & 0x01E0) & tp->sym_advertise; negotiated 208 drivers/net/ethernet/dec/tulip/pnic2.c if (negotiated & 0x0100) dev->if_port = 5; negotiated 209 drivers/net/ethernet/dec/tulip/pnic2.c else if (negotiated & 0x0080) dev->if_port = 3; negotiated 210 drivers/net/ethernet/dec/tulip/pnic2.c else if (negotiated & 0x0040) dev->if_port = 4; negotiated 211 drivers/net/ethernet/dec/tulip/pnic2.c else if (negotiated & 0x0020) dev->if_port = 0; negotiated 234 drivers/net/ethernet/dec/tulip/pnic2.c negotiated); negotiated 712 drivers/net/ethernet/dec/tulip/winbond-840.c int negotiated; negotiated 714 drivers/net/ethernet/dec/tulip/winbond-840.c negotiated = mii_reg & np->mii_if.advertising; negotiated 716 drivers/net/ethernet/dec/tulip/winbond-840.c duplex = (negotiated & LPA_100FULL) || ((negotiated & 0x02C0) == LPA_10FULL); negotiated 717 drivers/net/ethernet/dec/tulip/winbond-840.c fasteth = negotiated & 0x380; negotiated 931 drivers/net/ethernet/dlink/sundance.c int negotiated = mii_lpa & np->mii_if.advertising; negotiated 943 drivers/net/ethernet/dlink/sundance.c duplex = (negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040; negotiated 949 drivers/net/ethernet/dlink/sundance.c duplex ? "full" : "half", np->phys[0], negotiated); negotiated 661 drivers/net/ethernet/packetengines/yellowfin.c int negotiated = lpa & yp->advertising; negotiated 666 drivers/net/ethernet/packetengines/yellowfin.c yp->full_duplex = mii_duplex(yp->duplex_lock, negotiated); negotiated 179 drivers/net/ethernet/sgi/meth.c unsigned long negotiated = mii_advertising & mii_partner; negotiated 185 drivers/net/ethernet/sgi/meth.c speed = (negotiated & 0x0380) ? METH_100MBIT : 0; negotiated 186 drivers/net/ethernet/sgi/meth.c duplex = ((negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040) ? negotiated 828 drivers/net/ethernet/smsc/epic100.c int negotiated = mii_lpa & ep->mii.advertising; negotiated 829 drivers/net/ethernet/smsc/epic100.c int duplex = (negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040; negotiated 70 include/linux/mii.h static inline unsigned int mii_nway_result (unsigned int negotiated) negotiated 74 include/linux/mii.h if (negotiated & LPA_100FULL) negotiated 76 include/linux/mii.h else if (negotiated & LPA_100BASE4) negotiated 78 include/linux/mii.h else if (negotiated & LPA_100HALF) negotiated 80 include/linux/mii.h else if (negotiated & LPA_10FULL) negotiated 98 include/linux/mii.h unsigned int negotiated) negotiated 102 include/linux/mii.h if (mii_nway_result(negotiated) & LPA_DUPLEX)