Lines Matching defs:method
708 void efx_reset_down(struct efx_nic *efx, enum reset_type method)
712 if (method == RESET_TYPE_MCDI_TIMEOUT)
742 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok)
748 if (method == RESET_TYPE_MCDI_TIMEOUT)
761 if (efx->port_initialized && method != RESET_TYPE_INVISIBLE &&
762 method != RESET_TYPE_DATAPATH) {
808 /* Reset the NIC using the specified method. Note that the reset may
813 int efx_reset(struct efx_nic *efx, enum reset_type method)
819 RESET_TYPE(method));
826 efx_reset_down(efx, method);
828 rc = efx->type->reset(efx, method);
837 if (method < RESET_TYPE_MAX_METHOD)
838 efx->reset_pending &= -(1 << (method + 1));
840 __clear_bit(method, &efx->reset_pending);
852 method == RESET_TYPE_DISABLE ||
853 method == RESET_TYPE_RECOVER_OR_DISABLE;
855 rc2 = efx_reset_up(efx, method, !disabled);
880 enum reset_type method;
883 method = fls(pending) - 1;
885 if (method == RESET_TYPE_MC_BIST)
888 if ((method == RESET_TYPE_RECOVER_OR_DISABLE ||
889 method == RESET_TYPE_RECOVER_OR_ALL) &&
903 (void)efx_reset(efx, method);
910 enum reset_type method;
929 method = type;
931 RESET_TYPE(method));
934 method = efx->type->map_reset_reason(type);
937 RESET_TYPE(method), RESET_TYPE(type));
941 set_bit(method, &efx->reset_pending);