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.c1934 const __be16 los_inverted = cpu_to_be16(SFP_OPTIONS_LOS_INVERTED); in sfp_sm_link_check_los() local
1936 __be16 los_options = sfp->id.ext.options & (los_inverted | los_normal); in sfp_sm_link_check_los()
1943 if (los_options == los_inverted) in sfp_sm_link_check_los()
1956 const __be16 los_inverted = cpu_to_be16(SFP_OPTIONS_LOS_INVERTED); in sfp_los_event_active() local
1958 __be16 los_options = sfp->id.ext.options & (los_inverted | los_normal); in sfp_los_event_active()
1960 return (los_options == los_inverted && event == SFP_E_LOS_LOW) || in sfp_los_event_active()
1966 const __be16 los_inverted = cpu_to_be16(SFP_OPTIONS_LOS_INVERTED); in sfp_los_event_inactive() local
1968 __be16 los_options = sfp->id.ext.options & (los_inverted | los_normal); in sfp_los_event_inactive()
1970 return (los_options == los_inverted && event == SFP_E_LOS_HIGH) || in sfp_los_event_inactive()