Home
last modified time | relevance | path

Searched refs:new_cfg (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_dcb_lib.c183 int ice_pf_dcb_cfg(struct ice_pf *pf, struct ice_dcbx_cfg *new_cfg, bool locked) in ice_pf_dcb_cfg() argument
192 if (ice_dcb_get_num_tc(new_cfg) > 1) { in ice_pf_dcb_cfg()
200 if (!memcmp(new_cfg, curr_cfg, sizeof(*new_cfg))) { in ice_pf_dcb_cfg()
216 memcpy(curr_cfg, new_cfg, sizeof(*curr_cfg)); in ice_pf_dcb_cfg()
278 struct ice_dcbx_cfg *new_cfg) in ice_dcb_need_recfg() argument
283 if (memcmp(&new_cfg->etscfg, &old_cfg->etscfg, in ice_dcb_need_recfg()
284 sizeof(new_cfg->etscfg))) { in ice_dcb_need_recfg()
286 if (memcmp(&new_cfg->etscfg.prio_table, in ice_dcb_need_recfg()
288 sizeof(new_cfg->etscfg.prio_table))) { in ice_dcb_need_recfg()
293 if (memcmp(&new_cfg->etscfg.tcbwtable, in ice_dcb_need_recfg()
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c261 struct i40e_dcbx_config *new_cfg) in i40e_dcbnl_flush_apps() argument
273 if (!i40e_dcbnl_find_app(new_cfg, &app)) in i40e_dcbnl_flush_apps()
Di40e.h1126 struct i40e_dcbx_config *new_cfg);
1131 struct i40e_dcbx_config *new_cfg);
Di40e_main.c8513 struct i40e_dcbx_config *new_cfg) in i40e_dcb_need_reconfig() argument
8518 if (memcmp(&new_cfg->etscfg, in i40e_dcb_need_reconfig()
8520 sizeof(new_cfg->etscfg))) { in i40e_dcb_need_reconfig()
8522 if (memcmp(&new_cfg->etscfg.prioritytable, in i40e_dcb_need_reconfig()
8524 sizeof(new_cfg->etscfg.prioritytable))) { in i40e_dcb_need_reconfig()
8529 if (memcmp(&new_cfg->etscfg.tcbwtable, in i40e_dcb_need_reconfig()
8531 sizeof(new_cfg->etscfg.tcbwtable))) in i40e_dcb_need_reconfig()
8534 if (memcmp(&new_cfg->etscfg.tsatable, in i40e_dcb_need_reconfig()
8536 sizeof(new_cfg->etscfg.tsatable))) in i40e_dcb_need_reconfig()
8541 if (memcmp(&new_cfg->pfc, in i40e_dcb_need_reconfig()
[all …]
/Linux-v5.4/drivers/net/ethernet/natsemi/
Dns83820.c602 u32 cfg, new_cfg; in phy_intr() local
651 new_cfg = dev->CFG_cache & ~(CFG_SB | CFG_MODE_1000 | CFG_SPDSTS); in phy_intr()
654 new_cfg |= CFG_MODE_1000; in phy_intr()
656 new_cfg &= ~CFG_MODE_1000; in phy_intr()
662 new_cfg |= CFG_SB; in phy_intr()
677 ((new_cfg ^ dev->CFG_cache) != 0)) { in phy_intr()
678 writel(new_cfg, dev->base + CFG); in phy_intr()
679 dev->CFG_cache = new_cfg; in phy_intr()