Lines Matching refs:SFP_F_TX_FAULT
33 SFP_F_TX_FAULT = BIT(GPIO_TX_FAULT), 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()
730 state |= SFP_F_TX_FAULT; in sfp_soft_get_state()
779 mask |= SFP_F_TX_FAULT; 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()
1675 seq_printf(s, "tx_fault: %d\n", !!(sfp->state & SFP_F_TX_FAULT)); in sfp_debug_state_show()
2301 mask |= SFP_F_TX_FAULT; in sfp_sm_mod_probe()
2555 if (sfp->state & SFP_F_TX_FAULT) { in sfp_sm_main()
2577 if (event == SFP_E_TIMEOUT && sfp->state & SFP_F_TX_FAULT) { in sfp_sm_main()
2657 if (event == SFP_E_TIMEOUT && sfp->state & SFP_F_TX_FAULT) { in sfp_sm_main()
2839 changed &= SFP_F_PRESENT | SFP_F_LOS | SFP_F_TX_FAULT; in sfp_check_state()
2855 if (changed & SFP_F_TX_FAULT) in sfp_check_state()
2856 __sfp_sm_event(sfp, state & SFP_F_TX_FAULT ? in sfp_check_state()
2883 if (sfp->state_soft_mask & (SFP_F_LOS | SFP_F_TX_FAULT) || in sfp_poll()