Lines Matching refs:duplex
592 state->duplex = DUPLEX_FULL; in xpcs_resolve_pma()
998 state->duplex = DUPLEX_UNKNOWN; in xpcs_get_state_c37_sgmii()
1023 state->duplex = DUPLEX_FULL; in xpcs_get_state_c37_sgmii()
1025 state->duplex = DUPLEX_HALF; in xpcs_get_state_c37_sgmii()
1027 int speed, duplex; in xpcs_get_state_c37_sgmii() local
1043 duplex = xpcs_read(xpcs, MDIO_MMD_VEND2, MII_ADVERTISE); in xpcs_get_state_c37_sgmii()
1044 if (duplex < 0) in xpcs_get_state_c37_sgmii()
1045 return duplex; in xpcs_get_state_c37_sgmii()
1047 if (duplex & DW_FULL_DUPLEX) in xpcs_get_state_c37_sgmii()
1048 state->duplex = DUPLEX_FULL; in xpcs_get_state_c37_sgmii()
1049 else if (duplex & DW_HALF_DUPLEX) in xpcs_get_state_c37_sgmii()
1050 state->duplex = DUPLEX_HALF; in xpcs_get_state_c37_sgmii()
1136 int speed, int duplex) in xpcs_link_up_sgmii() argument
1143 val = mii_bmcr_encode_fixed(speed, duplex); in xpcs_link_up_sgmii()
1150 int speed, int duplex) in xpcs_link_up_1000basex() argument
1168 if (duplex == DUPLEX_FULL) in xpcs_link_up_1000basex()
1179 phy_interface_t interface, int speed, int duplex) in xpcs_link_up() argument
1186 return xpcs_link_up_sgmii(xpcs, neg_mode, speed, duplex); in xpcs_link_up()
1188 return xpcs_link_up_1000basex(xpcs, neg_mode, speed, duplex); in xpcs_link_up()