Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/phy/
H A Dsfp.c1814 const __be16 los_inverted = cpu_to_be16(SFP_OPTIONS_LOS_INVERTED); in sfp_sm_link_check_los() local
1816 __be16 los_options = sfp->id.ext.options & (los_inverted | los_normal); in sfp_sm_link_check_los()
1823 if (los_options == los_inverted) in sfp_sm_link_check_los()
1836 const __be16 los_inverted = cpu_to_be16(SFP_OPTIONS_LOS_INVERTED); in sfp_los_event_active() local
1838 __be16 los_options = sfp->id.ext.options & (los_inverted | los_normal); in sfp_los_event_active()
1840 return (los_options == los_inverted && event == SFP_E_LOS_LOW) || in sfp_los_event_active()
1846 const __be16 los_inverted = cpu_to_be16(SFP_OPTIONS_LOS_INVERTED); in sfp_los_event_inactive() local
1848 __be16 los_options = sfp->id.ext.options & (los_inverted | los_normal); in sfp_los_event_inactive()
1850 return (los_options == los_inverted && event == SFP_E_LOS_HIGH) || in sfp_los_event_inactive()