Lines Matching refs:neg_mode
684 unsigned int neg_mode) in xpcs_config_aneg_c37_sgmii() argument
743 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) in xpcs_config_aneg_c37_sgmii()
755 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) in xpcs_config_aneg_c37_sgmii()
763 unsigned int neg_mode, in xpcs_config_aneg_c37_1000basex() argument
819 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in xpcs_config_aneg_c37_1000basex()
852 const unsigned long *advertising, unsigned int neg_mode) in xpcs_do_config() argument
871 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in xpcs_do_config()
878 ret = xpcs_config_aneg_c37_sgmii(xpcs, neg_mode); in xpcs_do_config()
883 ret = xpcs_config_aneg_c37_1000basex(xpcs, neg_mode, in xpcs_do_config()
907 static int xpcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in xpcs_config() argument
914 return xpcs_do_config(xpcs, interface, advertising, neg_mode); in xpcs_config()
1135 static void xpcs_link_up_sgmii(struct dw_xpcs *xpcs, unsigned int neg_mode, in xpcs_link_up_sgmii() argument
1140 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) in xpcs_link_up_sgmii()
1149 static void xpcs_link_up_1000basex(struct dw_xpcs *xpcs, unsigned int neg_mode, in xpcs_link_up_1000basex() argument
1154 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) in xpcs_link_up_1000basex()
1178 void xpcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, 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()
1376 xpcs->pcs.neg_mode = true; in xpcs_create()