Home
last modified time | relevance | path

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

/linux/drivers/net/phy/
H A Dsfp.c2120 const __be16 los_inverted = cpu_to_be16(SFP_OPTIONS_LOS_INVERTED); in sfp_sm_link_check_los() local
2122 __be16 los_options = sfp->id.ext.options & (los_inverted | los_normal); in sfp_sm_link_check_los()
2129 if (los_options == los_inverted) in sfp_sm_link_check_los()
2142 const __be16 los_inverted = cpu_to_be16(SFP_OPTIONS_LOS_INVERTED); in sfp_los_event_active() local
2144 __be16 los_options = sfp->id.ext.options & (los_inverted | los_normal); in sfp_los_event_active()
2146 return (los_options == los_inverted && event == SFP_E_LOS_LOW) || in sfp_los_event_active()
2152 const __be16 los_inverted = cpu_to_be16(SFP_OPTIONS_LOS_INVERTED); in sfp_los_event_inactive() local
2154 __be16 los_options = sfp->id.ext.options & (los_inverted | los_normal); in sfp_los_event_inactive()
2156 return (los_options == los_inverted && event == SFP_E_LOS_HIGH) || in sfp_los_event_inactive()