Lines Matching refs:wanted_fc
682 u8 wanted_fc, old_fc; in ef4_ethtool_set_pauseparam() local
688 wanted_fc = ((pause->rx_pause ? EF4_FC_RX : 0) | in ef4_ethtool_set_pauseparam()
692 if ((wanted_fc & EF4_FC_TX) && !(wanted_fc & EF4_FC_RX)) { in ef4_ethtool_set_pauseparam()
699 if ((wanted_fc & EF4_FC_AUTO) && !efx->link_advertising) { in ef4_ethtool_set_pauseparam()
708 (wanted_fc & EF4_FC_TX) && !(efx->wanted_fc & EF4_FC_TX)) in ef4_ethtool_set_pauseparam()
712 old_fc = efx->wanted_fc; in ef4_ethtool_set_pauseparam()
713 ef4_link_set_wanted_fc(efx, wanted_fc); in ef4_ethtool_set_pauseparam()
715 (efx->wanted_fc ^ old_fc) & EF4_FC_AUTO) { in ef4_ethtool_set_pauseparam()
741 pause->rx_pause = !!(efx->wanted_fc & EF4_FC_RX); in ef4_ethtool_get_pauseparam()
742 pause->tx_pause = !!(efx->wanted_fc & EF4_FC_TX); in ef4_ethtool_get_pauseparam()
743 pause->autoneg = !!(efx->wanted_fc & EF4_FC_AUTO); in ef4_ethtool_get_pauseparam()