Lines Matching refs:link_state
282 struct efx_link_state *link_state,
288 link_state->fc = EFX_FC_AUTO | EFX_FC_TX | EFX_FC_RX;
291 link_state->fc = EFX_FC_TX | EFX_FC_RX;
294 link_state->fc = EFX_FC_RX;
300 link_state->fc = 0;
304 link_state->up = !!(flags & (1 << MC_CMD_GET_LINK_OUT_LINK_UP_LBN));
305 link_state->fd = !!(flags & (1 << MC_CMD_GET_LINK_OUT_FULL_DUPLEX_LBN));
306 link_state->speed = speed;
402 struct efx_link_state old_state = efx->link_state;
413 efx->link_state.up = false;
416 efx, &efx->link_state,
421 return !efx_link_state_equal(&efx->link_state, &old_state);
505 efx_mcdi_phy_decode_link(efx, &efx->link_state,
514 efx->link_state.speed == 25000 ||
515 efx->link_state.speed == 50000);
544 cmd->base.speed = efx->link_state.speed;
545 cmd->base.duplex = efx->link_state.fd;
1290 /* efx->link_state is only modified by efx_mcdi_phy_get_link(),
1294 efx_mcdi_phy_decode_link(efx, &efx->link_state, speed, flags, fcntl);