Searched refs:wanted_fc (Results 1 – 10 of 10) sorted by relevance
710 u8 wanted_fc, old_fc; in efx_ethtool_set_pauseparam() local717 wanted_fc = ((pause->rx_pause ? EFX_FC_RX : 0) | in efx_ethtool_set_pauseparam()721 if ((wanted_fc & EFX_FC_TX) && !(wanted_fc & EFX_FC_RX)) { in efx_ethtool_set_pauseparam()728 if ((wanted_fc & EFX_FC_AUTO) && !efx->link_advertising) { in efx_ethtool_set_pauseparam()740 reset = (wanted_fc & EFX_FC_TX) && !(efx->wanted_fc & EFX_FC_TX); in efx_ethtool_set_pauseparam()755 old_fc = efx->wanted_fc; in efx_ethtool_set_pauseparam()756 efx_link_set_wanted_fc(efx, wanted_fc); in efx_ethtool_set_pauseparam()758 (efx->wanted_fc ^ old_fc) & EFX_FC_AUTO) { in efx_ethtool_set_pauseparam()784 pause->rx_pause = !!(efx->wanted_fc & EFX_FC_RX); in efx_ethtool_get_pauseparam()785 pause->tx_pause = !!(efx->wanted_fc & EFX_FC_TX); in efx_ethtool_get_pauseparam()[all …]
34 switch (efx->wanted_fc) { in efx_mcdi_set_mac()45 if (efx->wanted_fc & EFX_FC_AUTO) in efx_mcdi_set_mac()
291 if (!(efx->wanted_fc & EFX_FC_AUTO)) in efx_mdio_get_pause()292 return efx->wanted_fc; in efx_mdio_get_pause()297 mii_advertise_flowctrl(efx->wanted_fc), in efx_mdio_get_pause()
394 efx->wanted_fc = EFX_FC_RX | EFX_FC_TX; in efx_mcdi_phy_probe()396 efx->wanted_fc |= EFX_FC_AUTO; in efx_mcdi_phy_probe()397 efx_link_set_wanted_fc(efx, efx->wanted_fc); in efx_mcdi_phy_probe()458 if (efx->wanted_fc & EFX_FC_AUTO) in efx_mcdi_phy_check_fcntl()467 if ((efx->wanted_fc & EFX_FC_TX) && rmtadv == ADVERTISED_Asym_Pause) in efx_mcdi_phy_check_fcntl()
947 efx->wanted_fc |= (EFX_FC_TX | EFX_FC_RX); in efx_link_set_advertising()949 efx->wanted_fc &= ~(EFX_FC_TX | EFX_FC_RX); in efx_link_set_advertising()951 efx->wanted_fc ^= EFX_FC_TX; in efx_link_set_advertising()955 void efx_link_set_wanted_fc(struct efx_nic *efx, u8 wanted_fc) in efx_link_set_wanted_fc() argument957 efx->wanted_fc = wanted_fc; in efx_link_set_wanted_fc()959 if (wanted_fc & EFX_FC_RX) in efx_link_set_wanted_fc()965 if (wanted_fc & EFX_FC_TX) in efx_link_set_wanted_fc()
642 efx->link_state.fc = efx->wanted_fc; in falcon_loopback_link_poll()856 efx->wanted_fc = EFX_FC_RX | EFX_FC_TX; in falcon_probe_port()858 efx->wanted_fc = EFX_FC_RX; in falcon_probe_port()860 efx->wanted_fc |= EFX_FC_AUTO; in falcon_probe_port()
209 efx_link_set_wanted_fc(efx, efx->wanted_fc); in tenxpress_phy_init()
395 efx->link_state.fc = efx->wanted_fc; in qt202x_phy_poll()
500 efx->link_state.fc = efx->wanted_fc; in txc43128_phy_poll()
870 u8 wanted_fc; member