Lines Matching refs:SFP_F_LOS
32 SFP_F_LOS = BIT(GPIO_LOS), enumerator
307 .gpios = SFP_F_LOS | SFP_F_TX_FAULT | SFP_F_TX_DISABLE,
331 .gpios = SFP_F_PRESENT | SFP_F_LOS | SFP_F_TX_FAULT |
380 sfp->state_hw_mask &= ~(SFP_F_TX_FAULT | SFP_F_LOS); in sfp_fixup_halny_gsfp()
728 state |= SFP_F_LOS; in sfp_soft_get_state()
781 mask |= SFP_F_LOS; in sfp_soft_start_poll()
789 if (sfp->state_soft_mask & (SFP_F_LOS | SFP_F_TX_FAULT) && in sfp_soft_start_poll()
807 unsigned int soft = sfp->state_soft_mask & (SFP_F_LOS | SFP_F_TX_FAULT); in sfp_get_state()
1674 seq_printf(s, "rx_los: %d\n", !!(sfp->state & SFP_F_LOS)); in sfp_debug_state_show()
1813 los = !(sfp->state & SFP_F_LOS); in sfp_sm_link_check_los()
1815 los = !!(sfp->state & SFP_F_LOS); in sfp_sm_link_check_los()
2303 mask |= SFP_F_LOS; in sfp_sm_mod_probe()
2837 changed &= SFP_F_PRESENT | SFP_F_LOS; in sfp_check_state()
2839 changed &= SFP_F_PRESENT | SFP_F_LOS | SFP_F_TX_FAULT; in sfp_check_state()
2859 if (changed & SFP_F_LOS) in sfp_check_state()
2860 __sfp_sm_event(sfp, state & SFP_F_LOS ? in sfp_check_state()
2883 if (sfp->state_soft_mask & (SFP_F_LOS | SFP_F_TX_FAULT) || in sfp_poll()