Searched refs:pause_en (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_gmac.c | 225 u32 pause_en; in hns_gmac_pause_frm_cfg() local 228 pause_en = dsaf_read_dev(drv, GMAC_PAUSE_EN_REG); in hns_gmac_pause_frm_cfg() 229 dsaf_set_bit(pause_en, GMAC_PAUSE_EN_RX_FDFC_B, !!rx_pause_en); in hns_gmac_pause_frm_cfg() 230 dsaf_set_bit(pause_en, GMAC_PAUSE_EN_TX_FDFC_B, !!tx_pause_en); in hns_gmac_pause_frm_cfg() 231 dsaf_write_dev(drv, GMAC_PAUSE_EN_REG, pause_en); in hns_gmac_pause_frm_cfg() 237 u32 pause_en; in hns_gmac_get_pausefrm_cfg() local 240 pause_en = dsaf_read_dev(drv, GMAC_PAUSE_EN_REG); in hns_gmac_get_pausefrm_cfg() 242 *rx_pause_en = dsaf_get_bit(pause_en, GMAC_PAUSE_EN_RX_FDFC_B); in hns_gmac_get_pausefrm_cfg() 243 *tx_pause_en = dsaf_get_bit(pause_en, GMAC_PAUSE_EN_TX_FDFC_B); in hns_gmac_get_pausefrm_cfg()
|
/linux-6.12.1/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 | 212 bool pause_en = pause->tx_pause || pause->rx_pause; in mlxsw_sp_port_set_pauseparam() local 231 if (pause_en) in mlxsw_sp_port_set_pauseparam() 237 hdroom.prios.prio[prio].lossy = !pause_en; in mlxsw_sp_port_set_pauseparam()
|