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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dmii.h193 * @negotiated: value of MII ANAR and'd with ANLPAR
205 static inline unsigned int mii_nway_result (unsigned int negotiated) argument
209 if (negotiated & LPA_100FULL)
211 else if (negotiated & LPA_100BASE4)
213 else if (negotiated & LPA_100HALF)
215 else if (negotiated & LPA_10FULL)
226 * @negotiated: value of MII ANAR and'd with ANLPAR
233 unsigned int negotiated)
237 if (mii_nway_result(negotiated) & LPA_DUPLEX)
232 mii_duplex(unsigned int duplex_lock, unsigned int negotiated) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/tulip/
H A Dpnic2.c188 /* If NWay finished and we have a negotiated partner capability.
208 int negotiated = ((csr12 >> 16) & 0x01E0) & tp->sym_advertise; local
212 if (negotiated & 0x0100) dev->if_port = 5;
213 else if (negotiated & 0x0080) dev->if_port = 3;
214 else if (negotiated & 0x0040) dev->if_port = 4;
215 else if (negotiated & 0x0020) dev->if_port = 0;
227 /* now record the duplex that was negotiated */
238 negotiated);
H A D21142.c57 /* Don't screw up a negotiated session! */
157 /* If NWay finished and we have a negotiated partner capability. */
160 int negotiated = tp->sym_advertise & (csr12 >> 16); local
165 else if (negotiated & 0x0100) dev->if_port = 5;
166 else if (negotiated & 0x0080) dev->if_port = 3;
167 else if (negotiated & 0x0040) dev->if_port = 4;
168 else if (negotiated & 0x0020) dev->if_port = 0;
182 negotiated);
H A Dmedia.c402 Check the MII negotiated duplex and change the CSR6 setting if
410 unsigned int bmsr, lpa, negotiated, new_csr6; local
429 negotiated = lpa & tp->advertising[0];
430 tp->full_duplex = mii_duplex(tp->full_duplex_lock, negotiated);
434 if (negotiated & LPA_100) new_csr6 &= ~TxThreshold;
H A Dwinbond-840.c718 int negotiated; local
720 negotiated = mii_reg & np->mii_if.advertising;
722 duplex = (negotiated & LPA_100FULL) || ((negotiated & 0x02C0) == LPA_10FULL);
723 fasteth = negotiated & 0x380;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/
H A Dmeth.c171 unsigned long negotiated = mii_advertising & mii_partner; local
177 speed = (negotiated & 0x0380) ? METH_100MBIT : 0;
178 duplex = ((negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040) ?
H A Dsundance.c890 int negotiated = mii_lpa & np->mii_if.advertising; local
902 duplex = (negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040;
907 "negotiated capability %4.4x.\n", dev->name,
908 duplex ? "full" : "half", np->phys[0], negotiated);
H A Depic100.c844 int negotiated = mii_lpa & ep->mii.advertising; local
845 int duplex = (negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040;
H A Dyellowfin.c669 int negotiated = lpa & yp->advertising; local
674 yp->full_duplex = mii_duplex(yp->duplex_lock, negotiated);

Completed in 118 milliseconds