Lines Matching refs:epause
921 struct ethtool_pauseparam *epause) in bcmgenet_get_pauseparam() argument
928 epause->autoneg = priv->autoneg_pause; in bcmgenet_get_pauseparam()
933 epause->tx_pause = !(umac_cmd & CMD_TX_PAUSE_IGNORE); in bcmgenet_get_pauseparam()
934 epause->rx_pause = !(umac_cmd & CMD_RX_PAUSE_IGNORE); in bcmgenet_get_pauseparam()
937 epause->tx_pause = priv->tx_pause; in bcmgenet_get_pauseparam()
938 epause->rx_pause = priv->rx_pause; in bcmgenet_get_pauseparam()
943 struct ethtool_pauseparam *epause) in bcmgenet_set_pauseparam() argument
950 if (!phy_validate_pause(dev->phydev, epause)) in bcmgenet_set_pauseparam()
953 priv->autoneg_pause = !!epause->autoneg; in bcmgenet_set_pauseparam()
954 priv->tx_pause = !!epause->tx_pause; in bcmgenet_set_pauseparam()
955 priv->rx_pause = !!epause->rx_pause; in bcmgenet_set_pauseparam()