Lines Matching refs:epause
12510 static void tg3_get_pauseparam(struct net_device *dev, struct ethtool_pauseparam *epause)
12514 epause->autoneg = !!tg3_flag(tp, PAUSE_AUTONEG);
12517 epause->rx_pause = 1;
12519 epause->rx_pause = 0;
12522 epause->tx_pause = 1;
12524 epause->tx_pause = 0;
12527 static int tg3_set_pauseparam(struct net_device *dev, struct ethtool_pauseparam *epause)
12541 if (!phy_validate_pause(phydev, epause))
12545 phy_set_asym_pause(phydev, epause->rx_pause, epause->tx_pause);
12546 if (epause->rx_pause) {
12549 if (epause->tx_pause) {
12552 } else if (epause->tx_pause) {
12556 if (epause->autoneg)
12573 if (!epause->autoneg)
12586 if (epause->autoneg)
12590 if (epause->rx_pause)
12594 if (epause->tx_pause)