Home
last modified time | relevance | path

Searched refs:los_inverted (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.15/drivers/net/phy/
Dsfp.c1556 const __be16 los_inverted = cpu_to_be16(SFP_OPTIONS_LOS_INVERTED); in sfp_sm_link_check_los() local
1558 __be16 los_options = sfp->id.ext.options & (los_inverted | los_normal); in sfp_sm_link_check_los()
1565 if (los_options == los_inverted) in sfp_sm_link_check_los()
1578 const __be16 los_inverted = cpu_to_be16(SFP_OPTIONS_LOS_INVERTED); in sfp_los_event_active() local
1580 __be16 los_options = sfp->id.ext.options & (los_inverted | los_normal); in sfp_los_event_active()
1582 return (los_options == los_inverted && event == SFP_E_LOS_LOW) || in sfp_los_event_active()
1588 const __be16 los_inverted = cpu_to_be16(SFP_OPTIONS_LOS_INVERTED); in sfp_los_event_inactive() local
1590 __be16 los_options = sfp->id.ext.options & (los_inverted | los_normal); in sfp_los_event_inactive()
1592 return (los_options == los_inverted && event == SFP_E_LOS_HIGH) || in sfp_los_event_inactive()