Lines Matching defs:mode
104 "mode=%s/%s/%s link=%u an_enabled=%u an_complete=%u\n",
111 static int lynx_pcs_config_sgmii(struct mdio_device *pcs, unsigned int mode,
120 if (mode == MLO_AN_INBAND) {
136 return phylink_mii_c22_pcs_config(pcs, mode, PHY_INTERFACE_MODE_SGMII,
140 static int lynx_pcs_config_usxgmii(struct mdio_device *pcs, unsigned int mode,
146 if (!phylink_autoneg_inband(mode)) {
158 static int lynx_pcs_config(struct phylink_pcs *pcs, unsigned int mode,
168 return lynx_pcs_config_sgmii(lynx->mdio, mode, advertising);
170 if (phylink_autoneg_inband(mode)) {
177 return lynx_pcs_config_usxgmii(lynx->mdio, mode, advertising);
188 static void lynx_pcs_link_up_sgmii(struct mdio_device *pcs, unsigned int mode,
196 * when not operating on in-band mode
198 if (mode == MLO_AN_INBAND)
232 * The hardware reference manual wants to call this mode SGMII, but it isn't
245 unsigned int mode,
252 if (mode == MLO_AN_INBAND) {
266 static void lynx_pcs_link_up(struct phylink_pcs *pcs, unsigned int mode,
275 lynx_pcs_link_up_sgmii(lynx->mdio, mode, speed, duplex);
278 lynx_pcs_link_up_2500basex(lynx->mdio, mode, speed, duplex);