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()
1468 cmd->duplex = (priv->force_duplex_full) ? in bcm_enet_get_settings()
1499 priv->force_duplex_full = (cmd->duplex == DUPLEX_FULL) ? 1 : 0; in bcm_enet_set_settings()
2052 int val, j, up, advertise, lpa, lpa2, speed, duplex, media; in swphy_poll_timer() local
2100 duplex = (media & ADVERTISE_FULL) ? 1 : 0; in swphy_poll_timer()
2102 duplex = 1; in swphy_poll_timer()
2115 port->name, speed, duplex ? "full" : "half"); in swphy_poll_timer()
2124 if (duplex) in swphy_poll_timer()