Searched refs:rx_pause (Results 1 - 25 of 207) sorted by relevance

123456789

/linux-master/drivers/net/phy/
H A Dlinkmode.c10 * @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 Dlmac_common.h107 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 Drpm.h120 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 Drpm.c190 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 Dcgx.h160 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 Dcgx.c605 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 Dmlx4_stats.h65 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 Den_dcb_nl.c161 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 Dxgene_enet_ethtool.c287 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 Dxgene_enet_hw.c592 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 Dlan966x_phylink.c51 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 Dpch_gbe_ethtool.c390 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 Dsparx5_phylink.c50 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 Dngbe_mdio.c73 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 Dhinic_hw_io.h55 u32 rx_pause; member in struct:hinic_nic_cfg
/linux-master/include/linux/
H A Dlinkmode.h99 bool *tx_pause, bool *rx_pause);
/linux-master/drivers/net/ethernet/asix/
H A Dax88796c_ioctl.c50 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 Dftgmac100.c106 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 Dnfp_nsp_eth.c190 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 Dotx2_dcbnl.c303 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 Dwx_hw.h44 int wx_fc_enable(struct wx *wx, bool tx_pause, bool rx_pause);
/linux-master/drivers/net/dsa/microchip/
H A Dksz8.h62 bool tx_pause, bool rx_pause);
/linux-master/drivers/net/ethernet/qualcomm/emac/
H A Demac-ethtool.c14 "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 Dethtool.c28 pause->rx_pause = ns->ethtool.pauseparam.rx;
40 ns->ethtool.pauseparam.rx = pause->rx_pause;
/linux-master/drivers/net/ethernet/atheros/alx/
H A Dethtool.c222 pause->rx_pause = !!(hw->flowctrl & ALX_FC_RX);
238 if (pause->rx_pause)

Completed in 428 milliseconds

123456789