epause 3541 drivers/net/ethernet/atheros/atlx/atl1.c struct ethtool_pauseparam *epause) epause 3548 drivers/net/ethernet/atheros/atlx/atl1.c epause->autoneg = AUTONEG_ENABLE; epause 3550 drivers/net/ethernet/atheros/atlx/atl1.c epause->autoneg = AUTONEG_DISABLE; epause 3552 drivers/net/ethernet/atheros/atlx/atl1.c epause->rx_pause = 1; epause 3553 drivers/net/ethernet/atheros/atlx/atl1.c epause->tx_pause = 1; epause 3557 drivers/net/ethernet/atheros/atlx/atl1.c struct ethtool_pauseparam *epause) epause 3564 drivers/net/ethernet/atheros/atlx/atl1.c epause->autoneg = AUTONEG_ENABLE; epause 3566 drivers/net/ethernet/atheros/atlx/atl1.c epause->autoneg = AUTONEG_DISABLE; epause 3569 drivers/net/ethernet/atheros/atlx/atl1.c epause->rx_pause = 1; epause 3570 drivers/net/ethernet/atheros/atlx/atl1.c epause->tx_pause = 1; epause 2006 drivers/net/ethernet/broadcom/b44.c struct ethtool_pauseparam *epause) epause 2010 drivers/net/ethernet/broadcom/b44.c epause->autoneg = epause 2012 drivers/net/ethernet/broadcom/b44.c epause->rx_pause = epause 2014 drivers/net/ethernet/broadcom/b44.c epause->tx_pause = epause 2019 drivers/net/ethernet/broadcom/b44.c struct ethtool_pauseparam *epause) epause 2024 drivers/net/ethernet/broadcom/b44.c if (epause->autoneg) epause 2028 drivers/net/ethernet/broadcom/b44.c if (epause->rx_pause) epause 2032 drivers/net/ethernet/broadcom/b44.c if (epause->tx_pause) epause 7411 drivers/net/ethernet/broadcom/bnx2.c bnx2_get_pauseparam(struct net_device *dev, struct ethtool_pauseparam *epause) epause 7415 drivers/net/ethernet/broadcom/bnx2.c epause->autoneg = ((bp->autoneg & AUTONEG_FLOW_CTRL) != 0); epause 7416 drivers/net/ethernet/broadcom/bnx2.c epause->rx_pause = ((bp->flow_ctrl & FLOW_CTRL_RX) != 0); epause 7417 drivers/net/ethernet/broadcom/bnx2.c epause->tx_pause = ((bp->flow_ctrl & FLOW_CTRL_TX) != 0); epause 7421 drivers/net/ethernet/broadcom/bnx2.c bnx2_set_pauseparam(struct net_device *dev, struct ethtool_pauseparam *epause) epause 7426 drivers/net/ethernet/broadcom/bnx2.c if (epause->rx_pause) epause 7428 drivers/net/ethernet/broadcom/bnx2.c if (epause->tx_pause) epause 7431 drivers/net/ethernet/broadcom/bnx2.c if (epause->autoneg) { epause 1979 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c struct ethtool_pauseparam *epause) epause 1985 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c epause->autoneg = (bp->link_params.req_flow_ctrl[cfg_idx] == epause 1988 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (!epause->autoneg) epause 1993 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c epause->rx_pause = ((cfg_reg & BNX2X_FLOW_CTRL_RX) == epause 1995 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c epause->tx_pause = ((cfg_reg & BNX2X_FLOW_CTRL_TX) == epause 2000 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c epause->cmd, epause->autoneg, epause->rx_pause, epause->tx_pause); epause 2004 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c struct ethtool_pauseparam *epause) epause 2013 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c epause->cmd, epause->autoneg, epause->rx_pause, epause->tx_pause); epause 2017 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (epause->rx_pause) epause 2020 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (epause->tx_pause) epause 2026 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (epause->autoneg) { epause 2037 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (epause->rx_pause) epause 2040 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (epause->tx_pause) epause 1646 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c struct ethtool_pauseparam *epause) epause 1653 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c epause->autoneg = !!(link_info->autoneg & BNXT_AUTONEG_FLOW_CTRL); epause 1654 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c epause->rx_pause = !!(link_info->req_flow_ctrl & BNXT_LINK_PAUSE_RX); epause 1655 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c epause->tx_pause = !!(link_info->req_flow_ctrl & BNXT_LINK_PAUSE_TX); epause 1659 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c struct ethtool_pauseparam *epause) epause 1668 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c if (epause->autoneg) { epause 1685 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c if (epause->rx_pause) epause 1688 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c if (epause->tx_pause) epause 12486 drivers/net/ethernet/broadcom/tg3.c static void tg3_get_pauseparam(struct net_device *dev, struct ethtool_pauseparam *epause) epause 12490 drivers/net/ethernet/broadcom/tg3.c epause->autoneg = !!tg3_flag(tp, PAUSE_AUTONEG); epause 12493 drivers/net/ethernet/broadcom/tg3.c epause->rx_pause = 1; epause 12495 drivers/net/ethernet/broadcom/tg3.c epause->rx_pause = 0; epause 12498 drivers/net/ethernet/broadcom/tg3.c epause->tx_pause = 1; epause 12500 drivers/net/ethernet/broadcom/tg3.c epause->tx_pause = 0; epause 12503 drivers/net/ethernet/broadcom/tg3.c static int tg3_set_pauseparam(struct net_device *dev, struct ethtool_pauseparam *epause) epause 12517 drivers/net/ethernet/broadcom/tg3.c if (!phy_validate_pause(phydev, epause)) epause 12521 drivers/net/ethernet/broadcom/tg3.c phy_set_asym_pause(phydev, epause->rx_pause, epause->tx_pause); epause 12522 drivers/net/ethernet/broadcom/tg3.c if (epause->rx_pause) { epause 12525 drivers/net/ethernet/broadcom/tg3.c if (epause->tx_pause) { epause 12528 drivers/net/ethernet/broadcom/tg3.c } else if (epause->tx_pause) { epause 12532 drivers/net/ethernet/broadcom/tg3.c if (epause->autoneg) epause 12549 drivers/net/ethernet/broadcom/tg3.c if (!epause->autoneg) epause 12562 drivers/net/ethernet/broadcom/tg3.c if (epause->autoneg) epause 12566 drivers/net/ethernet/broadcom/tg3.c if (epause->rx_pause) epause 12570 drivers/net/ethernet/broadcom/tg3.c if (epause->tx_pause) epause 673 drivers/net/ethernet/chelsio/cxgb/cxgb2.c struct ethtool_pauseparam *epause) epause 678 drivers/net/ethernet/chelsio/cxgb/cxgb2.c epause->autoneg = (p->link_config.requested_fc & PAUSE_AUTONEG) != 0; epause 679 drivers/net/ethernet/chelsio/cxgb/cxgb2.c epause->rx_pause = (p->link_config.fc & PAUSE_RX) != 0; epause 680 drivers/net/ethernet/chelsio/cxgb/cxgb2.c epause->tx_pause = (p->link_config.fc & PAUSE_TX) != 0; epause 684 drivers/net/ethernet/chelsio/cxgb/cxgb2.c struct ethtool_pauseparam *epause) epause 690 drivers/net/ethernet/chelsio/cxgb/cxgb2.c if (epause->autoneg == AUTONEG_DISABLE) epause 697 drivers/net/ethernet/chelsio/cxgb/cxgb2.c if (epause->rx_pause) epause 699 drivers/net/ethernet/chelsio/cxgb/cxgb2.c if (epause->tx_pause) epause 1916 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c struct ethtool_pauseparam *epause) epause 1920 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c epause->autoneg = (p->link_config.requested_fc & PAUSE_AUTONEG) != 0; epause 1921 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c epause->rx_pause = (p->link_config.fc & PAUSE_RX) != 0; epause 1922 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c epause->tx_pause = (p->link_config.fc & PAUSE_TX) != 0; epause 1926 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c struct ethtool_pauseparam *epause) epause 1931 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c if (epause->autoneg == AUTONEG_DISABLE) epause 1938 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c if (epause->rx_pause) epause 1940 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c if (epause->tx_pause) epause 791 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c struct ethtool_pauseparam *epause) epause 795 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c epause->autoneg = (p->link_cfg.requested_fc & PAUSE_AUTONEG) != 0; epause 796 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c epause->rx_pause = (p->link_cfg.advertised_fc & PAUSE_RX) != 0; epause 797 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c epause->tx_pause = (p->link_cfg.advertised_fc & PAUSE_TX) != 0; epause 801 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c struct ethtool_pauseparam *epause) epause 806 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c if (epause->autoneg == AUTONEG_DISABLE) epause 813 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c if (epause->rx_pause) epause 815 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c if (epause->tx_pause) epause 160 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c struct ethtool_pauseparam *epause) epause 173 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c epause->autoneg = mac_dev->autoneg_pause; epause 174 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c epause->rx_pause = mac_dev->rx_pause_active; epause 175 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c epause->tx_pause = mac_dev->tx_pause_active; epause 179 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c struct ethtool_pauseparam *epause) epause 196 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c if (!phy_validate_pause(phydev, epause)) epause 203 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c mac_dev->autoneg_pause = !!epause->autoneg; epause 204 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c mac_dev->rx_pause_req = !!epause->rx_pause; epause 205 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c mac_dev->tx_pause_req = !!epause->tx_pause; epause 211 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c phy_set_asym_pause(phydev, epause->rx_pause, epause->tx_pause); epause 475 drivers/net/ethernet/freescale/gianfar_ethtool.c struct ethtool_pauseparam *epause) epause 479 drivers/net/ethernet/freescale/gianfar_ethtool.c epause->autoneg = !!priv->pause_aneg_en; epause 480 drivers/net/ethernet/freescale/gianfar_ethtool.c epause->rx_pause = !!priv->rx_pause_en; epause 481 drivers/net/ethernet/freescale/gianfar_ethtool.c epause->tx_pause = !!priv->tx_pause_en; epause 485 drivers/net/ethernet/freescale/gianfar_ethtool.c struct ethtool_pauseparam *epause) epause 494 drivers/net/ethernet/freescale/gianfar_ethtool.c if (!phy_validate_pause(phydev, epause)) epause 498 drivers/net/ethernet/freescale/gianfar_ethtool.c phy_set_asym_pause(phydev, epause->rx_pause, epause->tx_pause); epause 499 drivers/net/ethernet/freescale/gianfar_ethtool.c if (epause->rx_pause) { epause 502 drivers/net/ethernet/freescale/gianfar_ethtool.c if (epause->tx_pause) { epause 505 drivers/net/ethernet/freescale/gianfar_ethtool.c } else if (epause->tx_pause) { epause 509 drivers/net/ethernet/freescale/gianfar_ethtool.c if (epause->autoneg) epause 514 drivers/net/ethernet/freescale/gianfar_ethtool.c if (!epause->autoneg) { epause 972 drivers/net/ethernet/qlogic/qede/qede_ethtool.c struct ethtool_pauseparam *epause) epause 981 drivers/net/ethernet/qlogic/qede/qede_ethtool.c epause->autoneg = true; epause 983 drivers/net/ethernet/qlogic/qede/qede_ethtool.c epause->rx_pause = true; epause 985 drivers/net/ethernet/qlogic/qede/qede_ethtool.c epause->tx_pause = true; epause 989 drivers/net/ethernet/qlogic/qede/qede_ethtool.c epause->cmd, epause->autoneg, epause->rx_pause, epause 990 drivers/net/ethernet/qlogic/qede/qede_ethtool.c epause->tx_pause); epause 994 drivers/net/ethernet/qlogic/qede/qede_ethtool.c struct ethtool_pauseparam *epause) epause 1011 drivers/net/ethernet/qlogic/qede/qede_ethtool.c if (epause->autoneg) { epause 1018 drivers/net/ethernet/qlogic/qede/qede_ethtool.c if (epause->rx_pause) epause 1020 drivers/net/ethernet/qlogic/qede/qede_ethtool.c if (epause->tx_pause)