Lines Matching refs:pause
1338 struct ethtool_pauseparam *pause) in lan743x_get_pauseparam() argument
1344 pause->tx_pause = 1; in lan743x_get_pauseparam()
1346 pause->rx_pause = 1; in lan743x_get_pauseparam()
1347 pause->autoneg = phy->fc_autoneg; in lan743x_get_pauseparam()
1351 struct ethtool_pauseparam *pause) in lan743x_set_pauseparam() argument
1360 if (!phy_validate_pause(phydev, pause)) in lan743x_set_pauseparam()
1364 if (pause->rx_pause) in lan743x_set_pauseparam()
1367 if (pause->tx_pause) in lan743x_set_pauseparam()
1370 phy->fc_autoneg = pause->autoneg; in lan743x_set_pauseparam()
1372 if (pause->autoneg == AUTONEG_DISABLE) in lan743x_set_pauseparam()
1373 lan743x_mac_flow_ctrl_set_enables(adapter, pause->tx_pause, in lan743x_set_pauseparam()
1374 pause->rx_pause); in lan743x_set_pauseparam()
1376 phy_set_asym_pause(phydev, pause->rx_pause, pause->tx_pause); in lan743x_set_pauseparam()