Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/phy/
H A Dsfp.c1511 const __be16 los_inverted = cpu_to_be16(SFP_OPTIONS_LOS_INVERTED); in sfp_sm_link_check_los() local
1513 __be16 los_options = sfp->id.ext.options & (los_inverted | los_normal); in sfp_sm_link_check_los()
1520 if (los_options == los_inverted) in sfp_sm_link_check_los()
1533 const __be16 los_inverted = cpu_to_be16(SFP_OPTIONS_LOS_INVERTED); in sfp_los_event_active() local
1535 __be16 los_options = sfp->id.ext.options & (los_inverted | los_normal); in sfp_los_event_active()
1537 return (los_options == los_inverted && event == SFP_E_LOS_LOW) || in sfp_los_event_active()
1543 const __be16 los_inverted = cpu_to_be16(SFP_OPTIONS_LOS_INVERTED); in sfp_los_event_inactive() local
1545 __be16 los_options = sfp->id.ext.options & (los_inverted | los_normal); in sfp_los_event_inactive()
1547 return (los_options == los_inverted && event == SFP_E_LOS_HIGH) || in sfp_los_event_inactive()
/kernel/linux/linux-6.6/drivers/net/phy/
H A Dsfp.c1811 const __be16 los_inverted = cpu_to_be16(SFP_OPTIONS_LOS_INVERTED); in sfp_sm_link_check_los() local
1813 __be16 los_options = sfp->id.ext.options & (los_inverted | los_normal); in sfp_sm_link_check_los()
1820 if (los_options == los_inverted) in sfp_sm_link_check_los()
1833 const __be16 los_inverted = cpu_to_be16(SFP_OPTIONS_LOS_INVERTED); in sfp_los_event_active() local
1835 __be16 los_options = sfp->id.ext.options & (los_inverted | los_normal); in sfp_los_event_active()
1837 return (los_options == los_inverted && event == SFP_E_LOS_LOW) || in sfp_los_event_active()
1843 const __be16 los_inverted = cpu_to_be16(SFP_OPTIONS_LOS_INVERTED); in sfp_los_event_inactive() local
1845 __be16 los_options = sfp->id.ext.options & (los_inverted | los_normal); in sfp_los_event_inactive()
1847 return (los_options == los_inverted && event == SFP_E_LOS_HIGH) || in sfp_los_event_inactive()

Completed in 7 milliseconds