Lines Matching defs:method
2083 * Note that the kernel will ignore our return code; this method
2356 void ef4_reset_down(struct ef4_nic *efx, enum reset_type method)
2364 if (efx->port_initialized && method != RESET_TYPE_INVISIBLE &&
2365 method != RESET_TYPE_DATAPATH)
2375 int ef4_reset_up(struct ef4_nic *efx, enum reset_type method, bool ok)
2391 if (efx->port_initialized && method != RESET_TYPE_INVISIBLE &&
2392 method != RESET_TYPE_DATAPATH) {
2424 /* Reset the NIC using the specified method. Note that the reset may
2429 int ef4_reset(struct ef4_nic *efx, enum reset_type method)
2435 RESET_TYPE(method));
2438 ef4_reset_down(efx, method);
2440 rc = efx->type->reset(efx, method);
2449 if (method < RESET_TYPE_MAX_METHOD)
2450 efx->reset_pending &= -(1 << (method + 1));
2452 __clear_bit(method, &efx->reset_pending);
2463 method == RESET_TYPE_DISABLE ||
2464 method == RESET_TYPE_RECOVER_OR_DISABLE;
2465 rc2 = ef4_reset_up(efx, method, !disabled);
2514 enum reset_type method;
2517 method = fls(pending) - 1;
2519 if ((method == RESET_TYPE_RECOVER_OR_DISABLE ||
2520 method == RESET_TYPE_RECOVER_OR_ALL) &&
2534 (void)ef4_reset(efx, method);
2541 enum reset_type method;
2558 method = type;
2560 RESET_TYPE(method));
2563 method = efx->type->map_reset_reason(type);
2566 RESET_TYPE(method), RESET_TYPE(type));
2570 set_bit(method, &efx->reset_pending);