Home
last modified time | relevance | path

Searched refs:curr_cfg (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_dcb_lib.c185 struct ice_dcbx_cfg *old_cfg, *curr_cfg; in ice_pf_dcb_cfg() local
189 curr_cfg = &pf->hw.port_info->local_dcbx_cfg; in ice_pf_dcb_cfg()
200 if (!memcmp(new_cfg, curr_cfg, sizeof(*new_cfg))) { in ice_pf_dcb_cfg()
207 memcpy(old_cfg, curr_cfg, sizeof(*old_cfg)); in ice_pf_dcb_cfg()
216 memcpy(curr_cfg, new_cfg, sizeof(*curr_cfg)); in ice_pf_dcb_cfg()
217 memcpy(&curr_cfg->etsrec, &curr_cfg->etscfg, sizeof(curr_cfg->etsrec)); in ice_pf_dcb_cfg()
227 memcpy(curr_cfg, old_cfg, sizeof(*curr_cfg)); in ice_pf_dcb_cfg()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c4340 if (IS_PF(bp) && SHMEM2_HAS(bp, curr_cfg)) in bnx2x_change_mac_addr()
4341 SHMEM2_WR(bp, curr_cfg, CURR_CFG_MET_OS); in bnx2x_change_mac_addr()
4892 if (IS_PF(bp) && SHMEM2_HAS(bp, curr_cfg)) in bnx2x_change_mtu()
4893 SHMEM2_WR(bp, curr_cfg, CURR_CFG_MET_OS); in bnx2x_change_mtu()
Dbnx2x_ethtool.c1182 if (SHMEM2_HAS(bp, curr_cfg)) in bnx2x_set_wol()
1183 SHMEM2_WR(bp, curr_cfg, CURR_CFG_MET_OS); in bnx2x_set_wol()
Dbnx2x_hsi.h2365 enum curr_cfg_method_e curr_cfg; /* 0x1dc */ member