Lines Matching defs:mode
110 .mode = UCC_FAST_PROTOCOL_MODE_ETHERNET,
445 /* Ethernet frames are defined in Little Endian mode,
447 /* the address to the hash (Big Endian mode), we reverse the bytes.*/
1346 /* Disable autonegotiation in tbi mode, because by default it
1347 comes up in autonegotiation mode. */
1355 pr_warn("TBI mode requires that the device tree specify a tbi-handle\n");
1473 static int ugeth_enable(struct ucc_geth_private *ugeth, enum comm_dir mode)
1492 if ((mode & COMM_DIR_TX) && (!enabled_tx) && uccf->stopped_tx)
1494 if ((mode & COMM_DIR_RX) && (!enabled_rx) && uccf->stopped_rx)
1497 ucc_fast_enable(uccf, mode); /* OK to do even if not disabled */
1503 static int ugeth_disable(struct ucc_geth_private *ugeth, enum comm_dir mode)
1517 if ((mode & COMM_DIR_TX) && uccf->enabled_tx && !uccf->stopped_tx)
1521 if ((mode & COMM_DIR_RX) && uccf->enabled_rx && !uccf->stopped_rx)
1524 ucc_fast_disable(ugeth->uccf, mode); /* OK to do even if not enabled */
1572 /* Now we make sure that we can be in full duplex mode.
1573 * If not, we operate in half-duplex mode. */
1596 /* if reduced mode, re-set UPSMR.R10M */
1667 dev_warn(&dev->dev, "SGMII mode requires that the device "
1689 /* Single clk mode, mii mode off(for serdes communication) */
2095 pr_err("If cam mode is chosen, must supply cam ptr\n");
2103 pr_err("Number of station addresses greater than 1 not allowed in extended parsing mode\n");