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