Lines Matching refs:pause
381 struct ethtool_pauseparam *pause) in pch_gbe_get_pauseparam() argument
386 pause->autoneg = in pch_gbe_get_pauseparam()
390 pause->rx_pause = 1; in pch_gbe_get_pauseparam()
392 pause->tx_pause = 1; in pch_gbe_get_pauseparam()
394 pause->rx_pause = 1; in pch_gbe_get_pauseparam()
395 pause->tx_pause = 1; in pch_gbe_get_pauseparam()
408 struct ethtool_pauseparam *pause) in pch_gbe_set_pauseparam() argument
414 hw->mac.fc_autoneg = pause->autoneg; in pch_gbe_set_pauseparam()
415 if ((pause->rx_pause) && (pause->tx_pause)) in pch_gbe_set_pauseparam()
417 else if ((pause->rx_pause) && (!pause->tx_pause)) in pch_gbe_set_pauseparam()
419 else if ((!pause->rx_pause) && (pause->tx_pause)) in pch_gbe_set_pauseparam()
421 else if ((!pause->rx_pause) && (!pause->tx_pause)) in pch_gbe_set_pauseparam()