/linux-master/drivers/net/phy/ |
H A D | linkmode.c | 8 * @tx_pause: pointer to bool to indicate whether transmit pause should be 26 bool *tx_pause, bool *rx_pause) 32 *tx_pause = true; 35 *tx_pause = linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, 40 *tx_pause = false; 49 * @tx: boolean from ethtool struct ethtool_pauseparam tx_pause member 24 linkmode_resolve_pause(const unsigned long *local_adv, const unsigned long *partner_adv, bool *tx_pause, bool *rx_pause) argument
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | lmac_common.h | 106 u8 *tx_pause, 111 u8 tx_pause, 126 u8 tx_pause, u8 rx_pause, u16 pfc_en); 129 u8 *tx_pause, u8 *rx_pause);
|
H A D | rpm.h | 119 int rpm_lmac_get_pause_frm_status(void *cgxd, int lmac_id, u8 *tx_pause, 122 int rpm_lmac_enadis_pause_frm(void *rpmd, int lmac_id, u8 tx_pause, 129 int rpm_lmac_pfc_config(void *rpmd, int lmac_id, u8 tx_pause, u8 rx_pause, 131 int rpm_lmac_get_pfc_frm_cfg(void *rpmd, int lmac_id, u8 *tx_pause,
|
H A D | rpm.c | 190 u8 *tx_pause, u8 *rx_pause) 201 *tx_pause = !(cfg & RPMX_MTI_MAC100X_COMMAND_CONFIG_TX_P_DISABLE); 287 static void rpm2_lmac_cfg_bp(rpm_t *rpm, int lmac_id, u8 tx_pause, u8 rx_pause) argument 292 if (tx_pause) { 307 static void rpm_lmac_cfg_bp(rpm_t *rpm, int lmac_id, u8 tx_pause, u8 rx_pause) argument 312 if (tx_pause) { 327 int rpm_lmac_enadis_pause_frm(void *rpmd, int lmac_id, u8 tx_pause, argument 345 cfg |= tx_pause ? 0x0 : RPMX_MTI_MAC100X_COMMAND_CONFIG_TX_P_DISABLE; 349 rpm2_lmac_cfg_bp(rpm, lmac_id, tx_pause, rx_pause); 351 rpm_lmac_cfg_bp(rpm, lmac_id, tx_pause, rx_paus 189 rpm_lmac_get_pause_frm_status(void *rpmd, int lmac_id, u8 *tx_pause, u8 *rx_pause) argument 612 rpm_lmac_pfc_config(void *rpmd, int lmac_id, u8 tx_pause, u8 rx_pause, u16 pfc_en) argument 656 rpm_lmac_get_pfc_frm_cfg(void *rpmd, int lmac_id, u8 *tx_pause, u8 *rx_pause) argument [all...] |
H A D | cgx.h | 160 u8 *tx_pause, u8 *rx_pause); 162 u8 tx_pause, u8 rx_pause); 180 int cgx_lmac_pfc_config(void *cgxd, int lmac_id, u8 tx_pause, u8 rx_pause, 182 int cgx_lmac_get_pfc_frm_cfg(void *cgxd, int lmac_id, u8 *tx_pause, 184 int verify_lmac_fc_cfg(void *cgxd, int lmac_id, u8 tx_pause, u8 rx_pause,
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | mlx4_stats.h | 79 u64 tx_pause; member in struct:mlx4_en_flow_stats_tx 108 __be64 tx_pause; member in struct:mlx4_en_stat_out_flow_control_mbox
|
H A D | en_dcb_nl.c | 161 u8 tx_pause, tx_ppp, rx_pause, rx_ppp; local 196 tx_pause = !!(rx_ppp || tx_ppp) ? 0 : prof->tx_pause; 201 tx_pause = prof->tx_pause; 206 tx_pause, tx_ppp, rx_pause, rx_ppp)) { 213 prof->tx_pause = tx_pause; 417 u32 tx_pause, tx_ppp, rx_pause, rx_ppp; local 427 tx_pause [all...] |
/linux-master/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_ethtool.c | 286 pp->tx_pause = pdata->tx_pause; 305 pdata->tx_pause = pp->tx_pause; 308 phy_set_asym_pause(phydev, pp->rx_pause, pp->tx_pause); 311 pdata->mac_ops->flowctl_tx(pdata, pdata->tx_pause); 318 pdata->tx_pause = pp->tx_pause; 321 pdata->mac_ops->flowctl_tx(pdata, pdata->tx_pause);
|
H A D | xgene_enet_hw.c | 591 xgene_gmac_flowctl_tx(pdata, pdata->tx_pause); 763 u32 rx_pause, tx_pause; local 769 if (pdata->tx_pause) 784 tx_pause = !!(flowctl & FLOW_CTRL_TX); 787 if (tx_pause != pdata->tx_pause) { 788 pdata->tx_pause = tx_pause; 789 pdata->mac_ops->flowctl_tx(pdata, pdata->tx_pause);
|
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth-dcb.c | 66 bool tx_pause; local 79 tx_pause = dpaa2_eth_tx_pause_enabled(priv->link_state.options); 80 if (!dpaa2_eth_rx_pause_enabled(priv->link_state.options) || !tx_pause) 103 dpaa2_eth_set_rx_taildrop(priv, tx_pause, priv->pfc_enabled);
|
/linux-master/drivers/net/wireless/marvell/mwifiex/ |
H A D | wmm.h | 93 u8 tx_pause); 95 u8 *mac, u8 tx_pause);
|
H A D | sta_event.c | 340 "uap tx_pause: %pM pause=%d, pkts=%d\n", 341 tp->peermac, tp->tx_pause, 345 if (tp->tx_pause) 350 mwifiex_update_ralist_tx_pause(priv, tp->peermac, tp->tx_pause); 354 if (sta_ptr && sta_ptr->tx_pause != tp->tx_pause) { 355 sta_ptr->tx_pause = tp->tx_pause; 358 tp->tx_pause); 374 "sta tx_pause [all...] |
/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_phylink.c | 51 bool tx_pause, bool rx_pause) 59 port_config->pause |= tx_pause ? MLO_PAUSE_TX : 0; 46 lan966x_phylink_mac_link_up(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause) argument
|
/linux-master/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_ethtool.c | 392 pause->tx_pause = 1; 395 pause->tx_pause = 1; 415 if ((pause->rx_pause) && (pause->tx_pause)) 417 else if ((pause->rx_pause) && (!pause->tx_pause)) 419 else if ((!pause->rx_pause) && (pause->tx_pause)) 421 else if ((!pause->rx_pause) && (!pause->tx_pause))
|
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_phylink.c | 50 bool tx_pause, bool rx_pause) 59 conf.pause |= tx_pause ? MLO_PAUSE_TX : 0; 45 sparx5_phylink_mac_link_up(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause) argument
|
/linux-master/drivers/net/ethernet/wangxun/ngbe/ |
H A D | ngbe_mdio.c | 73 bool tx_pause, bool rx_pause) 78 wx_fc_enable(wx, tx_pause, rx_pause); 69 ngbe_mac_link_up(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause) argument
|
/linux-master/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_io.h | 56 u32 tx_pause; member in struct:hinic_nic_cfg
|
/linux-master/include/linux/ |
H A D | linkmode.h | 99 bool *tx_pause, bool *rx_pause);
|
/linux-master/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_ethtool.c | 494 pause->tx_pause = !(netxen_gb_get_gb0_mask(val)); 497 pause->tx_pause = !(netxen_gb_get_gb1_mask(val)); 500 pause->tx_pause = !(netxen_gb_get_gb2_mask(val)); 504 pause->tx_pause = !(netxen_gb_get_gb3_mask(val)); 513 pause->tx_pause = !(netxen_xg_get_xg0_mask(val)); 515 pause->tx_pause = !(netxen_xg_get_xg1_mask(val)); 552 if (pause->tx_pause) 558 if (pause->tx_pause) 564 if (pause->tx_pause) 571 if (pause->tx_pause) [all...] |
/linux-master/drivers/net/ethernet/asix/ |
H A D | ax88796c_ioctl.c | 49 pause->tx_pause = !!(ax_local->flowctrl & AX_FC_TX); 63 fc = pause->tx_pause ? AX_FC_TX : 0; 70 phy_set_asym_pause(ax_local->phydev, pause->tx_pause,
|
/linux-master/drivers/net/ethernet/faraday/ |
H A D | ftgmac100.c | 105 bool tx_pause; member in struct:ftgmac100 243 if (priv->tx_pause) 1121 pause->tx_pause = priv->tx_pause; 1132 priv->tx_pause = pause->tx_pause; 1136 phy_set_asym_pause(phydev, pause->rx_pause, pause->tx_pause); 1367 bool tx_pause, rx_pause; local 1378 rx_pause = tx_pause = phydev->pause; 1380 tx_pause [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_nsp_eth.c | 189 dst->tx_pause = true; 194 dst->tx_pause = FIELD_GET(NSP_ETH_STATE_TX_PAUSE, state); 648 * @tx_pause: TX pause switch 654 static int __nfp_eth_set_txpause(struct nfp_nsp *nsp, unsigned int tx_pause) argument 657 tx_pause, NSP_ETH_CTRL_SET_TX_PAUSE); 679 * @tx_pause: TX pause switch 689 unsigned int tx_pause, unsigned int rx_pause) 705 err = __nfp_eth_set_txpause(nsp, tx_pause); 688 nfp_eth_set_pauseparam(struct nfp_cpp *cpp, unsigned int idx, unsigned int tx_pause, unsigned int rx_pause) argument
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_dcbnl.c | 304 req->tx_pause = true; 307 req->tx_pause = false; 314 if (req->rx_pause != rsp->rx_pause || req->tx_pause != rsp->tx_pause) {
|
/linux-master/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_hw.h | 44 int wx_fc_enable(struct wx *wx, bool tx_pause, bool rx_pause);
|
/linux-master/drivers/net/dsa/microchip/ |
H A D | ksz8.h | 62 bool tx_pause, bool rx_pause);
|