Lines Matching refs:SFP_F_PRESENT
31 SFP_F_PRESENT = BIT(GPIO_MODDEF0), enumerator
331 .gpios = SFP_F_PRESENT | SFP_F_LOS | SFP_F_TX_FAULT |
545 return sfp_gpio_get_state(sfp) | SFP_F_PRESENT; in sff_gpio_get_state()
552 if (state & SFP_F_PRESENT) in sfp_gpio_set_state()
811 if (state & SFP_F_PRESENT && soft) in sfp_get_state()
827 if (state & SFP_F_PRESENT && soft) in sfp_set_state()
1673 seq_printf(s, "moddef0: %d\n", !!(sfp->state & SFP_F_PRESENT)); in sfp_debug_state_show()
2297 mask = SFP_F_PRESENT; in sfp_sm_mod_probe()
2750 if (!(sfp->state & SFP_F_PRESENT)) in sfp_module_eeprom()
2785 if (!(sfp->state & SFP_F_PRESENT)) in sfp_module_eeprom_by_page()
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()
2851 if (changed & SFP_F_PRESENT) in sfp_check_state()
2852 __sfp_sm_event(sfp, state & SFP_F_PRESENT ? in sfp_check_state()
2987 sfp->state_hw_mask = SFP_F_PRESENT; in sfp_probe()
3019 if (sfp->state & SFP_F_PRESENT) { in sfp_probe()