Home
last modified time | relevance | path

Searched refs:rx_pause_en (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_gmac.c238 static void hns_gmac_pause_frm_cfg(void *mac_drv, u32 rx_pause_en, in hns_gmac_pause_frm_cfg() argument
245 dsaf_set_bit(pause_en, GMAC_PAUSE_EN_RX_FDFC_B, !!rx_pause_en); in hns_gmac_pause_frm_cfg()
250 static void hns_gmac_get_pausefrm_cfg(void *mac_drv, u32 *rx_pause_en, in hns_gmac_get_pausefrm_cfg() argument
258 *rx_pause_en = dsaf_get_bit(pause_en, GMAC_PAUSE_EN_RX_FDFC_B); in hns_gmac_get_pausefrm_cfg()
545 mac_info->rx_pause_en = rx_pause; in hns_gmac_get_info()
Dhns_dsaf_mac.h203 u8 rx_pause_en; member
Dhns_dsaf_xgmac.c458 mac_info->rx_pause_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_RX_B); in hns_xgmac_get_info()
/Linux-v5.4/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c480 epause->rx_pause = !!priv->rx_pause_en; in gfar_gpauseparam()
497 priv->rx_pause_en = priv->tx_pause_en = 0; in gfar_spauseparam()
500 priv->rx_pause_en = 1; in gfar_spauseparam()
525 if (priv->rx_pause_en) in gfar_spauseparam()
Dgianfar.h1141 rx_pause_en:1; member
Dgianfar.c1485 if (priv->rx_pause_en) in gfar_get_flowctrl_cfg()
/Linux-v5.4/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.c797 int rx_pause_en, tx_pause_en; in bcm_enet_adjust_phy_link() local
801 rx_pause_en = 1; in bcm_enet_adjust_phy_link()
805 rx_pause_en = priv->pause_rx; in bcm_enet_adjust_phy_link()
808 rx_pause_en = 0; in bcm_enet_adjust_phy_link()
812 bcm_enet_set_flow(priv, rx_pause_en, tx_pause_en); in bcm_enet_adjust_phy_link()