Searched refs:negotiated (Results 1 - 9 of 9) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dmii.h189 * @negotiated: value of MII ANAR and'd with ANLPAR
201 static inline unsigned int mii_nway_result (unsigned int negotiated) argument
205 if (negotiated & LPA_100FULL)
207 else if (negotiated & LPA_100BASE4)
209 else if (negotiated & LPA_100HALF)
211 else if (negotiated & LPA_10FULL)
222 * @negotiated: value of MII ANAR and'd with ANLPAR
229 unsigned int negotiated)
233 if (mii_nway_result(negotiated) & LPA_DUPLEX)
228 mii_duplex(unsigned int duplex_lock, unsigned int negotiated) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/tulip/
H A Dpnic2.c189 /* If NWay finished and we have a negotiated partner capability.
209 int negotiated = ((csr12 >> 16) & 0x01E0) & tp->sym_advertise; local
213 if (negotiated & 0x0100) dev->if_port = 5;
214 else if (negotiated & 0x0080) dev->if_port = 3;
215 else if (negotiated & 0x0040) dev->if_port = 4;
216 else if (negotiated & 0x0020) dev->if_port = 0;
228 /* now record the duplex that was negotiated */
238 tp->sym_advertise, tp->lpar, negotiated);
H A D21142.c50 /* Don't screw up a negotiated session! */
142 /* If NWay finished and we have a negotiated partner capability. */
145 int negotiated = tp->sym_advertise & (csr12 >> 16); local
148 if (negotiated & 0x0100) dev->if_port = 5;
149 else if (negotiated & 0x0080) dev->if_port = 3;
150 else if (negotiated & 0x0040) dev->if_port = 4;
151 else if (negotiated & 0x0020) dev->if_port = 0;
164 tp->lpar, negotiated);
H A Dmedia.c408 Check the MII negotiated duplex and change the CSR6 setting if
416 unsigned int bmsr, lpa, negotiated, new_csr6; local
434 negotiated = lpa & tp->advertising[0];
435 tp->full_duplex = mii_duplex(tp->full_duplex_lock, negotiated);
439 if (negotiated & LPA_100) new_csr6 &= ~TxThreshold;
H A Dwinbond-840.c713 int negotiated; local
715 negotiated = mii_reg & np->mii_if.advertising;
717 duplex = (negotiated & LPA_100FULL) || ((negotiated & 0x02C0) == LPA_10FULL);
718 fasteth = negotiated & 0x380;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dmeth.c174 unsigned long negotiated = mii_advertising & mii_partner; local
180 speed = (negotiated & 0x0380) ? METH_100MBIT : 0;
181 duplex = ((negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040) ?
H A Dsundance.c865 int negotiated = mii_lpa & np->mii_if.advertising; local
877 duplex = (negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040;
882 "negotiated capability %4.4x.\n", dev->name,
883 duplex ? "full" : "half", np->phys[0], negotiated);
H A Depic100.c837 int negotiated = mii_lpa & ep->mii.advertising; local
838 int duplex = (negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040;
H A Dyellowfin.c667 int negotiated = lpa & yp->advertising; local
673 yp->full_duplex = mii_duplex(yp->duplex_lock, negotiated);

Completed in 93 milliseconds