Lines Matching refs:duplex
803 if (phydev->link && phydev->duplex != priv->old_duplex) { in bcm_enet_adjust_phy_link()
805 (phydev->duplex == DUPLEX_FULL) ? 1 : 0); in bcm_enet_adjust_phy_link()
807 priv->old_duplex = phydev->duplex; in bcm_enet_adjust_phy_link()
838 DUPLEX_FULL == phydev->duplex ? "full" : "half", in bcm_enet_adjust_phy_link()
1467 cmd->duplex = (priv->force_duplex_full) ? in bcm_enet_get_settings()
1498 priv->force_duplex_full = (cmd->duplex == DUPLEX_FULL) ? 1 : 0; in bcm_enet_set_settings()
2051 int val, j, up, advertise, lpa, speed, duplex, media; in swphy_poll_timer() local
2096 duplex = (media & ADVERTISE_FULL) ? 1 : 0; in swphy_poll_timer()
2113 duplex = (lpa & LPA_1000FULL); in swphy_poll_timer()
2119 port->name, speed, duplex ? "full" : "half"); in swphy_poll_timer()
2128 if (duplex) in swphy_poll_timer()