Searched refs:wanted_fc (Results 1 - 10 of 10) sorted by relevance

/drivers/net/ethernet/sfc/
H A Dmcdi_mac.c34 switch (efx->wanted_fc) {
45 if (efx->wanted_fc & EFX_FC_AUTO)
H A Dethtool.c704 u8 wanted_fc, old_fc; local
711 wanted_fc = ((pause->rx_pause ? EFX_FC_RX : 0) |
715 if ((wanted_fc & EFX_FC_TX) && !(wanted_fc & EFX_FC_RX)) {
722 if ((wanted_fc & EFX_FC_AUTO) && !efx->link_advertising) {
734 reset = (wanted_fc & EFX_FC_TX) && !(efx->wanted_fc & EFX_FC_TX);
749 old_fc = efx->wanted_fc;
750 efx_link_set_wanted_fc(efx, wanted_fc);
752 (efx->wanted_fc
[all...]
H A Dmdio_10g.c291 if (!(efx->wanted_fc & EFX_FC_AUTO))
292 return efx->wanted_fc;
297 mii_advertise_flowctrl(efx->wanted_fc),
H A Dmcdi_phy.c394 efx->wanted_fc = EFX_FC_RX | EFX_FC_TX;
396 efx->wanted_fc |= EFX_FC_AUTO;
397 efx_link_set_wanted_fc(efx, efx->wanted_fc);
458 if (efx->wanted_fc & EFX_FC_AUTO)
467 if ((efx->wanted_fc & EFX_FC_TX) && rmtadv == ADVERTISED_Asym_Pause)
H A Defx.c882 efx->wanted_fc |= (EFX_FC_TX | EFX_FC_RX);
884 efx->wanted_fc &= ~(EFX_FC_TX | EFX_FC_RX);
886 efx->wanted_fc ^= EFX_FC_TX;
890 void efx_link_set_wanted_fc(struct efx_nic *efx, u8 wanted_fc) argument
892 efx->wanted_fc = wanted_fc;
894 if (wanted_fc & EFX_FC_RX)
900 if (wanted_fc & EFX_FC_TX)
H A Dtenxpress.c209 efx_link_set_wanted_fc(efx, efx->wanted_fc);
H A Dfalcon.c639 efx->link_state.fc = efx->wanted_fc;
853 efx->wanted_fc = EFX_FC_RX | EFX_FC_TX;
855 efx->wanted_fc = EFX_FC_RX;
857 efx->wanted_fc |= EFX_FC_AUTO;
H A Dqt202x_phy.c395 efx->link_state.fc = efx->wanted_fc;
H A Dtxc43128_phy.c500 efx->link_state.fc = efx->wanted_fc;
H A Dnet_driver.h703 * @wanted_fc: Wanted flow control flags
823 u8 wanted_fc; member in struct:efx_nic

Completed in 544 milliseconds