Lines Matching defs:link_state
283 struct efx_link_state *link_state,
289 link_state->fc = EFX_FC_AUTO | EFX_FC_TX | EFX_FC_RX;
292 link_state->fc = EFX_FC_TX | EFX_FC_RX;
295 link_state->fc = EFX_FC_RX;
301 link_state->fc = 0;
305 link_state->up = !!(flags & (1 << MC_CMD_GET_LINK_OUT_LINK_UP_LBN));
306 link_state->fd = !!(flags & (1 << MC_CMD_GET_LINK_OUT_FULL_DUPLEX_LBN));
307 link_state->speed = speed;
403 struct efx_link_state old_state = efx->link_state;
414 efx->link_state.up = false;
417 efx, &efx->link_state,
422 return !efx_link_state_equal(&efx->link_state, &old_state);
506 efx_mcdi_phy_decode_link(efx, &efx->link_state,
515 efx->link_state.speed == 25000 ||
516 efx->link_state.speed == 50000);
546 cmd->base.speed = efx->link_state.speed;
547 cmd->base.duplex = efx->link_state.fd;
1273 /* efx->link_state is only modified by efx_mcdi_phy_get_link(),
1277 efx_mcdi_phy_decode_link(efx, &efx->link_state, speed, flags, fcntl);