Lines Matching defs:duplex
152 "DP8381x: Bits 0-3: media type, bit 17: full duplex");
153 MODULE_PARM_DESC(full_duplex, "DP8381x full duplex setting(s) (1)");
587 u8 duplex; /* Duplex, half or full */
760 np->duplex = (tmp & BMCR_FULLDPLX)? DUPLEX_FULL : DUPLEX_HALF;
767 "10%s %s duplex.\n",
1167 if (np->duplex == DUPLEX_FULL)
1646 int duplex = np->duplex;
1677 duplex = np->full_duplex;
1678 if (!duplex) {
1683 duplex = 1;
1685 duplex = 1;
1689 /* if duplex is set then bit 28 must be set, too */
1690 if (duplex ^ !!(np->rx_config & RxAcceptTx)) {
1693 "%s: Setting %s-duplex based on negotiated "
1695 duplex ? "full" : "half");
1696 if (duplex) {
1725 * Start with half-duplex. check_link will update
2838 ecmd->base.duplex = np->duplex;
2887 /* if autonegotiation is on, try to return the active speed/duplex */
2897 ecmd->base.duplex = DUPLEX_FULL;
2899 ecmd->base.duplex = DUPLEX_HALF;
2936 if (ecmd->base.duplex != DUPLEX_HALF &&
2937 ecmd->base.duplex != DUPLEX_FULL)
2984 np->duplex = ecmd->base.duplex;
2985 /* user overriding the initial full duplex parm? */
2986 if (np->duplex == DUPLEX_HALF)