Lines Matching refs:SFP_F_TX_DISABLE
34 SFP_F_TX_DISABLE = BIT(GPIO_TX_DISABLE), enumerator
38 SFP_F_OUTPUTS = SFP_F_TX_DISABLE | SFP_F_RS0 | SFP_F_RS1,
307 .gpios = SFP_F_LOS | SFP_F_TX_FAULT | SFP_F_TX_DISABLE,
332 SFP_F_TX_DISABLE | SFP_F_RS0 | SFP_F_RS1,
560 if (drive & SFP_F_TX_DISABLE) in sfp_gpio_set_state()
562 state & SFP_F_TX_DISABLE); in sfp_gpio_set_state()
748 if (soft & SFP_F_TX_DISABLE) in sfp_soft_set_state()
750 if (state & SFP_F_TX_DISABLE) in sfp_soft_set_state()
777 mask |= SFP_F_TX_DISABLE; in sfp_soft_start_poll()
1641 sfp->state & SFP_F_TX_DISABLE ? 1 : 0, 1); in sfp_module_tx_disable()
1642 sfp_mod_state(sfp, SFP_F_TX_DISABLE, SFP_F_TX_DISABLE); in sfp_module_tx_disable()
1648 sfp->state & SFP_F_TX_DISABLE ? 1 : 0, 0); in sfp_module_tx_enable()
1649 sfp_mod_state(sfp, SFP_F_TX_DISABLE, 0); in sfp_module_tx_enable()
1676 seq_printf(s, "tx_disable: %d\n", !!(sfp->state & SFP_F_TX_DISABLE)); in sfp_debug_state_show()
1711 if (!(state & SFP_F_TX_DISABLE)) { in sfp_module_tx_fault_reset()
1712 sfp_set_state(sfp, state | SFP_F_TX_DISABLE); in sfp_module_tx_fault_reset()
2299 mask |= SFP_F_TX_DISABLE; in sfp_sm_mod_probe()
2349 sfp->state_hw_drive = SFP_F_TX_DISABLE; in sfp_sm_mod_remove()
2988 sfp->state_hw_drive = SFP_F_TX_DISABLE; in sfp_probe()
3012 sfp->state = sfp_get_state(sfp) | SFP_F_TX_DISABLE; in sfp_probe()