/linux-master/drivers/net/phy/ |
H A D | linkmode.c | 10 * @rx_pause: pointer to bool to indicate whether receive pause should be 26 bool *tx_pause, bool *rx_pause) 33 *rx_pause = true; 37 *rx_pause = linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, 41 *rx_pause = false; 50 * @rx: boolean from ethtool struct ethtool_pauseparam rx_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 | 107 u8 *rx_pause); 112 u8 rx_pause); 126 u8 tx_pause, u8 rx_pause, u16 pfc_en); 129 u8 *tx_pause, u8 *rx_pause);
|
H A D | rpm.h | 120 u8 *rx_pause); 123 u8 rx_pause); 129 int rpm_lmac_pfc_config(void *rpmd, int lmac_id, u8 tx_pause, u8 rx_pause, 132 u8 *rx_pause);
|
H A D | rpm.c | 190 u8 *tx_pause, u8 *rx_pause) 200 *rx_pause = !(cfg & RPMX_MTI_MAC100X_COMMAND_CONFIG_RX_P_DISABLE); 287 static void rpm2_lmac_cfg_bp(rpm_t *rpm, int lmac_id, u8 tx_pause, u8 rx_pause) argument 307 static void rpm_lmac_cfg_bp(rpm_t *rpm, int lmac_id, u8 tx_pause, u8 rx_pause) argument 328 u8 rx_pause) 338 cfg |= rx_pause ? 0x0 : RPMX_MTI_MAC100X_COMMAND_CONFIG_RX_P_DISABLE; 340 cfg |= rx_pause ? 0x0 : RPMX_MTI_MAC100X_COMMAND_CONFIG_PAUSE_IGNORE; 349 rpm2_lmac_cfg_bp(rpm, lmac_id, tx_pause, rx_pause); 351 rpm_lmac_cfg_bp(rpm, lmac_id, tx_pause, rx_pause); 612 int rpm_lmac_pfc_config(void *rpmd, int lmac_id, u8 tx_pause, u8 rx_pause, u1 argument 189 rpm_lmac_get_pause_frm_status(void *rpmd, int lmac_id, u8 *tx_pause, u8 *rx_pause) argument 327 rpm_lmac_enadis_pause_frm(void *rpmd, int lmac_id, u8 tx_pause, u8 rx_pause) 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, 183 u8 *rx_pause); 184 int verify_lmac_fc_cfg(void *cgxd, int lmac_id, u8 tx_pause, u8 rx_pause,
|
H A D | cgx.c | 605 u8 *tx_pause, u8 *rx_pause) 617 *rx_pause = !!(cfg & CGX_SMUX_RX_FRM_CTL_CTL_BCK); 628 u8 rx_pause, tx_pause; local 644 cgx_lmac_get_pause_frm_status(cgx, lmac_id, &rx_pause, &tx_pause); 645 is_pfc_enabled = rx_pause ? false : true; 800 u8 tx_pause, u8 rx_pause) 813 cfg |= rx_pause ? CGX_GMP_GMI_RXX_FRM_CTL_CTL_BCK : 0x0; 818 cfg |= rx_pause ? CGX_SMUX_RX_FRM_CTL_CTL_BCK : 0x0; 889 int verify_lmac_fc_cfg(void *cgxd, int lmac_id, u8 tx_pause, u8 rx_pause, argument 899 if (!rx_pause) 604 cgx_lmac_get_pause_frm_status(void *cgxd, int lmac_id, u8 *tx_pause, u8 *rx_pause) argument 799 cgx_lmac_enadis_pause_frm(void *cgxd, int lmac_id, u8 tx_pause, u8 rx_pause) argument 925 cgx_lmac_pfc_config(void *cgxd, int lmac_id, u8 tx_pause, u8 rx_pause, u16 pfc_en) argument 968 cgx_lmac_get_pfc_frm_cfg(void *cgxd, int lmac_id, u8 *tx_pause, u8 *rx_pause) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | mlx4_stats.h | 65 u64 rx_pause; member in struct:mlx4_en_flow_stats_rx 100 __be64 rx_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 195 rx_pause = !!(rx_ppp || tx_ppp) ? 0 : prof->rx_pause; 200 rx_pause = prof->rx_pause; 206 tx_pause, tx_ppp, rx_pause, rx_ppp)) { 214 prof->rx_pause = rx_pause; 417 u32 tx_pause, tx_ppp, rx_pause, rx_ppp; local 426 rx_pause [all...] |
/linux-master/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_ethtool.c | 287 pp->rx_pause = pdata->rx_pause; 306 pdata->rx_pause = pp->rx_pause; 308 phy_set_asym_pause(phydev, pp->rx_pause, pp->tx_pause); 312 pdata->mac_ops->flowctl_rx(pdata, pdata->rx_pause); 319 pdata->rx_pause = pp->rx_pause; 322 pdata->mac_ops->flowctl_rx(pdata, pdata->rx_pause);
|
H A D | xgene_enet_hw.c | 592 xgene_gmac_flowctl_rx(pdata, pdata->rx_pause); 763 u32 rx_pause, tx_pause; local 772 if (pdata->rx_pause) 785 rx_pause = !!(flowctl & FLOW_CTRL_RX); 792 if (rx_pause != pdata->rx_pause) { 793 pdata->rx_pause = rx_pause; 794 pdata->mac_ops->flowctl_rx(pdata, pdata->rx_pause);
|
/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_phylink.c | 51 bool tx_pause, bool rx_pause) 60 port_config->pause |= rx_pause ? MLO_PAUSE_RX : 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 | 390 pause->rx_pause = 1; 394 pause->rx_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) 60 conf.pause |= rx_pause ? MLO_PAUSE_RX : 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 | 55 u32 rx_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/asix/ |
H A D | ax88796c_ioctl.c | 50 pause->rx_pause = !!(ax_local->flowctrl & AX_FC_RX); 64 fc |= pause->rx_pause ? AX_FC_RX : 0; 71 pause->rx_pause);
|
/linux-master/drivers/net/ethernet/faraday/ |
H A D | ftgmac100.c | 106 bool rx_pause; member in struct:ftgmac100 237 if (priv->rx_pause) 1122 pause->rx_pause = priv->rx_pause; 1133 priv->rx_pause = pause->rx_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 = !rx_pause; [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_nsp_eth.c | 190 dst->rx_pause = true; 195 dst->rx_pause = FIELD_GET(NSP_ETH_STATE_RX_PAUSE, state); 663 * @rx_pause: RX pause switch 669 static int __nfp_eth_set_rxpause(struct nfp_nsp *nsp, unsigned int rx_pause) argument 672 rx_pause, NSP_ETH_CTRL_SET_RX_PAUSE); 680 * @rx_pause: RX pause switch 689 unsigned int tx_pause, unsigned int rx_pause) 711 err = __nfp_eth_set_rxpause(nsp, rx_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 | 303 req->rx_pause = true; 306 req->rx_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);
|
/linux-master/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-ethtool.c | 14 "rx_pause", 179 pause->rx_pause = adpt->rx_flow_control ? 1 : 0; 189 adpt->rx_flow_control = pause->rx_pause != 0;
|
/linux-master/drivers/net/netdevsim/ |
H A D | ethtool.c | 28 pause->rx_pause = ns->ethtool.pauseparam.rx; 40 ns->ethtool.pauseparam.rx = pause->rx_pause;
|
/linux-master/drivers/net/ethernet/atheros/alx/ |
H A D | ethtool.c | 222 pause->rx_pause = !!(hw->flowctrl & ALX_FC_RX); 238 if (pause->rx_pause)
|