Lines Matching refs:epause
9859 static void tg3_get_pauseparam(struct net_device *dev, struct ethtool_pauseparam *epause)
9863 epause->autoneg = (tp->tg3_flags & TG3_FLAG_PAUSE_AUTONEG) != 0;
9866 epause->rx_pause = 1;
9868 epause->rx_pause = 0;
9871 epause->tx_pause = 1;
9873 epause->tx_pause = 0;
9876 static int tg3_set_pauseparam(struct net_device *dev, struct ethtool_pauseparam *epause)
9889 ((epause->rx_pause && !epause->tx_pause) ||
9890 (!epause->rx_pause && epause->tx_pause))))
9894 if (epause->rx_pause) {
9897 if (epause->tx_pause) {
9903 } else if (epause->tx_pause) {
9909 if (epause->autoneg)
9935 if (!epause->autoneg)
9953 if (epause->autoneg)
9957 if (epause->rx_pause)
9961 if (epause->tx_pause)