Lines Matching defs:duplex
79 int duplex;
408 int duplex;
547 (lp->speed != phydev->speed || lp->duplex != phydev->duplex)) {
555 if (phydev->duplex == DUPLEX_FULL)
568 * WORKAROUND: enable LostCrS only if half duplex
572 if (phydev->duplex == DUPLEX_HALF &&
578 lp->duplex = phydev->duplex;
589 lp->duplex = -1;
639 if (options.duplex == 1) {
642 } else if (options.duplex == 2) {
651 lp->duplex = -1;
774 "speed:%d duplex:%d\n",
775 options.speed, options.duplex);
1678 /* WORKAROUND: ignore LostCrS in full duplex operation */
1679 if (!lp->link || lp->duplex == DUPLEX_FULL)
2103 /* WORKAROUND: ignore LostCrS in full duplex operation */
2104 if (!dev->phydev || !lp->link || lp->duplex == DUPLEX_FULL)
2159 module_param_named(duplex, options.duplex, int, 0);
2160 MODULE_PARM_DESC(duplex, "0:auto, 1:half, 2:full");