Lines Matching refs:duplex
79 int duplex; member
409 int duplex; member
548 (lp->speed != phydev->speed || lp->duplex != phydev->duplex)) { in tc_handle_link_change()
556 if (phydev->duplex == DUPLEX_FULL) in tc_handle_link_change()
573 if (phydev->duplex == DUPLEX_HALF && in tc_handle_link_change()
579 lp->duplex = phydev->duplex; in tc_handle_link_change()
590 lp->duplex = -1; in tc_handle_link_change()
653 if (options.duplex == 1) in tc_mii_probe()
655 else if (options.duplex == 2) in tc_mii_probe()
662 lp->duplex = -1; in tc_mii_probe()
799 options.speed, options.duplex); in tc35815_init_one()
1697 if (!lp->link || lp->duplex == DUPLEX_FULL) in tc35815_check_tx_stat()
2147 if (!lp->phy_dev || !lp->link || lp->duplex == DUPLEX_FULL) in tc35815_chip_init()
2203 module_param_named(duplex, options.duplex, int, 0);
2204 MODULE_PARM_DESC(duplex, "0:auto, 1:half, 2:full");