Searched refs:pause_en (Results 1 – 3 of 3) sorted by relevance
/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()
|
/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()
|