Lines Matching refs:method
705 void efx_reset_down(struct efx_nic *efx, enum reset_type method)
709 if (method == RESET_TYPE_MCDI_TIMEOUT)
739 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok)
745 if (method == RESET_TYPE_MCDI_TIMEOUT)
758 if (efx->port_initialized && method != RESET_TYPE_INVISIBLE &&
759 method != RESET_TYPE_DATAPATH) {
803 /* Reset the NIC using the specified method. Note that the reset may
808 int efx_reset(struct efx_nic *efx, enum reset_type method)
814 RESET_TYPE(method));
821 efx_reset_down(efx, method);
823 rc = efx->type->reset(efx, method);
832 if (method < RESET_TYPE_MAX_METHOD)
833 efx->reset_pending &= -(1 << (method + 1));
835 __clear_bit(method, &efx->reset_pending);
847 method == RESET_TYPE_DISABLE ||
848 method == RESET_TYPE_RECOVER_OR_DISABLE;
850 rc2 = efx_reset_up(efx, method, !disabled);
875 enum reset_type method;
878 method = fls(pending) - 1;
880 if (method == RESET_TYPE_MC_BIST)
883 if ((method == RESET_TYPE_RECOVER_OR_DISABLE ||
884 method == RESET_TYPE_RECOVER_OR_ALL) &&
898 (void)efx_reset(efx, method);
905 enum reset_type method;
924 method = type;
926 RESET_TYPE(method));
929 method = efx->type->map_reset_reason(type);
932 RESET_TYPE(method), RESET_TYPE(type));
936 set_bit(method, &efx->reset_pending);