Lines Matching refs:wanted_fc
133 pause->rx_pause = !!(efx->wanted_fc & EFX_FC_RX); in efx_siena_ethtool_get_pauseparam()
134 pause->tx_pause = !!(efx->wanted_fc & EFX_FC_TX); in efx_siena_ethtool_get_pauseparam()
135 pause->autoneg = !!(efx->wanted_fc & EFX_FC_AUTO); in efx_siena_ethtool_get_pauseparam()
142 u8 wanted_fc, old_fc; in efx_siena_ethtool_set_pauseparam() local
148 wanted_fc = ((pause->rx_pause ? EFX_FC_RX : 0) | in efx_siena_ethtool_set_pauseparam()
152 if ((wanted_fc & EFX_FC_TX) && !(wanted_fc & EFX_FC_RX)) { in efx_siena_ethtool_set_pauseparam()
159 if ((wanted_fc & EFX_FC_AUTO) && !efx->link_advertising[0]) { in efx_siena_ethtool_set_pauseparam()
168 (wanted_fc & EFX_FC_TX) && !(efx->wanted_fc & EFX_FC_TX)) in efx_siena_ethtool_set_pauseparam()
172 old_fc = efx->wanted_fc; in efx_siena_ethtool_set_pauseparam()
173 efx_siena_link_set_wanted_fc(efx, wanted_fc); in efx_siena_ethtool_set_pauseparam()
175 (efx->wanted_fc ^ old_fc) & EFX_FC_AUTO) { in efx_siena_ethtool_set_pauseparam()