Searched refs:los_inverted (Results 1 – 1 of 1) sorted by relevance
1662 const __be16 los_inverted = cpu_to_be16(SFP_OPTIONS_LOS_INVERTED); in sfp_sm_link_check_los() local1664 __be16 los_options = sfp->id.ext.options & (los_inverted | los_normal); in sfp_sm_link_check_los()1671 if (los_options == los_inverted) in sfp_sm_link_check_los()1684 const __be16 los_inverted = cpu_to_be16(SFP_OPTIONS_LOS_INVERTED); in sfp_los_event_active() local1686 __be16 los_options = sfp->id.ext.options & (los_inverted | los_normal); in sfp_los_event_active()1688 return (los_options == los_inverted && event == SFP_E_LOS_LOW) || in sfp_los_event_active()1694 const __be16 los_inverted = cpu_to_be16(SFP_OPTIONS_LOS_INVERTED); in sfp_los_event_inactive() local1696 __be16 los_options = sfp->id.ext.options & (los_inverted | los_normal); in sfp_los_event_inactive()1698 return (los_options == los_inverted && event == SFP_E_LOS_HIGH) || in sfp_los_event_inactive()