Lines Matching refs:epause
12524 static void tg3_get_pauseparam(struct net_device *dev, struct ethtool_pauseparam *epause)
12528 epause->autoneg = !!tg3_flag(tp, PAUSE_AUTONEG);
12531 epause->rx_pause = 1;
12533 epause->rx_pause = 0;
12536 epause->tx_pause = 1;
12538 epause->tx_pause = 0;
12541 static int tg3_set_pauseparam(struct net_device *dev, struct ethtool_pauseparam *epause)
12555 if (!phy_validate_pause(phydev, epause))
12559 phy_set_asym_pause(phydev, epause->rx_pause, epause->tx_pause);
12560 if (epause->rx_pause) {
12563 if (epause->tx_pause) {
12566 } else if (epause->tx_pause) {
12570 if (epause->autoneg)
12587 if (!epause->autoneg)
12600 if (epause->autoneg)
12604 if (epause->rx_pause)
12608 if (epause->tx_pause)