Searched refs:pause_en (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_gmac.c | 241 u32 pause_en; in hns_gmac_pause_frm_cfg() local 244 pause_en = dsaf_read_dev(drv, GMAC_PAUSE_EN_REG); in hns_gmac_pause_frm_cfg() 245 dsaf_set_bit(pause_en, GMAC_PAUSE_EN_RX_FDFC_B, !!rx_pause_en); in hns_gmac_pause_frm_cfg() 246 dsaf_set_bit(pause_en, GMAC_PAUSE_EN_TX_FDFC_B, !!tx_pause_en); in hns_gmac_pause_frm_cfg() 247 dsaf_write_dev(drv, GMAC_PAUSE_EN_REG, pause_en); in hns_gmac_pause_frm_cfg() 253 u32 pause_en; in hns_gmac_get_pausefrm_cfg() local 256 pause_en = dsaf_read_dev(drv, GMAC_PAUSE_EN_REG); in hns_gmac_get_pausefrm_cfg() 258 *rx_pause_en = dsaf_get_bit(pause_en, GMAC_PAUSE_EN_RX_FDFC_B); in hns_gmac_get_pausefrm_cfg() 259 *tx_pause_en = dsaf_get_bit(pause_en, GMAC_PAUSE_EN_TX_FDFC_B); in hns_gmac_get_pausefrm_cfg()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_dcb.c | 535 bool pause_en = mlxsw_sp_port_is_pause_en(mlxsw_sp_port); in mlxsw_sp_dcbnl_ieee_setpfc() local 541 if (pause_en && pfc->pfc_en) { in mlxsw_sp_dcbnl_ieee_setpfc()
|
D | spectrum_ethtool.c | 205 bool pause_en = pause->tx_pause || pause->rx_pause; in mlxsw_sp_port_set_pauseparam() local 224 if (pause_en) in mlxsw_sp_port_set_pauseparam() 230 hdroom.prios.prio[prio].lossy = !pause_en; in mlxsw_sp_port_set_pauseparam()
|
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/ |
D | hispark_taurus.patch | 48683 + unsigned int pause_en; 48695 + pause_en = readl(priv->port_base + MAC_SET); 48699 + pause_en |= BIT_PAUSE_EN; 48702 + pause_en &= ~BIT_PAUSE_EN; 48707 + writel(pause_en, priv->port_base + MAC_SET);
|
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/ |
D | hispark_taurus.patch | 341648 + unsigned int pause_en; 341660 + pause_en = readl(priv->port_base + MAC_SET); 341664 + pause_en |= BIT_PAUSE_EN; 341667 + pause_en &= ~BIT_PAUSE_EN; 341672 + writel(pause_en, priv->port_base + MAC_SET);
|