Home
last modified time | relevance | path

Searched refs:tx_pause (Results 1 – 25 of 82) sorted by relevance

1234

/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c500 pause->tx_pause = !(netxen_gb_get_gb0_mask(val)); in netxen_nic_get_pauseparam()
503 pause->tx_pause = !(netxen_gb_get_gb1_mask(val)); in netxen_nic_get_pauseparam()
506 pause->tx_pause = !(netxen_gb_get_gb2_mask(val)); in netxen_nic_get_pauseparam()
510 pause->tx_pause = !(netxen_gb_get_gb3_mask(val)); in netxen_nic_get_pauseparam()
519 pause->tx_pause = !(netxen_xg_get_xg0_mask(val)); in netxen_nic_get_pauseparam()
521 pause->tx_pause = !(netxen_xg_get_xg1_mask(val)); in netxen_nic_get_pauseparam()
558 if (pause->tx_pause) in netxen_nic_set_pauseparam()
564 if (pause->tx_pause) in netxen_nic_set_pauseparam()
570 if (pause->tx_pause) in netxen_nic_set_pauseparam()
577 if (pause->tx_pause) in netxen_nic_set_pauseparam()
[all …]
/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_ethtool.c389 pause->tx_pause = 1; in pch_gbe_get_pauseparam()
392 pause->tx_pause = 1; in pch_gbe_get_pauseparam()
412 if ((pause->rx_pause) && (pause->tx_pause)) in pch_gbe_set_pauseparam()
414 else if ((pause->rx_pause) && (!pause->tx_pause)) in pch_gbe_set_pauseparam()
416 else if ((!pause->rx_pause) && (pause->tx_pause)) in pch_gbe_set_pauseparam()
418 else if ((!pause->rx_pause) && (!pause->tx_pause)) in pch_gbe_set_pauseparam()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c243 pause->tx_pause = pdata->tx_pause; in xgbe_get_pauseparam()
259 pause->autoneg, pause->tx_pause, pause->rx_pause); in xgbe_set_pauseparam()
270 pdata->tx_pause = pause->tx_pause; in xgbe_set_pauseparam()
Dxgbe-drv.c539 pdata->tx_pause = 1; in xgbe_adjust_link()
542 pdata->tx_pause = 0; in xgbe_adjust_link()
547 if (pdata->tx_pause != pdata->phy_tx_pause) { in xgbe_adjust_link()
549 pdata->phy_tx_pause = pdata->tx_pause; in xgbe_adjust_link()
599 pdata->phy_tx_pause = pdata->tx_pause; in xgbe_phy_init()
/drivers/net/ethernet/intel/ixgb/
Dixgb_ethtool.c161 pause->tx_pause = 1; in ixgb_get_pauseparam()
164 pause->tx_pause = 1; in ixgb_get_pauseparam()
178 if (pause->rx_pause && pause->tx_pause) in ixgb_set_pauseparam()
180 else if (pause->rx_pause && !pause->tx_pause) in ixgb_set_pauseparam()
182 else if (!pause->rx_pause && pause->tx_pause) in ixgb_set_pauseparam()
184 else if (!pause->rx_pause && !pause->tx_pause) in ixgb_set_pauseparam()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ethtool.c800 pause->tx_pause = !(qlcnic_gb_get_gb0_mask(val)); in qlcnic_get_pauseparam()
803 pause->tx_pause = !(qlcnic_gb_get_gb1_mask(val)); in qlcnic_get_pauseparam()
806 pause->tx_pause = !(qlcnic_gb_get_gb2_mask(val)); in qlcnic_get_pauseparam()
810 pause->tx_pause = !(qlcnic_gb_get_gb3_mask(val)); in qlcnic_get_pauseparam()
821 pause->tx_pause = !(qlcnic_xg_get_xg0_mask(val)); in qlcnic_get_pauseparam()
823 pause->tx_pause = !(qlcnic_xg_get_xg1_mask(val)); in qlcnic_get_pauseparam()
865 if (pause->tx_pause) in qlcnic_set_pauseparam()
871 if (pause->tx_pause) in qlcnic_set_pauseparam()
877 if (pause->tx_pause) in qlcnic_set_pauseparam()
884 if (pause->tx_pause) in qlcnic_set_pauseparam()
[all …]
/drivers/net/ethernet/atheros/alx/
Dethtool.c203 pause->tx_pause = !!(hw->flowctrl & ALX_FC_TX); in alx_get_pauseparam()
217 if (pause->tx_pause) in alx_set_pauseparam()
/drivers/net/ethernet/mellanox/mlx4/
Den_dcb_nl.c174 prof->tx_pause = !pfc->pfc_en; in mlx4_en_dcbnl_ieee_setpfc()
180 prof->tx_pause, in mlx4_en_dcbnl_ieee_setpfc()
Den_ethtool.c494 priv->prof->tx_pause = pause->tx_pause != 0; in mlx4_en_set_pauseparam()
498 priv->prof->tx_pause, in mlx4_en_set_pauseparam()
513 pause->tx_pause = priv->prof->tx_pause; in mlx4_en_get_pauseparam()
/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c515 pauseparam->tx_pause = bnad->bna.enet.pause_config.tx_pause; in bnad_get_pauseparam()
531 pauseparam->tx_pause != bnad->bna.enet.pause_config.tx_pause) { in bnad_set_pauseparam()
533 pause_config.tx_pause = pauseparam->tx_pause; in bnad_set_pauseparam()
Dbfi_enet.h638 u8 tx_pause; /* 1 = enable; 0 = disable */ member
777 u64 tx_pause[8]; member
824 u64 tx_pause; member
Dbfa_defs_cna.h93 u64 tx_pause; /*!< Tx pause */ member
/drivers/net/ethernet/calxeda/
Dxgmac.c391 char tx_pause; member
660 priv->tx_pause = tx; in xgmac_set_flow_ctrl()
1033 xgmac_set_flow_ctrl(priv, priv->rx_pause, priv->tx_pause); in xgmac_open()
1565 pause->tx_pause = priv->tx_pause; in xgmac_get_pauseparam()
1576 return xgmac_set_flow_ctrl(priv, pause->rx_pause, pause->tx_pause); in xgmac_set_pauseparam()
1608 XGMAC_HW_STAT(tx_pause, XGMAC_MMC_TXPAUSEFRAME),
1746 priv->tx_pause = 1; in xgmac_probe()
/drivers/net/wireless/rtlwifi/btcoexist/
Dhalbtc8723b2ant.c1587 static void set_tdma_int1(struct btc_coexist *btcoexist, bool tx_pause, in set_tdma_int1() argument
1591 if (tx_pause) { in set_tdma_int1()
1785 static void set_tdma_int2(struct btc_coexist *btcoexist, bool tx_pause, in set_tdma_int2() argument
1789 if (tx_pause) { in set_tdma_int2()
1958 static void set_tdma_int3(struct btc_coexist *btcoexist, bool tx_pause, in set_tdma_int3() argument
1962 if (tx_pause) { in set_tdma_int3()
2132 bool sco_hid, bool tx_pause, in btc8723b2ant_tdma_duration_adjust() argument
2148 if (tx_pause) { in btc8723b2ant_tdma_duration_adjust()
2194 if (tx_pause) { in btc8723b2ant_tdma_duration_adjust()
2324 set_tdma_int1(btcoexist, tx_pause, result); in btc8723b2ant_tdma_duration_adjust()
[all …]
Dhalbtc8821a2ant.c1504 static void btc8821a2_int1(struct btc_coexist *btcoexist, bool tx_pause, in btc8821a2_int1() argument
1507 if (tx_pause) { in btc8821a2_int1()
1705 static void btc8821a2_int2(struct btc_coexist *btcoexist, bool tx_pause, in btc8821a2_int2() argument
1708 if (tx_pause) { in btc8821a2_int2()
1891 static void btc8821a2_int3(struct btc_coexist *btcoexist, bool tx_pause, in btc8821a2_int3() argument
1894 if (tx_pause) { in btc8821a2_int3()
2078 bool sco_hid, bool tx_pause, in btc8821a2ant_tdma_dur_adj() argument
2096 if (tx_pause) { in btc8821a2ant_tdma_dur_adj()
2142 if (tx_pause) { in btc8821a2ant_tdma_dur_adj()
2284 btc8821a2_int1(btcoexist, tx_pause, result); in btc8821a2ant_tdma_dur_adj()
[all …]
Dhalbtc8192e2ant.c1591 static void btc8192e_int1(struct btc_coexist *btcoexist, bool tx_pause, in btc8192e_int1() argument
1594 if (tx_pause) { in btc8192e_int1()
1794 static void btc8192e_int2(struct btc_coexist *btcoexist, bool tx_pause, in btc8192e_int2() argument
1797 if (tx_pause) { in btc8192e_int2()
1982 static void btc8192e_int3(struct btc_coexist *btcoexist, bool tx_pause, in btc8192e_int3() argument
1985 if (tx_pause) { in btc8192e_int3()
2171 bool sco_hid, bool tx_pause, in halbtc8192e2ant_tdma_duration_adjust() argument
2189 if (tx_pause) { in halbtc8192e2ant_tdma_duration_adjust()
2235 if (tx_pause) { in halbtc8192e2ant_tdma_duration_adjust()
2362 btc8192e_int1(btcoexist, tx_pause, result); in halbtc8192e2ant_tdma_duration_adjust()
[all …]
/drivers/net/ethernet/freescale/
Ducc_geth_ethtool.c146 pause->tx_pause = 1; in uec_get_pauseparam()
157 ugeth->ug_info->transmitFlowControl = pause->tx_pause; in uec_set_pauseparam()
/drivers/net/ethernet/atheros/atlx/
Datl1.h353 u32 tx_pause; /* TX pause frames */ member
678 u64 tx_pause; /* TX pause frames */ member
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c431 pause->tx_pause = 0; in stmmac_get_pauseparam()
437 pause->tx_pause = 1; in stmmac_get_pauseparam()
455 if (pause->tx_pause) in stmmac_set_pauseparam()
/drivers/net/ethernet/qlogic/qlge/
Dqlge_ethtool.c682 pause->tx_pause = 1; in ql_get_pauseparam()
692 if ((pause->rx_pause) && (pause->tx_pause)) in ql_set_pauseparam()
694 else if (!pause->rx_pause && !pause->tx_pause) in ql_set_pauseparam()
/drivers/net/ethernet/intel/e1000/
De1000_ethtool.c279 pause->tx_pause = 1; in e1000_get_pauseparam()
282 pause->tx_pause = 1; in e1000_get_pauseparam()
298 if (pause->rx_pause && pause->tx_pause) in e1000_set_pauseparam()
300 else if (pause->rx_pause && !pause->tx_pause) in e1000_set_pauseparam()
302 else if (!pause->rx_pause && pause->tx_pause) in e1000_set_pauseparam()
304 else if (!pause->rx_pause && !pause->tx_pause) in e1000_set_pauseparam()
/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.h166 u32 tx_pause; member
/drivers/net/ethernet/ti/
Dcpsw.c314 u32 tx_pause; member
403 bool tx_pause; member
881 if (priv->tx_pause) in _cpsw_adjust_link()
1872 pause->tx_pause = priv->tx_pause ? true : false; in cpsw_get_pauseparam()
1882 priv->tx_pause = pause->tx_pause ? true : false; in cpsw_set_pauseparam()
/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c632 pause->tx_pause = 1; in i40e_get_pauseparam()
635 pause->tx_pause = 1; in i40e_get_pauseparam()
678 if (pause->rx_pause && pause->tx_pause) in i40e_set_pauseparam()
680 else if (pause->rx_pause && !pause->tx_pause) in i40e_set_pauseparam()
682 else if (!pause->rx_pause && pause->tx_pause) in i40e_set_pauseparam()
684 else if (!pause->rx_pause && !pause->tx_pause) in i40e_set_pauseparam()
/drivers/net/ethernet/intel/e1000e/
Dethtool.c354 pause->tx_pause = 1; in e1000_get_pauseparam()
357 pause->tx_pause = 1; in e1000_get_pauseparam()
384 if (pause->rx_pause && pause->tx_pause) in e1000_set_pauseparam()
386 else if (pause->rx_pause && !pause->tx_pause) in e1000_set_pauseparam()
388 else if (!pause->rx_pause && pause->tx_pause) in e1000_set_pauseparam()
390 else if (!pause->rx_pause && !pause->tx_pause) in e1000_set_pauseparam()

1234