Lines Matching refs:state
527 BUG_ON(efx->state == STATE_DISABLED);
544 /* Link state detection is normally event-driven; we have
563 * times with the NIC in almost any state, but interrupts should be
702 /* Tears down the entire software state and most of the hardware state
804 * fail, in which case the card will be left in an unusable state.
860 efx->state = STATE_DISABLED;
893 /* We checked the state in efx_schedule_reset() but it may
897 if (efx_net_active(efx->state))
907 if (efx_recovering(efx->state)) {
937 smp_mb(); /* ensure we change reset_pending before checking state */
942 if (!efx_net_active(READ_ONCE(efx->state)))
993 efx->state = STATE_UNINIT;
1200 pci_channel_state_t state)
1205 if (state == pci_channel_io_perm_failure)
1210 if (efx->state != STATE_DISABLED) {
1211 efx->state = efx_recover(efx->state);
1216 if (efx_net_active(efx->state)) {
1259 if (efx->state == STATE_DISABLED)
1267 efx->state = efx_recovered(efx->state);