Lines Matching +full:fiber +full:- +full:mode

1 // SPDX-License-Identifier: GPL-2.0+
44 /* ------------------------------------------------------------------------- */
83 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) { in lxt970_config_intr()
147 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) { in lxt971_config_intr()
206 } while (status >= 0 && retry-- && status == control); in lxt973a2_update_link()
212 phydev->link = 0; in lxt973a2_update_link()
214 phydev->link = 1; in lxt973a2_update_link()
230 if (AUTONEG_ENABLE == phydev->autoneg) { in lxt973a2_read_status()
247 } while (lpa == adv && retry--); in lxt973a2_read_status()
249 mii_lpa_to_linkmode_lpa_t(phydev->lp_advertising, lpa); in lxt973a2_read_status()
253 phydev->speed = SPEED_10; in lxt973a2_read_status()
254 phydev->duplex = DUPLEX_HALF; in lxt973a2_read_status()
255 phydev->pause = phydev->asym_pause = 0; in lxt973a2_read_status()
258 phydev->speed = SPEED_100; in lxt973a2_read_status()
261 phydev->duplex = DUPLEX_FULL; in lxt973a2_read_status()
264 phydev->duplex = DUPLEX_FULL; in lxt973a2_read_status()
273 phydev->pause = phydev->asym_pause = 0; in lxt973a2_read_status()
274 linkmode_zero(phydev->lp_advertising); in lxt973a2_read_status()
286 * If fiber is selected, then the only correct setting in lxt973_probe()
293 /* Remember that the port is in fiber mode. */ in lxt973_probe()
294 phydev->priv = lxt973_probe; in lxt973_probe()
295 phydev->port = PORT_FIBRE; in lxt973_probe()
297 phydev->priv = NULL; in lxt973_probe()
304 /* Do nothing if port is in fiber mode. */ in lxt973_config_aneg()
305 return phydev->priv ? 0 : genphy_config_aneg(phydev); in lxt973_config_aneg()
328 .name = "LXT973-A2",