Lines Matching refs:epause
939 struct ethtool_pauseparam *epause) in bcmgenet_get_pauseparam() argument
946 epause->autoneg = priv->autoneg_pause; in bcmgenet_get_pauseparam()
951 epause->tx_pause = !(umac_cmd & CMD_TX_PAUSE_IGNORE); in bcmgenet_get_pauseparam()
952 epause->rx_pause = !(umac_cmd & CMD_RX_PAUSE_IGNORE); in bcmgenet_get_pauseparam()
955 epause->tx_pause = priv->tx_pause; in bcmgenet_get_pauseparam()
956 epause->rx_pause = priv->rx_pause; in bcmgenet_get_pauseparam()
961 struct ethtool_pauseparam *epause) in bcmgenet_set_pauseparam() argument
968 if (!phy_validate_pause(dev->phydev, epause)) in bcmgenet_set_pauseparam()
971 priv->autoneg_pause = !!epause->autoneg; in bcmgenet_set_pauseparam()
972 priv->tx_pause = !!epause->tx_pause; in bcmgenet_set_pauseparam()
973 priv->rx_pause = !!epause->rx_pause; in bcmgenet_set_pauseparam()