Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_dcb_lib.c353 struct ice_dcbx_cfg *old_cfg, *curr_cfg; in ice_pf_dcb_cfg() local
359 curr_cfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_pf_dcb_cfg()
380 if (!memcmp(new_cfg, curr_cfg, sizeof(*new_cfg))) { in ice_pf_dcb_cfg()
389 old_cfg = kmemdup(curr_cfg, sizeof(*old_cfg), GFP_KERNEL); in ice_pf_dcb_cfg()
421 memcpy(curr_cfg, new_cfg, sizeof(*curr_cfg)); in ice_pf_dcb_cfg()
422 memcpy(&curr_cfg->etsrec, &curr_cfg->etscfg, sizeof(curr_cfg->etsrec)); in ice_pf_dcb_cfg()
423 memcpy(&new_cfg->etsrec, &curr_cfg->etscfg, sizeof(curr_cfg->etsrec)); in ice_pf_dcb_cfg()
433 memcpy(curr_cfg, old_cfg, sizeof(*curr_cfg)); in ice_pf_dcb_cfg()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c4358 if (IS_PF(bp) && SHMEM2_HAS(bp, curr_cfg)) in bnx2x_change_mac_addr()
4359 SHMEM2_WR(bp, curr_cfg, CURR_CFG_MET_OS); in bnx2x_change_mac_addr()
4910 if (IS_PF(bp) && SHMEM2_HAS(bp, curr_cfg)) in bnx2x_change_mtu()
4911 SHMEM2_WR(bp, curr_cfg, CURR_CFG_MET_OS); in bnx2x_change_mtu()
Dbnx2x_ethtool.c1176 if (SHMEM2_HAS(bp, curr_cfg)) in bnx2x_set_wol()
1177 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